Lines Matching refs:MAX_UNITS
786 #define MAX_UNITS 8
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 };
1013 if (global_use_mmio < 0 && (unit >= MAX_UNITS || use_mmio[unit] < 0)) {
1017 } else if (unit < MAX_UNITS && use_mmio[unit] >= 0)
1137 else if (card_idx < MAX_UNITS) {
1242 if (card_idx < MAX_UNITS) {
1448 if (card_idx < MAX_UNITS &&
2746 (vp->card_idx >= MAX_UNITS || hw_checksums[vp->card_idx] == -1)) {