diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-02-13 23:01:59 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-02-13 23:01:59 +0000 |
commit | e9378a292b18c306abe5cc81e992ddeea492cda3 (patch) | |
tree | 3ec1f3c6dd53d2f02950b8c41aa6e23f5f856dd2 /sys/dev/ep | |
parent | fc08397161ca6036b0ae730d101d26fb114d69b5 (diff) | |
download | FreeBSD-src-e9378a292b18c306abe5cc81e992ddeea492cda3.zip FreeBSD-src-e9378a292b18c306abe5cc81e992ddeea492cda3.tar.gz |
Bandaid the bits that use the elink_foo() functions which are
i386 only at this point.
Diffstat (limited to 'sys/dev/ep')
-rw-r--r-- | sys/dev/ep/if_ep_isa.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/ep/if_ep_isa.c b/sys/dev/ep/if_ep_isa.c index bccfc32..bec4045 100644 --- a/sys/dev/ep/if_ep_isa.c +++ b/sys/dev/ep/if_ep_isa.c @@ -46,16 +46,20 @@ #include <net/if_arp.h> #include <net/if_media.h> - #include <isa/isavar.h> #include <dev/ep/if_epreg.h> #include <dev/ep/if_epvar.h> + +#ifdef __i386__ #include <i386/isa/elink.h> +#endif static u_int16_t get_eeprom_data (int, int); +#ifdef __i386__ static void ep_isa_identify (driver_t *, device_t); +#endif static int ep_isa_probe (device_t); static int ep_isa_attach (device_t); @@ -151,6 +155,7 @@ ep_isa_match_id (id, isa_devs) return (NULL); } +#ifdef __i386__ static void ep_isa_identify (driver_t *driver, device_t parent) { @@ -286,6 +291,7 @@ ep_isa_identify (driver_t *driver, device_t parent) return; } +#endif static int ep_isa_probe (device_t dev) @@ -349,7 +355,9 @@ bad: static device_method_t ep_isa_methods[] = { /* Device interface */ +#ifdef __i386__ DEVMETHOD(device_identify, ep_isa_identify), +#endif DEVMETHOD(device_probe, ep_isa_probe), DEVMETHOD(device_attach, ep_isa_attach), |