summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1999-11-28 12:26:06 +0000
committerJason Downs <downsj@cvs.openbsd.org>1999-11-28 12:26:06 +0000
commitdafe8956d02018f8ee0f90da0fda100420447d80 (patch)
tree9ff283cbe852608ec6ffafef38533413074fa0ab /sys/dev/ic
parentac5f76b6b191c7a0615c24cb9a5b1cb032acd290 (diff)
Enable TI16750 UART support.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/com.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c
index 7a233cba526..4ac2b27bc4f 100644
--- a/sys/dev/ic/com.c
+++ b/sys/dev/ic/com.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com.c,v 1.52 1999/11/09 04:00:08 rahnds Exp $ */
+/* $OpenBSD: com.c,v 1.53 1999/11/28 12:26:05 downsj Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*
@@ -509,19 +509,19 @@ comattach(parent, self, aux)
}
}
-#ifdef notyet
if (sc->sc_uarttype == COM_UART_16550A) { /* Probe for TI16750s */
bus_space_write_1(iot, ioh, com_lcr, lcr | LCR_DLAB);
bus_space_write_1(iot, ioh, com_fifo,
FIFO_ENABLE | FIFO_ENABLE_64BYTE);
if ((bus_space_read_1(iot, ioh, com_iir) >> 5) == 7) {
+#if 0
bus_space_write_1(iot, ioh, com_lcr, 0);
if ((bus_space_read_1(iot, ioh, com_iir) >> 5) == 6)
+#endif
sc->sc_uarttype = COM_UART_TI16750;
}
bus_space_write_1(iot, ioh, com_fifo, FIFO_ENABLE);
}
-#endif
bus_space_write_1(iot, ioh, com_lcr, lcr);
if (sc->sc_uarttype == COM_UART_16450) { /* Probe for 8250 */