Lines Matching refs:MAX_UNITS
778 #define MAX_UNITS 8
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] = {[0 ... MAX_UNITS-1] = -1 };
784 static int use_mmio[MAX_UNITS] = {[0 ... MAX_UNITS-1] = -1 };
1005 if (global_use_mmio < 0 && (unit >= MAX_UNITS || use_mmio[unit] < 0)) {
1009 } else if (unit < MAX_UNITS && use_mmio[unit] >= 0)
1129 else if (card_idx < MAX_UNITS) {
1239 if (card_idx < MAX_UNITS) {
1445 if (card_idx < MAX_UNITS &&
2697 (vp->card_idx >= MAX_UNITS || hw_checksums[vp->card_idx] == -1)) {