[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)
commit7b6b83474cb9bdd07dadfb7497a29c3005ad9d1d
tree64fbf2a9c6a28f6f5e041b1da65b0cd12335a8c4
parent0d8a6571051d23c214d7a316976138a6fd8bda1c
[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