diff options
Diffstat (limited to 'sys/dev/ed/if_ed.c')
-rw-r--r-- | sys/dev/ed/if_ed.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index 2b01cce..9133a48 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ed.c,v 1.146 1998/10/22 05:58:38 bde Exp $ + * $Id: if_ed.c,v 1.147 1998/12/13 23:00:48 eivind Exp $ */ /* @@ -194,6 +194,7 @@ static u_long ds_crc __P((u_char *ep)); #endif #if NCARD > 0 #include <sys/select.h> +#include <sys/module.h> #include <pccard/cardinfo.h> #include <pccard/slot.h> @@ -204,17 +205,7 @@ static int edinit __P((struct pccard_devinfo *)); static void edunload __P((struct pccard_devinfo *)); static int card_intr __P((struct pccard_devinfo *)); -static struct pccard_device ed_info = { - "ed", - edinit, - edunload, - card_intr, - 0, /* Attributes - presently unused */ - &net_imask /* Interrupt mask for device */ - /* XXX - Should this also include net_imask? */ -}; - -DATA_SET(pccarddrv_set, ed_info); +PCCARD_MODULE(ed, edinit, edunload, card_intr, 0, net_imask); /* * Initialize the device - called from Slot manager. |