From 3094f99fa7dcf90f6a075b6add8e83ce55f9014b Mon Sep 17 00:00:00 2001 From: mdodd Date: Sun, 24 Oct 1999 07:17:26 +0000 Subject: 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. --- sys/dev/ed/if_ed_isa.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/dev/ed/if_ed_isa.c') 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 #include #include @@ -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 -- cgit v1.1