Commit d2378e89 authored by Amit S. Kale's avatar Amit S. Kale Committed by Jeff Garzik

NetXen: Link status message correction for quad port cards.

Signed-off-by: default avatarAmit S. Kale <amitkale@netxen.com>

 netxen_nic_isr.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent a379cb3c
...@@ -157,7 +157,8 @@ void netxen_nic_isr_other(struct netxen_adapter *adapter) ...@@ -157,7 +157,8 @@ void netxen_nic_isr_other(struct netxen_adapter *adapter)
for (portno = 0; portno < NETXEN_NIU_MAX_GBE_PORTS; portno++) { for (portno = 0; portno < NETXEN_NIU_MAX_GBE_PORTS; portno++) {
linkup = val & 1; linkup = val & 1;
if (linkup != (qg_linksup & 1)) { if (linkup != (qg_linksup & 1)) {
printk(KERN_INFO "%s: PORT %d link %s\n", printk(KERN_INFO "%s: %s PORT %d link %s\n",
adapter->port[portno]->netdev->name,
netxen_nic_driver_name, portno, netxen_nic_driver_name, portno,
((linkup == 0) ? "down" : "up")); ((linkup == 0) ? "down" : "up"));
netxen_indicate_link_status(adapter, portno, linkup); netxen_indicate_link_status(adapter, portno, linkup);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment