Home
last modified time | relevance | path

Searched refs:MAX_UNITS (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/amd/
A Damd8111e.h556 #define MAX_UNITS 8 /* Maximum number of devices possible */ macro
796 static int speed_duplex[MAX_UNITS] = { 0, };
797 static bool coalesce[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = true };
798 static bool dynamic_ipg[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = false };
A Dpcnet32.c140 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
141 static int options[MAX_UNITS];
142 static int full_duplex[MAX_UNITS];
143 static int homepna[MAX_UNITS];
1676 if (cards_found < MAX_UNITS && homepna[cards_found]) in pcnet32_probe1()
1865 if ((cards_found >= MAX_UNITS) || in pcnet32_probe1()
1883 ((cards_found >= MAX_UNITS) || full_duplex[cards_found])) in pcnet32_probe1()
/linux/drivers/net/ethernet/3com/
A D3c59x.c786 #define MAX_UNITS 8 macro
787 static int options[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 };
788 static int full_duplex[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
789 static int hw_checksums[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
790 static int flow_ctrl[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
791 static int enable_wol[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
792 static int use_mmio[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
1017 } else if (unit < MAX_UNITS && use_mmio[unit] >= 0) in vortex_init_one()
1137 else if (card_idx < MAX_UNITS) { in vortex_probe1()
1242 if (card_idx < MAX_UNITS) { in vortex_probe1()
[all …]
A D3c515.c77 #define MAX_UNITS 8 macro
392 static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1, };
593 if (card_number >= MAX_UNITS) in corkscrew_setup()
/linux/drivers/net/ethernet/8390/
A Dne2k-pci.c39 #define MAX_UNITS 8 macro
42 static int full_duplex[MAX_UNITS];
43 static int options[MAX_UNITS];
373 if (fnd_cnt < MAX_UNITS) { in ne2k_pci_init_one()
/linux/drivers/net/ethernet/packetengines/
A Dhamachi.c85 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
86 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
87 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
103 static int rx_params[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
104 static int tx_params[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
666 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in hamachi_init_one()
707 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in hamachi_init_one()
722 rx_int_var = card_idx < MAX_UNITS ? rx_params[card_idx] : -1; in hamachi_init_one()
723 tx_int_var = card_idx < MAX_UNITS ? tx_params[card_idx] : -1; in hamachi_init_one()
A Dyellowfin.c60 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
61 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
62 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
378 int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; in yellowfin_init_one()
471 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in yellowfin_init_one()
/linux/drivers/net/ethernet/dlink/
A Ddl2k.c20 #define MAX_UNITS 8 macro
21 static int mtu[MAX_UNITS];
22 static int vlan[MAX_UNITS];
23 static int jumbo[MAX_UNITS];
24 static char *media[MAX_UNITS];
155 if (card_idx < MAX_UNITS) { in rio_probe1()
A Dsundance.c53 #define MAX_UNITS 8 macro
54 static char *media[MAX_UNITS];
625 if (card_idx < MAX_UNITS) { in sundance_probe1()
/linux/drivers/net/ethernet/dec/tulip/
A Dwinbond-840.c81 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
82 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
83 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
357 int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; in w840_probe1()
417 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in w840_probe1()
A Dtulip_core.c38 #define MAX_UNITS 8 macro
40 static int full_duplex[MAX_UNITS];
41 static int options[MAX_UNITS];
42 static int mtu[MAX_UNITS]; /* Jumbo MTU for interfaces. */
1634 if (board_idx >= 0 && board_idx < MAX_UNITS) { in tulip_init_one()
/linux/drivers/net/ethernet/
A Dfealnx.c43 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
44 static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
45 static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
495 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in fealnx_init_one()
626 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in fealnx_init_one()
/linux/drivers/net/ethernet/smsc/
A Depic100.c38 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
39 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
40 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
395 } else if (card_idx >= 0 && card_idx < MAX_UNITS) { in epic_init_one()
/linux/drivers/net/ethernet/realtek/
A D8139too.c146 #define MAX_UNITS 8 macro
147 static int media[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
148 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
1078 option = (board_idx >= MAX_UNITS) ? 0 : media[board_idx]; in rtl8139_init_one()
1085 if (board_idx < MAX_UNITS && full_duplex[board_idx] > 0) in rtl8139_init_one()
/linux/drivers/net/ethernet/via/
A Dvia-velocity.h30 #define MAX_UNITS 8 macro
31 #define OPTION_DEFAULT { [0 ... MAX_UNITS-1] = -1}
A Dvia-velocity.c259 static int N[MAX_UNITS] = OPTION_DEFAULT;\
2775 if (velocity_nics >= MAX_UNITS) { in velocity_probe()
/linux/drivers/net/ethernet/natsemi/
A Dnatsemi.c91 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
92 static int options[MAX_UNITS];
93 static int full_duplex[MAX_UNITS];
918 option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; in natsemi_probe1()
928 if (find_cnt < MAX_UNITS && full_duplex[find_cnt]) in natsemi_probe1()

Completed in 75 milliseconds