diff options
author | Warner Losh <imp@FreeBSD.org> | 2005-06-24 14:36:54 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2005-06-24 14:36:54 +0000 |
commit | ab581af7793365b219b8d57024e809a5b0e9c0ad (patch) | |
tree | 91b11a1e2d6c246cb57e03c1d11c4d0d6f4ccf99 /sys/dev/an | |
parent | a3e5dcfd76c7dee9cfcb185ab90c3475818a5807 (diff) | |
download | src-ab581af7793365b219b8d57024e809a5b0e9c0ad.tar.gz src-ab581af7793365b219b8d57024e809a5b0e9c0ad.zip |
Eliminate unused argument in PCMCIA_CARD macro.
Provide a backwards compatible way to have the extra macro by defining
PCCARD_API_LEVEL 5 before including pccarddevs for driver writers that
want/need to have the same driver on 5 and 6 with pccard attachments.
Approved by: re (dwhite)
Notes
Notes:
svn path=/head/; revision=147580
Diffstat (limited to 'sys/dev/an')
-rw-r--r-- | sys/dev/an/if_an_pccard.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/an/if_an_pccard.c b/sys/dev/an/if_an_pccard.c index ad37b67de5a2..5e5d9d12d97d 100644 --- a/sys/dev/an/if_an_pccard.c +++ b/sys/dev/an/if_an_pccard.c @@ -108,10 +108,10 @@ DRIVER_MODULE(an, pccard, an_pccard_driver, an_pccard_devclass, 0, 0); MODULE_DEPEND(an, wlan, 1, 1, 1); static const struct pccard_product an_pccard_products[] = { - PCMCIA_CARD(AIRONET, PC4800, 0), - PCMCIA_CARD(AIRONET, PC4500, 0), - PCMCIA_CARD(AIRONET, 350, 0), - PCMCIA_CARD(XIRCOM, CWE1130, 0), + PCMCIA_CARD(AIRONET, PC4800), + PCMCIA_CARD(AIRONET, PC4500), + PCMCIA_CARD(AIRONET, 350), + PCMCIA_CARD(XIRCOM, CWE1130), { NULL } }; |