Home
last modified time | relevance | path

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

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dsundance.c589 u16 mii_ctl; in sundance_probe() local
695 mii_ctl = 0; in sundance_probe()
696 mii_ctl |= (sdc->speed == 100) ? BMCR_SPEED100 : 0; in sundance_probe()
697 mii_ctl |= (sdc->mii_if.full_duplex) ? BMCR_FULLDPLX : 0; in sundance_probe()
698 mdio_write(nic, sdc->phys[0], MII_BMCR, mii_ctl); in sundance_probe()
725 mii_ctl = mdio_read(nic, sdc->phys[0], MII_BMCR); in sundance_probe()
726 speed = (mii_ctl & BMCR_SPEED100) ? 100 : 10; in sundance_probe()
729 printf("%s duplex.\n", (mii_ctl & BMCR_FULLDPLX) ? in sundance_probe()