diff options
Diffstat (limited to 'include/linux/phy.h')
| -rw-r--r-- | include/linux/phy.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 6fe0a37d4abf..c291cae8ce32 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h | |||
| @@ -412,6 +412,9 @@ struct phy_driver { | |||
| 412 | /* Clears up any memory if needed */ | 412 | /* Clears up any memory if needed */ |
| 413 | void (*remove)(struct phy_device *phydev); | 413 | void (*remove)(struct phy_device *phydev); |
| 414 | 414 | ||
| 415 | /* Handles ethtool queries for hardware time stamping. */ | ||
| 416 | int (*ts_info)(struct phy_device *phydev, struct ethtool_ts_info *ti); | ||
| 417 | |||
| 415 | /* Handles SIOCSHWTSTAMP ioctl for hardware time stamping. */ | 418 | /* Handles SIOCSHWTSTAMP ioctl for hardware time stamping. */ |
| 416 | int (*hwtstamp)(struct phy_device *phydev, struct ifreq *ifr); | 419 | int (*hwtstamp)(struct phy_device *phydev, struct ifreq *ifr); |
| 417 | 420 | ||
| @@ -477,7 +480,6 @@ static inline int phy_write(struct phy_device *phydev, u32 regnum, u16 val) | |||
| 477 | return mdiobus_write(phydev->bus, phydev->addr, regnum, val); | 480 | return mdiobus_write(phydev->bus, phydev->addr, regnum, val); |
| 478 | } | 481 | } |
| 479 | 482 | ||
| 480 | int get_phy_id(struct mii_bus *bus, int addr, u32 *phy_id); | ||
| 481 | struct phy_device* get_phy_device(struct mii_bus *bus, int addr); | 483 | struct phy_device* get_phy_device(struct mii_bus *bus, int addr); |
| 482 | int phy_device_register(struct phy_device *phy); | 484 | int phy_device_register(struct phy_device *phy); |
| 483 | int phy_init_hw(struct phy_device *phydev); | 485 | int phy_init_hw(struct phy_device *phydev); |
