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 #include - #include #include #include + +#ifdef __i386__ #include +#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 @@ ep_isa_attach (device_t dev) 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),