Skip to content
Snippets Groups Projects
Commit 28b04113 authored by Richard Cochran's avatar Richard Cochran Committed by David S. Miller
Browse files

net: preserve ifreq parameter when calling generic phy_mii_ioctl().


The phy_mii_ioctl() function unnecessarily throws away the original ifreq.
We need access to the ifreq in order to support PHYs that can perform
hardware time stamping.

Two maverick drivers filter the ioctl commands passed to phy_mii_ioctl().
This is unnecessary since phylib will check the command in any case.

Signed-off-by: default avatarRichard Cochran <richard.cochran@omicron.at>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4507a715
No related branches found
No related tags found
Loading
Showing
with 29 additions and 37 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment