aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/netxen/netxen_nic_main.c
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2009-04-28 15:29:09 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-28 22:44:30 -0700
commit5103c9f7874506cb40fc3c8d3f22486d3c4d91aa (patch)
tree9464c9519fda02f2b58b2e91ef7b3688ba201fce /drivers/net/netxen/netxen_nic_main.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_main.c')
-rw-r--r--drivers/net/netxen/netxen_nic_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index e877eefdfeb..8331580fe16 100644
--- a/drivers/net/netxen/netxen_nic_main.c
+++ b/drivers/net/netxen/netxen_nic_main.c
@@ -797,7 +797,7 @@ netxen_nic_up(struct netxen_adapter *adapter, struct net_device *netdev)
if (adapter->max_sds_rings > 1)
netxen_config_rss(adapter, 1);
- if (NX_IS_REVISION_P3(adapter->ahw.revision_id))
+ if (adapter->capabilities & NX_FW_CAPABILITY_LINK_NOTIFICATION)
netxen_linkevent_request(adapter, 1);
return 0;