Searched refs:MAX_UNITS (Results 1 - 18 of 18) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Damd8111e.h569 #define MAX_UNITS 8 /* Maximum number of devices possible */ macro
814 static int speed_duplex[MAX_UNITS] = { 0, };
815 static int coalesce[MAX_UNITS] = {1,1,1,1,1,1,1,1};
816 static int dynamic_ipg[MAX_UNITS] = {0,0,0,0,0,0,0,0};
H A Dne2k-pci.c38 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
40 static int full_duplex[MAX_UNITS];
41 static int options[MAX_UNITS];
357 if (fnd_cnt < MAX_UNITS) {
H 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};
671 option = card_idx < MAX_UNITS ? options[card_idx] : 0;
714 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0)
729 rx_int_var = card_idx < MAX_UNITS ? rx_params[card_idx] : -1;
730 tx_int_var = card_idx < MAX_UNITS ? tx_params[card_idx] : -1;
H A D3c59x.c778 #define MAX_UNITS 8 macro
779 static int options[MAX_UNITS] = { [0 ... MAX_UNITS-1] = -1 };
780 static int full_duplex[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
781 static int hw_checksums[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
782 static int flow_ctrl[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
783 static int enable_wol[MAX_UNITS]
[all...]
H A Ddl2k.c21 #define MAX_UNITS 8 macro
22 static int mtu[MAX_UNITS];
23 static int vlan[MAX_UNITS];
24 static int jumbo[MAX_UNITS];
25 static char *media[MAX_UNITS];
155 if (card_idx < MAX_UNITS) {
H A 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 };
508 option = card_idx < MAX_UNITS ? options[card_idx] : 0;
639 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0)
H 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;
470 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0)
H A 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)
H 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};
406 } else if (card_idx >= 0 && card_idx < MAX_UNITS) {
H A Dstarfire.c121 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
122 static int options[MAX_UNITS] = {0, };
123 static int full_duplex[MAX_UNITS] = {0, };
785 option = card_idx < MAX_UNITS ? options[card_idx] : 0;
793 if (card_idx < MAX_UNITS && full_duplex[card_idx] > 0)
H A D8139too.c144 #define MAX_UNITS 8 macro
145 static int media[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
146 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
1055 option = (board_idx >= MAX_UNITS) ? 0 : media[board_idx];
1062 if (board_idx < MAX_UNITS && full_duplex[board_idx] > 0)
H A 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];
1627 if (cards_found < MAX_UNITS && homepna[cards_found])
1788 if ((cards_found >= MAX_UNITS) ||
1803 ((cards_found >= MAX_UNITS) || full_duplex[cards_found]))
H A Dsundance.c56 #define MAX_UNITS 8 macro
57 static char *media[MAX_UNITS];
597 if (card_idx < MAX_UNITS) {
H A Dvia-velocity.h39 #define MAX_UNITS 8 macro
40 #define OPTION_DEFAULT { [0 ... MAX_UNITS-1] = -1}
H 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];
912 option = find_cnt < MAX_UNITS ? options[find_cnt] : 0;
925 if (find_cnt < MAX_UNITS && full_duplex[find_cnt])
H A Dvia-velocity.c250 static int N[MAX_UNITS] = OPTION_DEFAULT;\
2727 if (velocity_nics >= MAX_UNITS) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tulip/
H A Dwinbond-840.c82 #define MAX_UNITS 8 /* More are supported, limit only on options */ macro
83 static int options[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
84 static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
367 int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0;
428 if (find_cnt < MAX_UNITS && full_duplex[find_cnt] > 0)
H A Dtulip_core.c49 #define MAX_UNITS 8 macro
51 static int full_duplex[MAX_UNITS];
52 static int options[MAX_UNITS];
53 static int mtu[MAX_UNITS]; /* Jumbo MTU for interfaces. */
1656 if (board_idx >= 0 && board_idx < MAX_UNITS) {

Completed in 367 milliseconds