summaryrefslogtreecommitdiff
path: root/include/xen/interface/io/netif.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2017-02-01 03:40:05 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-02 21:50:51 -0500
commitda9f33018e2c0b2f341cb574e3c08363e3b0dd28 (patch)
tree0439e7832b8562a4c9e4ec3ff1ea842e49205304 /include/xen/interface/io/netif.h
parent1f3d62090d3ba4d0c14e5271be87812fc577b197 (diff)
net: dsa: mv88e6xxx: Workaround missing PHY ID on mv88e6390
The internal PHYs of the mv88e6390 do not have a model ID. Trap any calls to the ID register, and if it is zero, return the ID for the mv88e6390. The Marvell PHY driver can then bind to this ID. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/xen/interface/io/netif.h')
0 files changed, 0 insertions, 0 deletions
es (for the actual value to be fetched). But that is hopefully not a limitation in the long term. [ Also note that it might be a good idea to switch unsafe_get_user() to actually _return_ the value it fetches from user space, but this commit only changes the error handling semantics ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64')