diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-01 16:19:14 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-01 16:19:14 +0000 |
commit | 4c12c75af9ae3a3c438f3dacdda9485d2b2eac6a (patch) | |
tree | 4a1703ecd19a18e6ceab2f14daf828b4499bf9b4 /sys/arch/arc | |
parent | c8f4b6e5aee170d94fac99a133801982e84b6b12 (diff) |
GCC 2.8 -Wall
Diffstat (limited to 'sys/arch/arc')
-rw-r--r-- | sys/arch/arc/dev/com_lbus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arc/dev/com_lbus.c b/sys/arch/arc/dev/com_lbus.c index 586a68a7eba..0b6109075b6 100644 --- a/sys/arch/arc/dev/com_lbus.c +++ b/sys/arch/arc/dev/com_lbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_lbus.c,v 1.5 1997/07/07 17:05:29 niklas Exp $ */ +/* $OpenBSD: com_lbus.c,v 1.6 1998/03/01 16:19:13 niklas Exp $ */ /* * Copyright (c) 1993, 1994 Charles Hannum. @@ -145,14 +145,14 @@ com_localbus_attach(parent, self, aux) FIFO_ENABLE | FIFO_RCV_RST | FIFO_XMT_RST | FIFO_TRIGGER_14); delay(100); if (ISSET(bus_space_read_1(iot, ioh, com_iir), IIR_FIFO_MASK) == - IIR_FIFO_MASK) + IIR_FIFO_MASK) { if (ISSET(bus_space_read_1(iot, ioh, com_fifo), FIFO_TRIGGER_14) == FIFO_TRIGGER_14) { SET(sc->sc_hwflags, COM_HW_FIFO); printf(": ns16550a, working fifo\n"); } else printf(": ns16550, broken fifo\n"); - else + } else printf(": ns8250 or ns16450, no fifo\n"); bus_space_write_1(iot, ioh, com_fifo, 0); |