Lines Matching refs:if_port
195 dev->if_port = p[0]; in tulip_select_media()
207 dev->if_port = p[0] & MEDIA_MASK; in tulip_select_media()
208 if (tulip_media_cap[dev->if_port] & MediaAlwaysFD) in tulip_select_media()
223 dev->name, medianame[dev->if_port], setup[0], setup[1]); in tulip_select_media()
239 if (dev->if_port <= 4) in tulip_select_media()
240 csr14val = t21142_csr14[dev->if_port]; in tulip_select_media()
263 dev->if_port = 11; in tulip_select_media()
328 dev->name, medianame[dev->if_port], in tulip_select_media()
331 int port = dev->if_port <= 4 ? dev->if_port : 0; in tulip_select_media()
343 dev->if_port = tp->mii_cnt ? 11 : 0; in tulip_select_media()
346 dev->name, inl(ioaddr + 0xB8), medianame[dev->if_port]); in tulip_select_media()
357 } else if (dev->if_port == 3 || dev->if_port == 5) { in tulip_select_media()
372 dev->name, medianame[dev->if_port], csr12); in tulip_select_media()
373 if (tulip_media_cap[dev->if_port] & MediaAlwaysFD) in tulip_select_media()
379 if (t21040_csr13[dev->if_port] & 8) { in tulip_select_media()
386 outl(0x8f01 | t21040_csr13[dev->if_port], ioaddr + CSR13); in tulip_select_media()
389 dev->if_port = tp->mii_cnt ? 11 : 3; in tulip_select_media()
390 if (tulip_media_cap[dev->if_port] & MediaIsMII) { in tulip_select_media()
392 } else if (tulip_media_cap[dev->if_port] & MediaIsFx) { in tulip_select_media()
399 dev->name, medianame[dev->if_port], in tulip_select_media()