]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/phy.h
net: preserve ifreq parameter when calling generic phy_mii_ioctl().
[net-next-2.6.git] / include / linux / phy.h
index 987e111f7b112ec1c72ab86243819666614c0676..d63736a84002e3c1a1945e616158cf734fe2b510 100644 (file)
@@ -498,7 +498,7 @@ void phy_stop_machine(struct phy_device *phydev);
 int phy_ethtool_sset(struct phy_device *phydev, struct ethtool_cmd *cmd);
 int phy_ethtool_gset(struct phy_device *phydev, struct ethtool_cmd *cmd);
 int phy_mii_ioctl(struct phy_device *phydev,
-               struct mii_ioctl_data *mii_data, int cmd);
+               struct ifreq *ifr, int cmd);
 int phy_start_interrupts(struct phy_device *phydev);
 void phy_print_status(struct phy_device *phydev);
 struct phy_device* phy_device_create(struct mii_bus *bus, int addr, int phy_id);