diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-04-28 15:29:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-28 22:44:30 -0700 |
commit | 5103c9f7874506cb40fc3c8d3f22486d3c4d91aa (patch) | |
tree | 9464c9519fda02f2b58b2e91ef7b3688ba201fce /drivers/net/netxen/netxen_nic_ethtool.c | |
parent | 6c31d55f755ff2bc1f7dc3b45c500032fe90aff8 (diff) | |
download | blackbird-obmc-linux-5103c9f7874506cb40fc3c8d3f22486d3c4d91aa.tar.gz blackbird-obmc-linux-5103c9f7874506cb40fc3c8d3f22486d3c4d91aa.zip |
netxen: fix link event handling
Firmware starting 4.0.402 started supporting link events, disable
it for older firmwares.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_ethtool.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic_ethtool.c b/drivers/net/netxen/netxen_nic_ethtool.c index a452b2facb77..e16ea46c24b8 100644 --- a/drivers/net/netxen/netxen_nic_ethtool.c +++ b/drivers/net/netxen/netxen_nic_ethtool.c @@ -247,6 +247,7 @@ skip: case LINKEVENT_MODULE_TWINAX_UNSUPPORTED_CABLELEN: case LINKEVENT_MODULE_TWINAX: ecmd->port = PORT_TP; + break; default: ecmd->port = -1; } |