aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1999-10-29 17:28:09 +0000
committerWarner Losh <imp@FreeBSD.org>1999-10-29 17:28:09 +0000
commite653ecce875abfb5b872adbfd099e7b54c5317ee (patch)
treefeb00ae772831525004d568a78c320dbc680547b /sys/dev
parent3893348e48cdbb123b0c399bcd8ad1be83e415df (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pccard/if_xe.c2
-rw-r--r--sys/dev/wi/if_wi.c2
-rw-r--r--sys/dev/xe/if_xe.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pccard/if_xe.c b/sys/dev/pccard/if_xe.c
index 0cf8083251259..715ab79191de9 100644
--- a/sys/dev/pccard/if_xe.c
+++ b/sys/dev/pccard/if_xe.c
@@ -109,6 +109,8 @@
#if NXE > 0
+#undef NCARD
+#define NCARD 0
#if NCARD > 0
#include <sys/param.h>
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index 7d5432a269115..79ebcd590241a 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -68,6 +68,8 @@
#define WI_HERMES_STATS_WAR /* Work around stats counter bug. */
#include "card.h"
+#undef NCARD
+#define NCARD 0
#include "wi.h"
#include <sys/param.h>
diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c
index 0cf8083251259..715ab79191de9 100644
--- a/sys/dev/xe/if_xe.c
+++ b/sys/dev/xe/if_xe.c
@@ -109,6 +109,8 @@
#if NXE > 0
+#undef NCARD
+#define NCARD 0
#if NCARD > 0
#include <sys/param.h>