summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>1999-10-24 07:17:26 +0000
committermdodd <mdodd@FreeBSD.org>1999-10-24 07:17:26 +0000
commit3094f99fa7dcf90f6a075b6add8e83ce55f9014b (patch)
treeb4de12c91537a27c60d2c060598bbb181f8fb15e /sys/dev/ed
parentec908db6f5733e01fa792bc87335c82dbcf97979 (diff)
downloadFreeBSD-src-3094f99fa7dcf90f6a075b6add8e83ce55f9014b.zip
FreeBSD-src-3094f99fa7dcf90f6a075b6add8e83ce55f9014b.tar.gz
Fix compiling PCCARD kernels.
This is a hack and I don't like it. Hopefully the new PCCARD stuff should be in working order in a day or so.
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed_isa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ed/if_ed_isa.c b/sys/dev/ed/if_ed_isa.c
index a46d63e..ed21a7e 100644
--- a/sys/dev/ed/if_ed_isa.c
+++ b/sys/dev/ed/if_ed_isa.c
@@ -27,6 +27,9 @@
* $FreeBSD$
*/
+#include "card.h"
+#if NCARD == 0
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
@@ -154,3 +157,4 @@ static driver_t ed_isa_driver = {
static devclass_t ed_isa_devclass;
DRIVER_MODULE(ed, isa, ed_isa_driver, ed_isa_devclass, 0, 0);
+#endif
OpenPOWER on IntegriCloud