Home
last modified time | relevance | path

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

/drivers/net/ethernet/amd/
Damd8111e.h567 #define MAX_UNITS 8 /* Maximum number of devices possible */ macro
807 static int speed_duplex[MAX_UNITS] = { 0, };
808 static bool coalesce[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = true };
809 static bool dynamic_ipg[MAX_UNITS] = { [ 0 ... MAX_UNITS-1] = false };
Dpcnet32.c144 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
145 static int options[MAX_UNITS];
146 static int full_duplex[MAX_UNITS];
147 static int homepna[MAX_UNITS];
1629 if (cards_found < MAX_UNITS && homepna[cards_found]) in pcnet32_probe1()
1813 if ((cards_found >= MAX_UNITS) || in pcnet32_probe1()
1828 ((cards_found >= MAX_UNITS) || full_duplex[cards_found])) in pcnet32_probe1()
/drivers/net/ethernet/3com/
D3c59x.c787 #define MAX_UNITS 8 macro
788 static int options[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 };
789 static int full_duplex[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
790 static int hw_checksums[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
791 static int flow_ctrl[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
792 static int enable_wol[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
793 static int use_mmio[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
1020 if (global_use_mmio < 0 && (unit >= MAX_UNITS || use_mmio[unit] < 0)) { in vortex_init_one()
1024 } else if (unit < MAX_UNITS && use_mmio[unit] >= 0) in vortex_init_one()
1145 else if (card_idx < MAX_UNITS) { in vortex_probe1()
[all …]
D3c515.c82 #define MAX_UNITS 8 macro
398 static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1, };
606 if (card_number >= MAX_UNITS) in corkscrew_setup()
/drivers/net/ethernet/8390/
Dne2k-pci.c36 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
38 static int full_duplex[MAX_UNITS];
39 static int options[MAX_UNITS];
359 if (fnd_cnt < MAX_UNITS) { in ne2k_pci_init_one()
/drivers/net/ethernet/packetengines/
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};
661 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in hamachi_init_one()
702 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in hamachi_init_one()
717 rx_int_var = card_idx < MAX_UNITS ? rx_params[card_idx] : -1; in hamachi_init_one()
718 tx_int_var = card_idx < MAX_UNITS ? tx_params[card_idx] : -1; in hamachi_init_one()
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};
379 int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; in yellowfin_init_one()
467 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in yellowfin_init_one()
/drivers/net/ethernet/dlink/
Ddl2k.c28 #define MAX_UNITS 8 macro
29 static int mtu[MAX_UNITS];
30 static int vlan[MAX_UNITS];
31 static int jumbo[MAX_UNITS];
32 static char *media[MAX_UNITS];
170 if (card_idx < MAX_UNITS) { in rio_probe1()
Dsundance.c56 #define MAX_UNITS 8 macro
57 static char *media[MAX_UNITS];
632 if (card_idx < MAX_UNITS) { in sundance_probe1()
/drivers/net/ethernet/dec/tulip/
Dwinbond-840.c84 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
85 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
86 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
368 int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; in w840_probe1()
426 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0) in w840_probe1()
Dtulip_core.c48 #define MAX_UNITS 8 macro
50 static int full_duplex[MAX_UNITS];
51 static int options[MAX_UNITS];
52 static int mtu[MAX_UNITS]; /* Jumbo MTU for interfaces. */
1645 if (board_idx >= 0 && board_idx < MAX_UNITS) { in tulip_init_one()
/drivers/net/ethernet/
Dfealnx.c45 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
46 static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
47 static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
509 option = card_idx < MAX_UNITS ? options[card_idx] : 0; in fealnx_init_one()
637 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0) in fealnx_init_one()
/drivers/net/ethernet/smsc/
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()
/drivers/net/ethernet/realtek/
D8139too.c145 #define MAX_UNITS 8 macro
146 static int media[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
147 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
1070 option = (board_idx >= MAX_UNITS) ? 0 : media[board_idx]; in rtl8139_init_one()
1077 if (board_idx < MAX_UNITS && full_duplex[board_idx] > 0) in rtl8139_init_one()
/drivers/net/ethernet/via/
Dvia-velocity.h39 #define MAX_UNITS 8 macro
40 #define OPTION_DEFAULT { [0 ... MAX_UNITS-1] = -1}
Dvia-velocity.c268 static int N[MAX_UNITS] = OPTION_DEFAULT;\
2800 if (velocity_nics >= MAX_UNITS) { in velocity_probe()
/drivers/net/ethernet/natsemi/
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];
914 option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; in natsemi_probe1()
924 if (find_cnt < MAX_UNITS && full_duplex[find_cnt]) in natsemi_probe1()