summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed/if_ed_pci.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-20 05:48:16 +0000
committerpeter <peter@FreeBSD.org>1999-09-20 05:48:16 +0000
commitd65af66bfe8923c6345f7415d0086674f3b7d590 (patch)
tree11974528c000e381c6bb82e4b35c5a9763e5e201 /sys/dev/ed/if_ed_pci.c
parentb895b5437522f0b73e31c715714e989f86b9a039 (diff)
downloadFreeBSD-src-d65af66bfe8923c6345f7415d0086674f3b7d590.zip
FreeBSD-src-d65af66bfe8923c6345f7415d0086674f3b7d590.tar.gz
Make if_ed work again on pci, isa, isapnp. The hack to make it work on
PCCARD is pretty revolting but should buy us time while the pccard driver angle is sorted out. A commit for the MCA ed attachment will follow shortly.
Diffstat (limited to 'sys/dev/ed/if_ed_pci.c')
-rw-r--r--sys/dev/ed/if_ed_pci.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed_pci.c b/sys/dev/ed/if_ed_pci.c
index e7df453..c3a270a 100644
--- a/sys/dev/ed/if_ed_pci.c
+++ b/sys/dev/ed/if_ed_pci.c
@@ -20,6 +20,9 @@
* $FreeBSD$
*/
+#include "card.h"
+#if NCARD == 0
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/socket.h>
@@ -35,7 +38,7 @@
#include <net/if_arp.h>
#include <net/if_mib.h>
-#include <i386/isa/if_edvar.h>
+#include <dev/ed/if_edvar.h>
static struct _pcsid
{
@@ -98,3 +101,4 @@ static driver_t ed_pci_driver = {
static devclass_t ed_devclass;
DRIVER_MODULE(ed, pci, ed_pci_driver, ed_devclass, 0, 0);
+#endif
OpenPOWER on IntegriCloud