From d17e4ee67dd99c4762f09a4b76efad41b6469ef5 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 19 Jan 1999 00:21:53 +0000 Subject: Update the pccard hooks to use a module style declaration instead. --- sys/dev/fe/if_fe.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'sys/dev/fe') diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c index 1cd526898566..94e4bef13094 100644 --- a/sys/dev/fe/if_fe.c +++ b/sys/dev/fe/if_fe.c @@ -21,7 +21,7 @@ */ /* - * $Id: if_fe.c,v 1.46 1998/12/31 03:21:14 kato Exp $ + * $Id: if_fe.c,v 1.47 1999/01/12 00:36:29 eivind Exp $ * * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards. * To be used with FreeBSD 3.x @@ -127,6 +127,7 @@ #if NCARD > 0 #include #include +#include #include #include #endif @@ -396,16 +397,7 @@ static int feinit (struct pccard_devinfo *); static void feunload (struct pccard_devinfo *); static int fe_card_intr (struct pccard_devinfo *); -static struct pccard_device fe_info = { - "fe", - feinit, - feunload, - fe_card_intr, - 0, /* Attributes - presently unused */ - &net_imask /* XXX - Should this also include tty_imask? */ -}; - -DATA_SET(pccarddrv_set, fe_info); +PCCARD_MODULE(fe, feinit, feunload, fe_card_intr, 0, net_imask); /* * Initialize the device - called from Slot manager. -- cgit v1.3