Lines Matching refs:eth_phy
213 u_char eth_phy, pna_phy;
924 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 4, 0x01e1);
926 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x0000);
927 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x1200);
934 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 4, 0x01e1);
936 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x0000);
937 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x1200);
962 info->eth_phy = i;
988 info->phy_id = info->eth_phy;
1114 if (info->eth_phy) {
1115 info->phy_id = info->eth_phy = 0;
1136 if (info->phy_id == info->eth_phy) {
1151 link = mdio_read(mii_addr, info->eth_phy, 1) & 0x0004;
1156 info->phy_id ^= info->pna_phy ^ info->eth_phy;
1158 (info->phy_id == info->eth_phy) ? "ethernet" : "PNA");
1160 (info->phy_id == info->eth_phy) ? 0x1000 : 0);