summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_ze.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-12-21 17:53:39 +0000
committernate <nate@FreeBSD.org>1996-12-21 17:53:39 +0000
commit249fc1b48c9b7b830ebbf08049d4b97f9691f935 (patch)
tree4a3013752358de45dec618d0acbf0aaf41156ffe /sys/i386/isa/if_ze.c
parent2e06aeb9e246655bf82511e9f876083301876f7c (diff)
downloadFreeBSD-src-249fc1b48c9b7b830ebbf08049d4b97f9691f935.zip
FreeBSD-src-249fc1b48c9b7b830ebbf08049d4b97f9691f935.tar.gz
PCCARD support safety belts.
Don't allow people to use the 'dedicated' drivers at the same time as the generic support code, as it can cause all sorts of problems including kernel crashes. [ definite 2.2 material ]
Diffstat (limited to 'sys/i386/isa/if_ze.c')
-rw-r--r--sys/i386/isa/if_ze.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/i386/isa/if_ze.c b/sys/i386/isa/if_ze.c
index 1b7e1ab..9f9951c 100644
--- a/sys/i386/isa/if_ze.c
+++ b/sys/i386/isa/if_ze.c
@@ -47,9 +47,16 @@
*/
/*
- * $Id: if_ze.c,v 1.33 1996/08/06 21:14:11 phk Exp $
+ * $Id: if_ze.c,v 1.34 1996/12/13 21:28:24 wollman Exp $
*/
+/* XXX - Don't mix different PCCARD support code */
+#include "pcic.h"
+#include "crd.h"
+#if NCRD > 0 || NPCIC > 0
+#error Dedicated PCMCIA drivers and generic PCMCIA support can't be mixed
+#endif
+
#include "ze.h"
#if NZE > 0
#include "bpfilter.h"
OpenPOWER on IntegriCloud