diff options
Diffstat (limited to 'sys/i386/isa/if_cx.c')
-rw-r--r-- | sys/i386/isa/if_cx.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/i386/isa/if_cx.c b/sys/i386/isa/if_cx.c index ac68d97..7e22487 100644 --- a/sys/i386/isa/if_cx.c +++ b/sys/i386/isa/if_cx.c @@ -35,12 +35,18 @@ #include <sys/sockio.h> #include <sys/socket.h> #include <sys/conf.h> +#include <sys/bus.h> #include <net/if.h> #include <net/bpf.h> #include <i386/isa/isa_device.h> + +#ifndef COMPAT_OLDISA +#error "The cx device requires the old isa compatibility shims" +#endif + #define watchdog_func_t void(*)(struct ifnet *) #define start_func_t void(*)(struct ifnet*) @@ -294,7 +300,13 @@ cxattach (struct isa_device *id) return (1); } -struct isa_driver cxdriver = { cxprobe, cxattach, "cx" }; +struct isa_driver cxdriver = { + INTR_TYPE_NET, + cxprobe, + cxattach, + "cx" +}; +COMPAT_ISA_DRIVER(cx, cxdriver); /* * Process an ioctl request. |