summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-11-30 21:54:54 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-11-30 21:54:54 +0000
commitc757523db516cf8f6ef82b98181777dd426e45d5 (patch)
treec6311290df320a87c8fd2f9e9bed8301e54e9696
parent67e9b81bf2c3acfeba94fdb222f197904c16cfef (diff)
fix order of #if defined's so it compiles
-rw-r--r--sys/dev/pci/ncr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/ncr.c b/sys/dev/pci/ncr.c
index 0760bd22da3..03849a3b7ba 100644
--- a/sys/dev/pci/ncr.c
+++ b/sys/dev/pci/ncr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr.c,v 1.20 1996/11/28 23:28:08 niklas Exp $ */
+/* $OpenBSD: ncr.c,v 1.21 1996/11/30 21:54:53 millert Exp $ */
/* $NetBSD: ncr.c,v 1.48 1996/10/25 21:33:33 cgd Exp $ */
/**************************************************************************
@@ -3654,10 +3654,10 @@ static void ncr_attach (pcici_t config_id, int unit)
np->sc_link.device = &ncr_dev;
np->sc_link.flags = 0;
-#if defined(__NetBSD__)
- config_found(self, &np->sc_link, scsiprint);
-#elif defined(__OpenBSD__)
+#if defined(__OpenBSD__)
config_found(self, &np->sc_link, ncr_print);
+#elif defined(__NetBSD__)
+ config_found(self, &np->sc_link, scsiprint);
#else /* !__NetBSD__ */
#if (__FreeBSD__ >= 2)
scbus = scsi_alloc_bus();