/linux/drivers/net/ethernet/amd/ |
A D | amd8111e.h | 556 #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 D | pcnet32.c | 140 #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 D | 3c59x.c | 786 #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 D | 3c515.c | 77 #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 D | ne2k-pci.c | 39 #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 D | hamachi.c | 85 #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 D | yellowfin.c | 60 #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 D | dl2k.c | 20 #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 D | sundance.c | 53 #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 D | winbond-840.c | 81 #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 D | tulip_core.c | 38 #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 D | fealnx.c | 43 #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 D | epic100.c | 38 #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 D | 8139too.c | 146 #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 D | via-velocity.h | 30 #define MAX_UNITS 8 macro 31 #define OPTION_DEFAULT { [0 ... MAX_UNITS-1] = -1}
|
A D | via-velocity.c | 259 static int N[MAX_UNITS] = OPTION_DEFAULT;\ 2775 if (velocity_nics >= MAX_UNITS) { in velocity_probe()
|
/linux/drivers/net/ethernet/natsemi/ |
A D | natsemi.c | 91 #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()
|