summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
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 0cf8083..715ab79 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 7d5432a..79ebcd5 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 0cf8083..715ab79 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>
OpenPOWER on IntegriCloud