mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove unused PCMCIA_CARD* macros.
Always include the card human readable name. We support ~270 cards and at ~20 bytes each, this bloats things by only ~5k. Retain the PCMCIA_CARD vs PCMCIA_CARD_D distinction, though, in case this is intolerable.
This commit is contained in:
parent
a7710c485e
commit
86fd88736f
1 changed files with 1 additions and 7 deletions
|
|
@ -219,14 +219,8 @@ enum {
|
|||
#define PCCARD_C(a, b) PCMCIA_CIS_ ## a ## _ ## b
|
||||
#define PCMCIA_CARD_D(v, p) { PCCARD_S(v, p), PCMCIA_VENDOR_ ## v, \
|
||||
PCCARD_P(v, p), PCCARD_C(v, p) }
|
||||
#define PCMCIA_CARD2_D(v1, p1, p2) \
|
||||
{ PCMCIA_STR_ ## p2, PCMCIA_VENDOR_ ## v1, PCCARD_P(v1, p1), \
|
||||
PCMCIA_CIS_ ## p2}
|
||||
#define PCMCIA_CARD(v, p) { NULL, PCMCIA_VENDOR_ ## v, \
|
||||
#define PCMCIA_CARD(v, p) { PCCARD_S(v, p), PCMCIA_VENDOR_ ## v, \
|
||||
PCCARD_P(v, p), PCCARD_C(v, p) }
|
||||
#define PCMCIA_CARD2(v1, p1, p2) \
|
||||
{ NULL, PCMCIA_VENDOR_ ## v1, PCCARD_P(v1, p1), \
|
||||
PCMCIA_CIS_ ## p2}
|
||||
|
||||
/*
|
||||
* Defines to decode the get_funce_disk return value. See the PCMCIA standard
|
||||
|
|
|
|||
Loading…
Reference in a new issue