diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1998-02-23 11:41:27 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1998-02-23 11:41:27 +0000 |
commit | 8f22f18b619e47b00192eaa7ddd8903b146f13a0 (patch) | |
tree | e6416ac2c64294be74f8e357092bd0abeceeaf9d /sys/dev/ic/comvar.h | |
parent | d8e6db8ceb3f3f5d88ce1c325f2413a387310813 (diff) |
New probe routine and support for ST16650.
Compiles, but completely untested.
Diffstat (limited to 'sys/dev/ic/comvar.h')
-rw-r--r-- | sys/dev/ic/comvar.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/dev/ic/comvar.h b/sys/dev/ic/comvar.h index 153a70a8b53..3ea011a6541 100644 --- a/sys/dev/ic/comvar.h +++ b/sys/dev/ic/comvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: comvar.h,v 1.9 1997/07/07 16:37:12 niklas Exp $ */ +/* $OpenBSD: comvar.h,v 1.10 1998/02/23 11:41:26 downsj Exp $ */ /* $NetBSD: comvar.h,v 1.5 1996/05/05 19:50:47 christos Exp $ */ /* @@ -64,6 +64,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 @@ -78,6 +88,7 @@ struct com_softc { #define COM_SW_CRTSCTS 0x04 #define COM_SW_MDMBUF 0x08 #define COM_SW_PPS 0x10 + int sc_fifolen; u_char sc_msr, sc_mcr, sc_lcr, sc_ier; u_char sc_dtr; |