Remove OMAP gunk in com_activate, it's not needed.
Spotted by Matthias Drochner.
This commit is contained in:
parent
cc7bfbe664
commit
cfd3ec1da9
@ -673,15 +673,6 @@ com_activate(device_t self, enum devact act)
|
||||
break;
|
||||
}
|
||||
|
||||
if (sc->sc_type == COM_TYPE_OMAP) {
|
||||
/* enable but mode is based on speed */
|
||||
if (sc->sc_tty->t_termios.c_ospeed > 230400) {
|
||||
CSR_WRITE_1(&sc->sc_regs, COM_REG_MDR1, MDR1_MODE_UART_13X);
|
||||
} else {
|
||||
CSR_WRITE_1(&sc->sc_regs, COM_REG_MDR1, MDR1_MODE_UART_16X);
|
||||
}
|
||||
}
|
||||
mutex_spin_exit(&sc->sc_lock);
|
||||
return (rv);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user