Lines Matching refs:eth_phy
208 u_char eth_phy, pna_phy; member
864 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 4, 0x01e1); in set_misc_reg()
866 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x0000); in set_misc_reg()
867 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x1200); in set_misc_reg()
874 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 4, 0x01e1); in set_misc_reg()
876 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x0000); in set_misc_reg()
877 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x1200); in set_misc_reg()
902 info->eth_phy = i; in mii_phy_probe()
928 info->phy_id = info->eth_phy; in pcnet_open()
1050 if (info->eth_phy) { in ei_watchdog()
1051 info->phy_id = info->eth_phy = 0; in ei_watchdog()
1071 if (info->phy_id == info->eth_phy) { in ei_watchdog()
1085 link = mdio_read(mii_addr, info->eth_phy, 1) & 0x0004; in ei_watchdog()
1090 info->phy_id ^= info->pna_phy ^ info->eth_phy; in ei_watchdog()
1092 (info->phy_id == info->eth_phy) ? "ethernet" : "PNA"); in ei_watchdog()
1094 (info->phy_id == info->eth_phy) ? 0x1000 : 0); in ei_watchdog()