bnx2x: convert to set_phys_id
authorstephen hemminger <shemminger@vyatta.com>
Mon, 4 Apr 2011 11:06:37 +0000 (11:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2011 21:35:21 +0000 (14:35 -0700)
commit32d3613475d8c7d2170313b9105499dece6a3735
treed2a91c4f976a09e44a77a9c947e83876abf2f8a7
parent2e17e1aa80e914acd8a31a41b9bf1173186a976a
bnx2x: convert to set_phys_id

Also cleanup error codes to no lie about things that driver doesn't
support. If device is down report -EAGAIN (same as Broadcom), and
if port doesn't blink then error as well.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_ethtool.c