summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-10-29 17:28:09 +0000
committerimp <imp@FreeBSD.org>1999-10-29 17:28:09 +0000
commitd9bac1e9bec138c1b808713e973f926ce055bcf6 (patch)
treefeb00ae772831525004d568a78c320dbc680547b /sys
parent91b7df94a850b2ae9c34050d19bcfb37ae1966ba (diff)
downloadFreeBSD-src-d9bac1e9bec138c1b808713e973f926ce055bcf6.zip
FreeBSD-src-d9bac1e9bec138c1b808713e973f926ce055bcf6.tar.gz
Disable old PCCARD_MODULE code.
This should fix LINT. Prompted by: phk's explicit message about LINT breakage
Diffstat (limited to 'sys')
-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
-rw-r--r--sys/i386/isa/if_wi.c2
-rw-r--r--sys/i4b/layer1/i4b_isic_pcmcia.c2
5 files changed, 10 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>
diff --git a/sys/i386/isa/if_wi.c b/sys/i386/isa/if_wi.c
index 7d5432a..79ebcd5 100644
--- a/sys/i386/isa/if_wi.c
+++ b/sys/i386/isa/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/i4b/layer1/i4b_isic_pcmcia.c b/sys/i4b/layer1/i4b_isic_pcmcia.c
index bf32211..466ad56 100644
--- a/sys/i4b/layer1/i4b_isic_pcmcia.c
+++ b/sys/i4b/layer1/i4b_isic_pcmcia.c
@@ -45,6 +45,8 @@
#include "isic.h"
#include "opt_i4b.h"
#include "card.h"
+#undef NCARD
+#define NCARD 0
#if (NISIC > 0) && (NCARD > 0)
OpenPOWER on IntegriCloud