Lines Matching refs:mii_if
295 struct mii_if_info mii_if;
318 int negotiated = mii_lpa & sdc->mii_if.advertising;
323 if (sdc->mii_if.full_duplex)
331 if (sdc->mii_if.full_duplex != duplex) {
332 sdc->mii_if.full_duplex = duplex;
614 // sdc->mii_if.dev = pci;
615 // sdc->mii_if.phy_id_mask = 0x1f;
616 // sdc->mii_if.reg_num_mask = 0x1f;
637 sdc->mii_if.advertising =
642 (("%s: MII PHY found at address %d, status " "%hX advertising %hX\n", sdc->nic_name, phy, mii_status, sdc->mii_if.advertising));
649 sdc->mii_if.phy_id = sdc->phys[0];
659 sdc->mii_if.full_duplex = 1;
663 sdc->mii_if.full_duplex = 0;
667 sdc->mii_if.full_duplex = 1;
671 sdc->mii_if.full_duplex = 0;
684 sdc->mii_if.full_duplex = 1;
697 mii_ctl |= (sdc->mii_if.full_duplex) ? BMCR_FULLDPLX : 0;
701 sdc->mii_if.full_duplex ? "Full" : "Half");
733 if (sdc->flowctrl && sdc->mii_if.full_duplex) {
739 sdc->mii_if.full_duplex ? "Full" : "Half");
876 if (sdc->mii_if.full_duplex && sdc->flowctrl)