summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pccomvar.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1998-02-23 11:40:34 +0000
committerJason Downs <downsj@cvs.openbsd.org>1998-02-23 11:40:34 +0000
commitd8e6db8ceb3f3f5d88ce1c325f2413a387310813 (patch)
treeccdb969c5fa3fb8d678be5643faf497832769b83 /sys/arch/i386/isa/pccomvar.h
parent5cb487dc627c4b7c83691dc3776933222dcfff65 (diff)
New probe routine, add support for ST16650 (works).
Tested with some 16450 and 16550 UARTs.
Diffstat (limited to 'sys/arch/i386/isa/pccomvar.h')
-rw-r--r--sys/arch/i386/isa/pccomvar.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pccomvar.h b/sys/arch/i386/isa/pccomvar.h
index 1be68aa70ac..62770b329cc 100644
--- a/sys/arch/i386/isa/pccomvar.h
+++ b/sys/arch/i386/isa/pccomvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccomvar.h,v 1.4 1997/07/07 17:08:05 niklas Exp $ */
+/* $OpenBSD: pccomvar.h,v 1.5 1998/02/23 11:40:33 downsj Exp $ */
/* $NetBSD: comvar.h,v 1.5 1996/05/05 19:50:47 christos Exp $ */
/*
@@ -62,6 +62,16 @@ struct com_softc {
bus_space_handle_t sc_hayespioh;
isa_chipset_tag_t sc_ic;
+ u_char sc_uarttype;
+#define COM_UART_UNKNOWN 0x00 /* unknown */
+#define COM_UART_8250 0x01 /* no fifo */
+#define COM_UART_16450 0x02 /* no fifo */
+#define COM_UART_16550 0x03 /* no working fifo */
+#define COM_UART_16550A 0x04 /* 16 byte fifo */
+#define COM_UART_ST16650 0x05 /* no working fifo */
+#define COM_UART_ST16650V2 0x06 /* 32 byte fifo */
+#define COM_UART_TI16750 0x07 /* 64 byte fifo */
+
u_char sc_hwflags;
#define COM_HW_NOIEN 0x01
#define COM_HW_FIFO 0x02