Lines Matching refs:SK_MAX_CARD_PARAM
149 #define SK_MAX_CARD_PARAM 16 macro
647 MODULE_PARM(Speed_A, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
648 MODULE_PARM(Speed_B, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
649 MODULE_PARM(AutoNeg_A, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
650 MODULE_PARM(AutoNeg_B, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
651 MODULE_PARM(DupCap_A, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
652 MODULE_PARM(DupCap_B, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
653 MODULE_PARM(FlowCtrl_A, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
654 MODULE_PARM(FlowCtrl_B, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
655 MODULE_PARM(Role_A, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
656 MODULE_PARM(Role_B, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
657 MODULE_PARM(ConType, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
658 MODULE_PARM(PrefPort, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
659 MODULE_PARM(RlmtMode, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
661 MODULE_PARM(options, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "i");
664 MODULE_PARM(IntsPerSec, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "i");
665 MODULE_PARM(Moderation, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
666 MODULE_PARM(Stats, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
667 MODULE_PARM(ModerationMask, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
668 MODULE_PARM(AutoSizing, "1-" __MODULE_STRING(SK_MAX_CARD_PARAM) "s");
672 static char *Speed_A[SK_MAX_CARD_PARAM] = LINK_SPEED;
674 static char *Speed_A[SK_MAX_CARD_PARAM] = {"", };
678 static char *Speed_B[SK_MAX_CARD_PARAM] = LINK_SPEED;
680 static char *Speed_B[SK_MAX_CARD_PARAM] = {"", };
684 static char *AutoNeg_A[SK_MAX_CARD_PARAM] = AUTO_NEG_A;
686 static char *AutoNeg_A[SK_MAX_CARD_PARAM] = {"", };
690 static char *DupCap_A[SK_MAX_CARD_PARAM] = DUP_CAP_A;
692 static char *DupCap_A[SK_MAX_CARD_PARAM] = {"", };
696 static char *FlowCtrl_A[SK_MAX_CARD_PARAM] = FLOW_CTRL_A;
698 static char *FlowCtrl_A[SK_MAX_CARD_PARAM] = {"", };
702 static char *Role_A[SK_MAX_CARD_PARAM] = ROLE_A;
704 static char *Role_A[SK_MAX_CARD_PARAM] = {"", };
708 static char *AutoNeg_B[SK_MAX_CARD_PARAM] = AUTO_NEG_B;
710 static char *AutoNeg_B[SK_MAX_CARD_PARAM] = {"", };
714 static char *DupCap_B[SK_MAX_CARD_PARAM] = DUP_CAP_B;
716 static char *DupCap_B[SK_MAX_CARD_PARAM] = {"", };
720 static char *FlowCtrl_B[SK_MAX_CARD_PARAM] = FLOW_CTRL_B;
722 static char *FlowCtrl_B[SK_MAX_CARD_PARAM] = {"", };
726 static char *Role_B[SK_MAX_CARD_PARAM] = ROLE_B;
728 static char *Role_B[SK_MAX_CARD_PARAM] = {"", };
732 static char *ConType[SK_MAX_CARD_PARAM] = CON_TYPE;
734 static char *ConType[SK_MAX_CARD_PARAM] = {"", };
738 static char *PrefPort[SK_MAX_CARD_PARAM] = PREF_PORT;
740 static char *PrefPort[SK_MAX_CARD_PARAM] = {"", };
744 static char *RlmtMode[SK_MAX_CARD_PARAM] = RLMT_MODE;
746 static char *RlmtMode[SK_MAX_CARD_PARAM] = {"", };
750 static int options[SK_MAX_CARD_PARAM] = {0, }; /* not used */
752 static int IntsPerSec[SK_MAX_CARD_PARAM];
753 static char *Moderation[SK_MAX_CARD_PARAM];
754 static char *ModerationMask[SK_MAX_CARD_PARAM];
755 static char *AutoSizing[SK_MAX_CARD_PARAM];
756 static char *Stats[SK_MAX_CARD_PARAM];
3594 (pAC->Index < SK_MAX_CARD_PARAM) &&
3660 if (Speed_A != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
3708 if (AutoNeg_A != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
3727 if (DupCap_A != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
3789 if (FlowCtrl_A != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
3823 if (Role_A != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
3857 if (Speed_B != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
3905 if (AutoNeg_B != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
3924 if (DupCap_B != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
3987 if (FlowCtrl_B != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
4021 if (Role_B != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
4048 if (PrefPort != NULL && pAC->Index<SK_MAX_CARD_PARAM &&
4087 if (RlmtMode != NULL && pAC->Index<SK_MAX_CARD_PARAM &&