]> git.baikalelectronics.ru Git - kernel.git/commit
[BNX2]: Add ethtool support for remote PHY.
authorMichael Chan <mchan@broadcom.com>
Sun, 8 Jul 2007 05:50:15 +0000 (22:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:18:33 +0000 (22:18 -0700)
commita3a6835d100e9eb7776d3d845fb990957cfbe284
tree64fbf2a9c6a28f6f5e041b1da65b0cd12335a8c4
parent17d9d178b427947b43773debbdda48b85ed6d2d7
[BNX2]: Add ethtool support for remote PHY.

Modify the driver's ethtool_ops->get_settings and set_settings
functions to support remote PHY.  Users control the remote copper
PHY settings by specifying link settings for the tp (twisted pair)
port.

The nway_reset function is also modified to support remote PHY.
mii-tool operations are not supported on remote PHY and we will
return -EOPNOTSUPP.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c