diff options
author | imp <imp@FreeBSD.org> | 2001-11-15 06:37:13 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-11-15 06:37:13 +0000 |
commit | 686e52b5ce1d549cff8470765d91c80fc45f6892 (patch) | |
tree | 0a04563b6b102945284ed1324e03188286ae1bd5 /sys/dev/an | |
parent | 9777457eaf485a93ccbb5de9c511a007ea2e6d0c (diff) | |
download | FreeBSD-src-686e52b5ce1d549cff8470765d91c80fc45f6892.zip FreeBSD-src-686e52b5ce1d549cff8470765d91c80fc45f6892.tar.gz |
Hoist the Card/Card2 macros that I invented for the wi driver into
pccard layer and rename them PCMCIA_CARD and PCMCIA_CARD2 respectively
(note, this is being done with an eye towards NetBSD integreation so
it is easier to keep lists of cards between us and them in sync).
Use this in the an and wi drivers.
Diffstat (limited to 'sys/dev/an')
-rw-r--r-- | sys/dev/an/if_an_pccard.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/sys/dev/an/if_an_pccard.c b/sys/dev/an/if_an_pccard.c index 013642c..d1a19aa 100644 --- a/sys/dev/an/if_an_pccard.c +++ b/sys/dev/an/if_an_pccard.c @@ -112,15 +112,10 @@ static devclass_t an_pccard_devclass; DRIVER_MODULE(if_an, pccard, an_pccard_driver, an_pccard_devclass, 0, 0); static const struct pccard_product an_pccard_products[] = { - { PCMCIA_STR_AIRONET_PC4800, PCMCIA_VENDOR_AIRONET, - PCMCIA_PRODUCT_AIRONET_PC4800, 0, - PCMCIA_CIS_AIRONET_PC4800 }, - { PCMCIA_STR_AIRONET_PC4500, PCMCIA_VENDOR_AIRONET, - PCMCIA_PRODUCT_AIRONET_PC4500, 0, - PCMCIA_CIS_AIRONET_PC4500 }, - { PCMCIA_STR_AIRONET_350, PCMCIA_VENDOR_AIRONET, - PCMCIA_PRODUCT_AIRONET_350, 0, - PCMCIA_CIS_AIRONET_350 }, + PCMCIA_CARD(AIRONET, PC4800, 0), + PCMCIA_CARD(AIRONET, PC4500, 0), + PCMCIA_CARD(AIRONET, 350, 0), + { NULL } }; static int |