From 4c12c75af9ae3a3c438f3dacdda9485d2b2eac6a Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sun, 1 Mar 1998 16:19:14 +0000 Subject: GCC 2.8 -Wall --- sys/arch/arc/dev/com_lbus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/arc/dev') 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); -- cgit v1.2.3