Lines Matching refs:if_port
237 INT_MODULE_PARM(if_port, 0);
890 if (!if_port) { in xirc2ps_config()
891 local->probe_port = dev->if_port = 1; in xirc2ps_config()
892 } else if ((if_port >= 1 && if_port <= 2) || in xirc2ps_config()
893 (local->mohawk && if_port==4)) in xirc2ps_config()
894 dev->if_port = if_port; in xirc2ps_config()
1368 if (map->port != 255 && map->port != dev->if_port) { in do_config()
1373 dev->if_port = 1; in do_config()
1376 dev->if_port = map->port; in do_config()
1378 netdev_info(dev, "switching to %s port\n", if_names[dev->if_port]); in do_config()
1506 } else if (dev->if_port == 2) { /* enable 10Base2 */ in do_reset()
1568 if (dev->if_port == 4 || local->dingo || local->new_mii) { in do_reset()
1576 if (dev->if_port == 2) /* enable 10Base2 */ in do_reset()
1587 dev->if_port = (value & MediaSelect) ? 1 : 2; in do_reset()
1592 if (dev->if_port == 1 || dev->if_port == 4) /* TP: Link and Activity */ in do_reset()
1620 if_names[dev->if_port], local->silicon); in do_reset()
1639 if (if_port == 4 || if_port == 1) { /* force 100BaseT or 10BaseT */ in init_mii()
1640 dev->if_port = if_port; in init_mii()
1653 else if (dev->if_port == 4) in init_mii()
1686 dev->if_port = (GetByte(XIRCREG_ESR) & MediaSelect) ? 1 : 2; in init_mii()
1692 dev->if_port = 4; in init_mii()
1694 dev->if_port = 1; in init_mii()
1788 MAYBE_SET(if_port, 3); in setup_xirc2ps_cs()