diff options
Diffstat (limited to 'sys/dev/fdc/fdc.c')
| -rw-r--r-- | sys/dev/fdc/fdc.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index c8e35a5ae07d..9972a38f5c35 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -47,7 +47,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.130 1998/12/27 13:40:56 phk Exp $ + * $Id: fd.c,v 1.131 1999/01/15 09:15:27 bde Exp $ * */ @@ -275,6 +275,7 @@ static int volatile fd_debug = 0; #ifdef FDC_YE #if NCARD > 0 #include <sys/select.h> +#include <sys/module.h> #include <pccard/cardinfo.h> #include <pccard/driver.h> #include <pccard/slot.h> @@ -286,16 +287,7 @@ static int yeinit(struct pccard_devinfo *); /* init device */ static void yeunload(struct pccard_devinfo *); /* Disable driver */ static int yeintr(struct pccard_devinfo *); /* Interrupt handler */ -static struct pccard_device ye_info = { - "fdc", - yeinit, - yeunload, - yeintr, - 0, /* Attributes - presently unused */ - &bio_imask /* Interrupt mask for device */ -}; - -DATA_SET(pccarddrv_set, ye_info); +PCCARD_MODULE(fdc, yeinit, yeunload, yeintr, 0, bio_imask); /* * this is the secret PIO data port (offset from base) |
