Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/drivers/net/
Dsundance.c568 u16 mii_ctl; in sundance_probe() local
677 mii_ctl = 0; in sundance_probe()
678 mii_ctl |= (sdc->speed == 100) ? BMCR_SPEED100 : 0; in sundance_probe()
679 mii_ctl |= (sdc->mii_if.full_duplex) ? BMCR_FULLDPLX : 0; in sundance_probe()
680 mdio_write(nic, sdc->phys[0], MII_BMCR, mii_ctl); in sundance_probe()
723 mii_ctl = mdio_read(nic, sdc->phys[0], MII_BMCR); in sundance_probe()
724 speed = (mii_ctl & BMCR_SPEED100) ? 100 : 10; in sundance_probe()
727 printf("%s duplex.\n", (mii_ctl & BMCR_FULLDPLX) ? in sundance_probe()