Lines Matching refs:if_port
266 INT_MODULE_PARM(if_port, 0);
1154 if (!if_port) { in xirc2ps_config()
1155 local->probe_port = dev->if_port = 1; in xirc2ps_config()
1156 } else if ((if_port >= 1 && if_port <= 2) || in xirc2ps_config()
1157 (local->mohawk && if_port==4)) in xirc2ps_config()
1158 dev->if_port = if_port; in xirc2ps_config()
1684 if (map->port != 255 && map->port != dev->if_port) { in do_config()
1689 dev->if_port = 1; in do_config()
1692 dev->if_port = map->port; in do_config()
1695 dev->name, if_names[dev->if_port]); in do_config()
1825 } else if (dev->if_port == 2) { /* enable 10Base2 */ in do_reset()
1887 if (dev->if_port == 4 || local->dingo || local->new_mii) { in do_reset()
1896 if (dev->if_port == 2) /* enable 10Base2 */ in do_reset()
1907 dev->if_port = (value & MediaSelect) ? 1 : 2; in do_reset()
1912 if (dev->if_port == 1 || dev->if_port == 4) /* TP: Link and Activity */ in do_reset()
1939 dev->name, if_names[dev->if_port], local->silicon); in do_reset()
1958 if (if_port == 4 || if_port == 1) { /* force 100BaseT or 10BaseT */ in init_mii()
1959 dev->if_port = if_port; in init_mii()
1972 else if (dev->if_port == 4) in init_mii()
2007 dev->if_port = (GetByte(XIRCREG_ESR) & MediaSelect) ? 1 : 2; in init_mii()
2014 dev->if_port = 4; in init_mii()
2016 dev->if_port = 1; in init_mii()
2114 MAYBE_SET(if_port, 3); in setup_xirc2ps_cs()