diff options
author | Sony Chacko <sony.chacko@qlogic.com> | 2011-03-10 18:50:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-14 18:12:19 -0400 |
commit | d478af0d6bb38c971d1172e99c5046025a9167c9 (patch) | |
tree | 02a1f66f40db6329ceeb565576df4ed6fd60e650 /drivers/net/netxen | |
parent | af1dc13e607c1d1a909e21ee87aafbe7b9d4ae81 (diff) |
netxen: Notify firmware of Flex-10 interface down
Notify firmware when a Flex-10 interface is brought down
so that virtual connect manager can display the correct link status.
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 33fac32e0d9f..83348dc4b184 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -1032,6 +1032,9 @@ __netxen_nic_down(struct netxen_adapter *adapter, struct net_device *netdev) | |||
1032 | netif_carrier_off(netdev); | 1032 | netif_carrier_off(netdev); |
1033 | netif_tx_disable(netdev); | 1033 | netif_tx_disable(netdev); |
1034 | 1034 | ||
1035 | if (adapter->capabilities & NX_FW_CAPABILITY_LINK_NOTIFICATION) | ||
1036 | netxen_linkevent_request(adapter, 0); | ||
1037 | |||
1035 | if (adapter->stop_port) | 1038 | if (adapter->stop_port) |
1036 | adapter->stop_port(adapter); | 1039 | adapter->stop_port(adapter); |
1037 | 1040 | ||