Lines Matching defs:autosense
207 autosense to set the media/speed; with the following
214 insmod de4x5 args='eth1:fdx autosense=BNC eth0:autosense=100Mb'.
217 #define DE4X5_PARM "eth0:fdx autosense=AUI eth2:autosense=TP"
221 autosense setting. In reality, I expect only the full duplex option to
266 Add DE500 semi automatic autosense.
281 Add MII based PHY autosense.
283 Add new autosense algorithms for media/mode
299 Fix bug in dc21040 and dc21041 autosense code.
365 Completed DC2114[23] autosense functions.
587 ** insmod de4x5 args='eth1:fdx autosense=BNC eth0:autosense=100Mb'.
590 ** #define DE4X5_PARM "eth0:fdx autosense=AUI eth2:autosense=TP"
601 int autosense;
604 #define DE4X5_AUTOSENSE_MS 250 /* msec autosense tick (DE500) */
814 int autosense; /* Allow/disallow autosensing */
1160 lp->autosense = lp->params.autosense;
1162 if ((lp->chipset==DC21040) && (lp->params.autosense&TP_NW)) {
1163 lp->params.autosense = TP;
1165 if ((lp->chipset==DC21041) && (lp->params.autosense&BNC_AUI)) {
1166 lp->params.autosense = BNC;
2414 if ((lp->autosense == AUTO) || (lp->autosense == TP)) {
2416 } else if ((lp->autosense == BNC) || (lp->autosense == AUI) || (lp->autosense == BNC_AUI)) {
2418 } else if (lp->autosense == EXT_SIA) {
2493 if (linkBad && (lp->autosense == AUTO)) {
2500 } else if (!lp->linkOK && (lp->autosense == AUTO)) {
2568 if ((lp->autosense == AUTO) || (lp->autosense == TP_NW)) {
2570 } else if (lp->autosense == TP) {
2572 } else if (lp->autosense == BNC) {
2574 } else if (lp->autosense == AUI) {
2611 if (!(sts & STS_LNP) && (lp->autosense == AUTO)) {
2619 } else if (!lp->linkOK && (lp->autosense == AUTO)) {
2641 if (!(sts & STS_LNP) && (lp->autosense == AUTO)) {
2653 } else if (!lp->linkOK && (lp->autosense == AUTO)) {
2675 if (!(inl(DE4X5_SISR) & SISR_SRA) && (lp->autosense == AUTO)) {
2683 } else if (!lp->linkOK && (lp->autosense == AUTO)) {
2723 } else if (!lp->linkOK && (lp->autosense == AUTO)) {
2788 if (lp->autosense == _100Mb) {
2790 } else if (lp->autosense == _10Mb) {
2792 } else if ((lp->autosense == AUTO) &&
2798 } else if (lp->autosense == AUTO) {
2885 if (!lp->linkOK && (lp->autosense == AUTO)) {
2903 if (!lp->linkOK && (lp->autosense == AUTO)) {
2956 if (lp->params.autosense & ~AUTO) {
2958 if (lp->media != lp->params.autosense) {
2969 if (lp->autosense == _100Mb) {
2971 } else if (lp->autosense == _10Mb) {
2973 } else if (lp->autosense == TP) {
2975 } else if (lp->autosense == BNC) {
2977 } else if (lp->autosense == AUI) {
3054 if (!(inl(DE4X5_SISR) & SISR_SRA) && (lp->autosense == AUTO)) {
3062 } else if (!lp->linkOK && (lp->autosense == AUTO)) {
3103 } else if (!lp->linkOK && (lp->autosense == AUTO)) {
3156 if (!lp->linkOK && (lp->autosense == AUTO)) {
3172 if (!lp->linkOK && (lp->autosense == AUTO)) {
5207 lp->params.autosense = AUTO;
5218 if (strstr(p, "autosense") || strstr(p, "AUTOSENSE")) {
5220 lp->params.autosense = TP;
5222 lp->params.autosense = TP_NW;
5224 lp->params.autosense = BNC;
5226 lp->params.autosense = AUI;
5228 lp->params.autosense = BNC;
5230 lp->params.autosense = _10Mb;
5232 lp->params.autosense = _100Mb;
5234 lp->params.autosense = AUTO;