Lines Matching refs:lan_type
166 short lan_type; /* 10Mb/s, 100Mb/s or -1 (error) */
726 lp->lan_type = hp100_sense_lan(dev);
756 if (lp->lan_type != HP100_LAN_ERR)
758 switch (lp->lan_type) {
875 if ((lp->lan_type == HP100_LAN_100) || (lp->lan_type == HP100_LAN_ERR))
1088 lp->lan_type = hp100_sense_lan(dev);
1118 if (lp->lan_type == HP100_LAN_100)
1448 if (lp->lan_type < 0) { /* no LAN type detected yet? */
1450 if ((lp->lan_type = hp100_sense_lan(dev)) < 0) {
1455 if (lp->lan_type == HP100_LAN_100)
1503 if (lp->lan_type == HP100_LAN_100 && lp->hub_status < 0) {
1517 else if (lp->lan_type != i) { /* cable change! */
1520 lp->lan_type = i;
1522 if (lp->lan_type == HP100_LAN_100)
1528 if (lp->lan_type == HP100_LAN_100)
1657 if (lp->lan_type == HP100_LAN_100 && lp->hub_status < 0) {
1671 else if (lp->lan_type != i) { /* cable change! */
1674 lp->lan_type = i;
1676 if (lp->lan_type == HP100_LAN_100)
1682 if (lp->lan_type == HP100_LAN_100)
2137 if (lp->lan_type == HP100_LAN_100) {
2162 if (lp->lan_type == HP100_LAN_100) {