aboutsummaryrefslogtreecommitdiff
path: root/net/8021q
diff options
context:
space:
mode:
authorGravatar Kory Maincent <kory.maincent@bootlin.com> 2023-11-14 12:28:30 +0100
committerGravatar David S. Miller <davem@davemloft.net> 2023-11-18 14:52:56 +0000
commit430dc3256d5790361135c69af5de1aaa07248e8a (patch)
treef4ee217e4a0313665615db5c47af7cf66a99d20a /net/8021q
parentnet: Convert PHYs hwtstamp callback to use kernel_hwtstamp_config (diff)
downloadlinux-430dc3256d5790361135c69af5de1aaa07248e8a.tar.gz
linux-430dc3256d5790361135c69af5de1aaa07248e8a.tar.bz2
linux-430dc3256d5790361135c69af5de1aaa07248e8a.zip
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 'net/8021q')
0 files changed, 0 insertions, 0 deletions