Searched refs:mii_ctl (Results 1 – 1 of 1) sorted by relevance
502 u16 mii_ctl; in sundance_probe1() local668 mii_ctl = 0; in sundance_probe1()669 mii_ctl |= (np->speed == 100) ? BMCR_SPEED100 : 0; in sundance_probe1()670 mii_ctl |= (np->mii_if.full_duplex) ? BMCR_FULLDPLX : 0; in sundance_probe1()671 mdio_write (dev, np->phys[0], MII_BMCR, mii_ctl); in sundance_probe1()1449 u16 mii_ctl, mii_advertise, mii_lpa; in netdev_error() local1478 mii_ctl = mdio_read(dev, np->phys[0], MII_BMCR); in netdev_error()1479 speed = (mii_ctl & BMCR_SPEED100) ? 100 : 10; in netdev_error()1484 (mii_ctl & BMCR_FULLDPLX) ? in netdev_error()