summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1996-11-30 21:54:53 +0000
committermillert <millert@openbsd.org>1996-11-30 21:54:53 +0000
commit18fe83aed73a5176e2682f0943148d7b313385b1 (patch)
tree6a359c04e78c6e0d8036ac03f8e989b85d5faca8
parentSync with NetBSD: (diff)
downloadwireguard-openbsd-18fe83aed73a5176e2682f0943148d7b313385b1.tar.xz
wireguard-openbsd-18fe83aed73a5176e2682f0943148d7b313385b1.zip
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();