diff options
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index bd88d818f08..5130db8f5c4 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c | |||
@@ -361,6 +361,11 @@ int phy_mii_ioctl(struct phy_device *phydev, | |||
361 | } | 361 | } |
362 | break; | 362 | break; |
363 | 363 | ||
364 | case SIOCSHWTSTAMP: | ||
365 | if (phydev->drv->hwtstamp) | ||
366 | return phydev->drv->hwtstamp(phydev, ifr); | ||
367 | /* fall through */ | ||
368 | |||
364 | default: | 369 | default: |
365 | return -EOPNOTSUPP; | 370 | return -EOPNOTSUPP; |
366 | } | 371 | } |