summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-02-02 22:21:20 +0000
committerderaadt <deraadt@openbsd.org>1998-02-02 22:21:20 +0000
commitea285f1fa62eac8ebff915cafc37dce9ff7daf07 (patch)
tree16b1a268250f4d1a432dcb861b6f6b4a1058eaa6
parentenable a few more drivers (diff)
downloadwireguard-openbsd-ea285f1fa62eac8ebff915cafc37dce9ff7daf07.tar.xz
wireguard-openbsd-ea285f1fa62eac8ebff915cafc37dce9ff7daf07.zip
support non-ISA case
-rw-r--r--sys/arch/i386/isa/pccom.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pccom.c b/sys/arch/i386/isa/pccom.c
index a4bab8416eb..c8f231478b4 100644
--- a/sys/arch/i386/isa/pccom.c
+++ b/sys/arch/i386/isa/pccom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccom.c,v 1.18 1998/01/19 06:48:24 deraadt Exp $ */
+/* $OpenBSD: pccom.c,v 1.19 1998/02/02 22:21:20 deraadt Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*-
@@ -153,6 +153,8 @@ extern int kgdb_debug_init;
#elif NPCCOM_ISA
#define IS_ISA(parent) \
!strcmp((parent)->dv_cfdata->cf_driver->cd_name, "isa")
+#elif NPCCOM_ISAPNP
+#define IS_ISA(parent) 0
#endif
#if NPCCOM_ISAPNP