aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_ethtool.c
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2009-04-28 11:29:09 -0400
committerDavid S. Miller <davem@davemloft.net>2009-04-29 01:44:30 -0400
commit5103c9f7874506cb40fc3c8d3f22486d3c4d91aa (patch)
tree9464c9519fda02f2b58b2e91ef7b3688ba201fce /drivers/net/netxen/netxen_nic_ethtool.c
parent6c31d55f755ff2bc1f7dc3b45c500032fe90aff8 (diff)
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.c1
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:
247 case LINKEVENT_MODULE_TWINAX_UNSUPPORTED_CABLELEN: 247 case LINKEVENT_MODULE_TWINAX_UNSUPPORTED_CABLELEN:
248 case LINKEVENT_MODULE_TWINAX: 248 case LINKEVENT_MODULE_TWINAX:
249 ecmd->port = PORT_TP; 249 ecmd->port = PORT_TP;
250 break;
250 default: 251 default:
251 ecmd->port = -1; 252 ecmd->port = -1;
252 } 253 }