aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/au1000_eth.c
diff options
context:
space:
mode:
authorValentine Barshak <vbarshak@ru.mvista.com>2009-10-05 03:27:56 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-07 03:37:43 -0700
commit49682864b0270a0578b8321ed2686dc471ec37f1 (patch)
tree3e1ab028bf5954bb795395a993808809000ba45d /drivers/net/au1000_eth.c
parentadd maintainer for network drop monitor kernel service (diff)
downloadlinux-dev-49682864b0270a0578b8321ed2686dc471ec37f1.tar.xz
linux-dev-49682864b0270a0578b8321ed2686dc471ec37f1.zip
pasemi_mac: ethtool get settings fix
Not all pasemi mac interfaces can have a phy attached. For example, XAUI has no phy and phydev is NULL for it. In this case ethtool get settings causes kernel crash. Fix it by returning -EOPNOTSUPP if there's no PHY attached. Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/au1000_eth.c')
0 files changed, 0 insertions, 0 deletions