mdio_write
mdio_write(eeprom[6] & 0x1f, 23, mdi_reg23);
mdio_write(eeprom[6] & 0x1f, 0,
static void mdio_write(struct nic *nic __unused, int phy_id, int reg_num,
mdio_write(PHY_AUTO_NEGO_REG,
mdio_write(PHY_1000_CTRL_REG, Cap1000);
mdio_write(PHY_AUTO_NEGO_REG,
mdio_write(PHY_1000_CTRL_REG, PHY_Cap_1000_Full);
mdio_write(PHY_CTRL_REG,
static void mdio_write(struct nic *nic, int phy_id, unsigned int location,
mdio_write(nic, sdc->phys[0], MII_BMCR, mii_ctl);
mdio_write(nic, phy, 4, to_advert);
mdio_write(nic, phy, 0, mii_reg0 |
mdio_write(nic, tp->phys[phy_num], 4, tp->mii_advertise);
static void mdio_write(struct nic *nic, int phy_id, int location, int value);
static void mdio_write(int base_address, int phy_id, int location, int value);
return cphy->mdio_write(cphy->adapter, cphy->addr, mmd, reg, val);
return mdio_write(cphy, 0, reg, val);
phy->mdio_write = mdio_ops->write;
int (*mdio_write)(adapter_t *adapter, int phy_addr, int mmd_addr,
(void) mdio_write(cphy, 0x3, 0x8300, val | 1);
(void) mdio_write(cphy, 0x3, 0x8304, 0xdddd);
(void) mdio_write(cphy, 0x1, 0x7, led);
(void) mdio_write(cphy, 0x1, 0x7, led);
(void) mdio_write(cphy, 0x1, 0x9002, 0x1);
(void) mdio_write(cphy, 0x1, 0x9002, 0x0);
cphy->mdio_write = mdio_ops->write;