Home
last modified time | relevance | path

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

/drivers/net/ethernet/dec/tulip/
Dmedia.c351 dev->if_port = tp->mii_cnt ? 11 : 0; in tulip_select_media()
356 if (tp->mii_cnt) { in tulip_select_media()
378 dev->if_port = tp->mii_cnt ? 11 : 3; in tulip_select_media()
546 tp->mii_cnt = phy_idx; in tulip_find_mii()
Dtulip_core.c314 if (tp->mii_cnt || (tp->mtable && tp->mtable->has_mii)) in tulip_up()
427 if (tp->mii_cnt) { in tulip_up()
449 if (tp->mii_cnt) { in tulip_up()
477 dev->if_port = tp->mii_cnt ? 11 : 0; in tulip_up()
480 tp->csr6 = tp->mii_cnt ? 0x00040100 : 0x00000100; in tulip_up()
918 if (tp->mii_cnt) in private_ioctl()
1731 if (tp->mii_cnt || tulip_media_cap[dev->if_port] & MediaIsMII) { in tulip_init_one()
1745 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
4980 for (n=0, lp->mii_cnt=0, i=1; !((i==1) && (n==1)); i=(i+1)%DE4X5_MAX_MII) { in mii_get_phy()
4993 lp->mii_cnt++; in mii_get_phy()
5007 lp->mii_cnt++; in mii_get_phy()
5027 if (!lp->mii_cnt) lp->useMII = false; in mii_get_phy()
5029 return lp->mii_cnt; in mii_get_phy()
Dwinbond-840.c318 int mii_cnt; /* MII device addresses. */ member
458 np->mii_cnt = phy_idx; in w840_probe1()
/drivers/net/ethernet/packetengines/
Dyellowfin.c334 int mii_cnt; /* MII device addresses. */ member
500 np->mii_cnt = phy_idx; in yellowfin_init_one()
658 if (yp->mii_cnt) { in yellowfin_timer()
Dhamachi.c501 int mii_cnt; /* MII device addresses. */ member
761 hmp->mii_cnt = phy_idx; in hamachi_init_one()
762 if (hmp->mii_cnt > 0) in hamachi_init_one()
/drivers/net/ethernet/freescale/
Dfec_main.c245 static int mii_cnt; variable
2037 if (mii_cnt && fec0_mii_bus) { in fec_enet_mii_init()
2039 mii_cnt++; in fec_enet_mii_init()
2102 mii_cnt++; in fec_enet_mii_init()
2118 if (--mii_cnt == 0) { in fec_enet_mii_remove()
/drivers/net/ethernet/
Dfealnx.c417 int mii_cnt; /* MII device addresses. */ member
610 np->mii_cnt = phy_idx; in fealnx_init_one()