/openbmc/linux/drivers/net/ethernet/amd/ |
H 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 };
|
H 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]; 1680 if (cards_found < MAX_UNITS && homepna[cards_found]) in pcnet32_probe1() 1869 if ((cards_found >= MAX_UNITS) || in pcnet32_probe1() 1888 ((cards_found >= MAX_UNITS) || full_duplex[cards_found])) in pcnet32_probe1()
|
/openbmc/linux/drivers/net/ethernet/3com/ |
H 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 …]
|
H A D | 3c515.c | 79 #define MAX_UNITS 8 macro 394 static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1, }; 595 if (card_number >= MAX_UNITS) in corkscrew_setup()
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | ne2k-pci.c | 40 #define MAX_UNITS 8 macro 43 static int full_duplex[MAX_UNITS]; 44 static int options[MAX_UNITS]; 374 if (fnd_cnt < MAX_UNITS) { in ne2k_pci_init_one()
|
/openbmc/linux/drivers/net/ethernet/packetengines/ |
H 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()
|
H 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()
|
/openbmc/u-boot/drivers/net/ |
H A D | rtl8169.c | 67 #define MAX_UNITS 8 macro 68 static int media[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 }; 992 option = (board_idx >= MAX_UNITS) ? 0 : media[board_idx]; in rtl_init()
|
/openbmc/linux/drivers/net/ethernet/dlink/ |
H 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()
|
H 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()
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H 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()
|
H 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()
|
/openbmc/linux/drivers/net/ethernet/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/via/ |
H A D | via-velocity.h | 29 #define MAX_UNITS 8 macro 30 #define OPTION_DEFAULT { [0 ... MAX_UNITS-1] = -1}
|
H A D | via-velocity.c | 259 static int N[MAX_UNITS] = OPTION_DEFAULT;\ 2774 if (velocity_nics >= MAX_UNITS) { in velocity_probe()
|
/openbmc/linux/drivers/net/ethernet/natsemi/ |
H 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()
|