Home | History | Annotate | Download | only in net

Lines Matching defs:phy

487 static const char * block_name[] = {"21140 non-MII", "21140 MII PHY",
488 "21142 Serial PHY", "21142 MII PHY", "21143 SYM PHY", "21143 reset method"};
902 printf("%s: MII interface PHY %d, setup/reset sequences %d/%d long, capabilities %hhX %hhX.\n",
1473 unsigned int phy, phy_idx;
1486 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(tp->phys);
1487 phy++) {
1488 int mii_status = mdio_read(nic, phy, 1);
1491 int mii_reg0 = mdio_read(nic, phy, 0);
1492 int mii_advert = mdio_read(nic, phy, 4);
1502 tp->phys[phy_idx++] = phy;
1504 tp->nic_name, phy, mii_reg0, mii_status, mii_advert);
1505 /* Fixup for DLink with miswired PHY. */
1507 printf("%s: Advertising %hX on PHY %d previously advertising %hX.\n",
1508 tp->nic_name, to_advert, phy, mii_advert);
1509 mdio_write(nic, phy, 4, to_advert);
1512 mdio_write(nic, phy, 0, mii_reg0 |
1936 printf("%s: PNIC PHY status is %hX, media %s.\n",