Searched refs:mii_ctl (Results 1 – 1 of 1) sorted by relevance
536 u16 mii_ctl; in sundance_probe1() local702 mii_ctl = 0; in sundance_probe1()703 mii_ctl |= (np->speed == 100) ? BMCR_SPEED100 : 0; in sundance_probe1()704 mii_ctl |= (np->mii_if.full_duplex) ? BMCR_FULLDPLX : 0; in sundance_probe1()705 mdio_write (dev, np->phys[0], MII_BMCR, mii_ctl); in sundance_probe1()1432 u16 mii_ctl, mii_advertise, mii_lpa; in netdev_error() local1457 mii_ctl = mdio_read (dev, np->phys[0], MII_BMCR); in netdev_error()1458 speed = (mii_ctl & BMCR_SPEED100) ? 100 : 10; in netdev_error()1462 printk ("%s duplex.\n", (mii_ctl & BMCR_FULLDPLX) ? in netdev_error()