Searched refs:mii_ctl (Results 1 – 1 of 1) sorted by relevance
475 u16 mii_ctl; in sundance_probe1() local644 mii_ctl = 0; in sundance_probe1()645 mii_ctl |= (np->speed == 100) ? BMCR_SPEED100 : 0; in sundance_probe1()646 mii_ctl |= (np->mii_if.full_duplex) ? BMCR_FULLDPLX : 0; in sundance_probe1()647 mdio_write (dev, np->phys[0], MII_BMCR, mii_ctl); in sundance_probe1()1416 u16 mii_ctl, mii_advertise, mii_lpa; in netdev_error() local1445 mii_ctl = mdio_read(dev, np->phys[0], MII_BMCR); in netdev_error()1446 speed = (mii_ctl & BMCR_SPEED100) ? 100 : 10; in netdev_error()1451 (mii_ctl & BMCR_FULLDPLX) ? in netdev_error()