Home | History | Annotate | Download | only in netboot

Lines Matching defs:phy

472 static const char * block_name[] = {"21140 non-MII", "21140 MII PHY",
473 "21142 Serial PHY", "21142 MII PHY", "21143 SYM PHY", "21143 reset method"};
888 printf("%s: MII interface PHY %d, setup/reset sequences %d/%d long, capabilities %hhX %hhX.\n",
1415 unsigned int phy, phy_idx;
1428 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(tp->phys);
1429 phy++) {
1430 int mii_status = mdio_read(nic, phy, 1);
1433 int mii_reg0 = mdio_read(nic, phy, 0);
1434 int mii_advert = mdio_read(nic, phy, 4);
1444 tp->phys[phy_idx++] = phy;
1446 tp->nic_name, phy, mii_reg0, mii_status, mii_advert);
1447 /* Fixup for DLink with miswired PHY. */
1449 printf("%s: Advertising %hX on PHY %d previously advertising %hX.\n",
1450 tp->nic_name, to_advert, phy, mii_advert);
1451 mdio_write(nic, phy, 4, to_advert);
1454 mdio_write(nic, phy, 0, mii_reg0 |
1876 printf("%s: PNIC PHY status is %hX, media %s.\n",