Remove OMAP gunk in com_activate, it's not needed.

Spotted by Matthias Drochner.
This commit is contained in:
matt 2008-07-14 15:40:55 +00:00
parent cc7bfbe664
commit cfd3ec1da9

View File

@ -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);
}