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

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Dsundance.c577 u16 mii_ctl; local
687 mii_ctl = 0;
688 mii_ctl |= (sdc->speed == 100) ? BMCR_SPEED100 : 0;
689 mii_ctl |= (sdc->mii_if.full_duplex) ? BMCR_FULLDPLX : 0;
690 mdio_write(nic, sdc->phys[0], MII_BMCR, mii_ctl);
733 mii_ctl = mdio_read(nic, sdc->phys[0], MII_BMCR);
734 speed = (mii_ctl & BMCR_SPEED100) ? 100 : 10;
737 printf("%s duplex.\n", (mii_ctl & BMCR_FULLDPLX) ?

Completed in 43 milliseconds