Lines Matching refs:if_port
237 INT_MODULE_PARM(if_port, 0);
889 if (!if_port) { in xirc2ps_config()
890 local->probe_port = dev->if_port = 1; in xirc2ps_config()
891 } else if ((if_port >= 1 && if_port <= 2) || in xirc2ps_config()
892 (local->mohawk && if_port==4)) in xirc2ps_config()
893 dev->if_port = if_port; in xirc2ps_config()
1367 if (map->port != 255 && map->port != dev->if_port) { in do_config()
1372 dev->if_port = 1; in do_config()
1375 dev->if_port = map->port; in do_config()
1377 netdev_info(dev, "switching to %s port\n", if_names[dev->if_port]); in do_config()
1505 } else if (dev->if_port == 2) { /* enable 10Base2 */ in do_reset()
1567 if (dev->if_port == 4 || local->dingo || local->new_mii) { in do_reset()
1575 if (dev->if_port == 2) /* enable 10Base2 */ in do_reset()
1586 dev->if_port = (value & MediaSelect) ? 1 : 2; in do_reset()
1591 if (dev->if_port == 1 || dev->if_port == 4) /* TP: Link and Activity */ in do_reset()
1619 if_names[dev->if_port], local->silicon); in do_reset()
1638 if (if_port == 4 || if_port == 1) { /* force 100BaseT or 10BaseT */ in init_mii()
1639 dev->if_port = if_port; in init_mii()
1652 else if (dev->if_port == 4) in init_mii()
1685 dev->if_port = (GetByte(XIRCREG_ESR) & MediaSelect) ? 1 : 2; in init_mii()
1691 dev->if_port = 4; in init_mii()
1693 dev->if_port = 1; in init_mii()
1787 MAYBE_SET(if_port, 3); in setup_xirc2ps_cs()