summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart/uart_bus.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-04-02 21:45:54 +0000
committermarcel <marcel@FreeBSD.org>2006-04-02 21:45:54 +0000
commitaedb89e6c06a1c4a2f003f777de42a9d05b5b4a8 (patch)
treeeb31ca7499d49c1a5e87b5bf5d5c653178dd3417 /sys/dev/uart/uart_bus.h
parent20d0f352f4e624e4a02018ab9f879774a7575bed (diff)
downloadFreeBSD-src-aedb89e6c06a1c4a2f003f777de42a9d05b5b4a8.zip
FreeBSD-src-aedb89e6c06a1c4a2f003f777de42a9d05b5b4a8.tar.gz
Eliminate the sc_hasfifo flag from the softc. It was only used by
the NS8250 class driver. The UART has FIFOs if sc_rxfifosz>1, so test for that instead. While here properly initialize sc_rxfifosz and sc_txfifosz in the case the UART doesn't have FIFOs.
Diffstat (limited to 'sys/dev/uart/uart_bus.h')
-rw-r--r--sys/dev/uart/uart_bus.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_bus.h b/sys/dev/uart/uart_bus.h
index 7c5f47a..19ceab0 100644
--- a/sys/dev/uart/uart_bus.h
+++ b/sys/dev/uart/uart_bus.h
@@ -93,7 +93,6 @@ struct uart_softc {
int sc_callout:1; /* This UART is opened for callout. */
int sc_fastintr:1; /* This UART uses fast interrupts. */
- int sc_hasfifo:1; /* This UART has FIFOs. */
int sc_hwiflow:1; /* This UART has HW input flow ctl. */
int sc_hwoflow:1; /* This UART has HW output flow ctl. */
int sc_leaving:1; /* This UART is going away. */
OpenPOWER on IntegriCloud