diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-02-13 23:01:59 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-02-13 23:01:59 +0000 |
| commit | 8ae37ad0ba10984550e60057ac501bbbe88c8de1 (patch) | |
| tree | 3ec1f3c6dd53d2f02950b8c41aa6e23f5f856dd2 | |
| parent | 2542b742f19eabeb7bbd0bc5f8f21f759b80f639 (diff) | |
Notes
| -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 bccfc32cd19d..bec40450a143 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), |
