summaryrefslogtreecommitdiffstats
path: root/sys/dev/fe
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-01-19 00:21:53 +0000
committerpeter <peter@FreeBSD.org>1999-01-19 00:21:53 +0000
commit5cf49b590ffd3d83ce7760bbd9fe8cd5694f13b6 (patch)
tree7c6e7b9d00400729ce60a453f9944bea55ce186e /sys/dev/fe
parentbd6a0259a65d507cf609e02efffd49e60d03e20b (diff)
downloadFreeBSD-src-5cf49b590ffd3d83ce7760bbd9fe8cd5694f13b6.zip
FreeBSD-src-5cf49b590ffd3d83ce7760bbd9fe8cd5694f13b6.tar.gz
Update the pccard hooks to use a module style declaration instead.
Diffstat (limited to 'sys/dev/fe')
-rw-r--r--sys/dev/fe/if_fe.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c
index 1cd5268..94e4bef 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 <sys/kernel.h>
#include <sys/select.h>
+#include <sys/module.h>
#include <pccard/cardinfo.h>
#include <pccard/slot.h>
#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.
OpenPOWER on IntegriCloud