Lines Matching refs:lan_type
166 short lan_type; /* 10Mb/s, 100Mb/s or -1 (error) */
741 lp->lan_type = hp100_sense_lan(dev);
771 if (lp->lan_type != HP100_LAN_ERR)
773 switch (lp->lan_type) {
891 if ((lp->lan_type == HP100_LAN_100) || (lp->lan_type == HP100_LAN_ERR))
1104 lp->lan_type = hp100_sense_lan(dev);
1134 if (lp->lan_type == HP100_LAN_100)
1464 if (lp->lan_type < 0) { /* no LAN type detected yet? */
1466 if ((lp->lan_type = hp100_sense_lan(dev)) < 0) {
1471 if (lp->lan_type == HP100_LAN_100)
1515 if (lp->lan_type == HP100_LAN_100 && lp->hub_status < 0) {
1529 else if (lp->lan_type != i) { /* cable change! */
1532 lp->lan_type = i;
1534 if (lp->lan_type == HP100_LAN_100)
1540 if (lp->lan_type == HP100_LAN_100)
1667 if (lp->lan_type == HP100_LAN_100 && lp->hub_status < 0) {
1681 else if (lp->lan_type != i) { /* cable change! */
1684 lp->lan_type = i;
1686 if (lp->lan_type == HP100_LAN_100)
1692 if (lp->lan_type == HP100_LAN_100)
2146 if (lp->lan_type == HP100_LAN_100) {
2171 if (lp->lan_type == HP100_LAN_100) {