diff options
author | Kory Maincent <kory.maincent@bootlin.com> | 2023-11-14 12:28:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-18 14:52:56 +0000 |
commit | 430dc3256d5790361135c69af5de1aaa07248e8a (patch) | |
tree | f4ee217e4a0313665615db5c47af7cf66a99d20a /drivers/net/macvlan.c | |
parent | 446e2305827b76e8081057ce56bbd2703b4da8a9 (diff) |
net: phy: Remove the call to phy_mii_ioctl in phy_hwstamp_get/set
__phy_hwtstamp_set function were calling the phy_mii_ioctl function
which will then use the ifreq pointer to call the hwtstamp callback.
Now that ifreq has been removed from the hwstamp callback parameters
it seems more logical to not go through the phy_mii_ioctl function and pass
directly kernel_hwtstamp_config parameter to the hwtstamp callback.
Lets do the same for __phy_hwtstamp_get function and return directly
EOPNOTSUPP as SIOCGHWTSTAMP is not supported for now for the PHYs.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions