Home
last modified time | relevance | path

Searched refs:mii_cnt (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/dec/tulip/
Dmedia.c346 dev->if_port = tp->mii_cnt ? 11 : 0; in tulip_select_media()
351 if (tp->mii_cnt) { in tulip_select_media()
373 dev->if_port = tp->mii_cnt ? 11 : 3; in tulip_select_media()
541 tp->mii_cnt = phy_idx; in tulip_find_mii()
Dtulip_core.c303 if (tp->mii_cnt || (tp->mtable && tp->mtable->has_mii)) in tulip_up()
416 if (tp->mii_cnt) { in tulip_up()
438 if (tp->mii_cnt) { in tulip_up()
466 dev->if_port = tp->mii_cnt ? 11 : 0; in tulip_up()
469 tp->csr6 = tp->mii_cnt ? 0x00040100 : 0x00000100; in tulip_up()
908 if (tp->mii_cnt) in private_ioctl()
1719 if (tp->mii_cnt || tulip_media_cap[dev->if_port] & MediaIsMII) { in tulip_init_one()
1733 if ( ! tp->mii_cnt) { in tulip_init_one()
Dtulip.h445 signed char phys[4], mii_cnt; /* MII device addresses. */ member
Dde4x5.c821 int mii_cnt; /* Number of attached PHY's */ member
4982 for (n=0, lp->mii_cnt=0, i=1; !((i==1) && (n==1)); i=(i+1)%DE4X5_MAX_MII) { in mii_get_phy()
4995 lp->mii_cnt++; in mii_get_phy()
5010 lp->mii_cnt++; in mii_get_phy()
5033 if (!lp->mii_cnt) lp->useMII = false; in mii_get_phy()
5035 return lp->mii_cnt; in mii_get_phy()
Dwinbond-840.c308 int mii_cnt; /* MII device addresses. */ member
448 np->mii_cnt = phy_idx; in w840_probe1()
/drivers/net/ethernet/packetengines/
Dyellowfin.c334 int mii_cnt; /* MII device addresses. */ member
503 np->mii_cnt = phy_idx; in yellowfin_init_one()
663 if (yp->mii_cnt) { in yellowfin_timer()
Dhamachi.c501 int mii_cnt; /* MII device addresses. */ member
763 hmp->mii_cnt = phy_idx; in hamachi_init_one()
764 if (hmp->mii_cnt > 0) in hamachi_init_one()
/drivers/net/ethernet/freescale/
Dfec_main.c280 static int mii_cnt; variable
2086 if (mii_cnt && fec0_mii_bus) { in fec_enet_mii_init()
2088 mii_cnt++; in fec_enet_mii_init()
2176 mii_cnt++; in fec_enet_mii_init()
2193 if (--mii_cnt == 0) { in fec_enet_mii_remove()
/drivers/net/ethernet/
Dfealnx.c410 int mii_cnt; /* MII device addresses. */ member
598 np->mii_cnt = phy_idx; in fealnx_init_one()