From 5cf49b590ffd3d83ce7760bbd9fe8cd5694f13b6 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 19 Jan 1999 00:21:53 +0000 Subject: Update the pccard hooks to use a module style declaration instead. --- sys/dev/ep/if_ep.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'sys/dev/ep/if_ep.c') diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index 8ca0272..e325ada 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -38,7 +38,7 @@ */ /* - * $Id: if_ep.c,v 1.76 1998/06/21 18:02:38 bde Exp $ + * $Id: if_ep.c,v 1.77 1998/10/22 05:58:39 bde Exp $ * * Promiscuous mode added and interrupt logic slightly changed * to reduce the number of adapter failures. Transceiver select @@ -149,6 +149,7 @@ struct isa_driver epdriver = { #if NCARD > 0 #include +#include #include #include @@ -160,16 +161,7 @@ static int ep_pccard_attach __P((struct pccard_devinfo *)); static void ep_unload __P((struct pccard_devinfo *)); static int card_intr __P((struct pccard_devinfo *)); -static struct pccard_device ep_info = { - "ep", - ep_pccard_init, - ep_unload, - card_intr, - 0, /* Attributes - presently unused */ - &net_imask -}; - -DATA_SET(pccarddrv_set, ep_info); +PCCARD_MODULE(ep, ep_pccard_init, ep_unload, card_intr, 0, net_imask); /* * Initialize the device - called from Slot manager. -- cgit v1.1