NetXen: Link status message correction for quad port cards.

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

 netxen_nic_isr.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Amit S. Kale 2006-12-18 05:53:12 -08:00 committed by Jeff Garzik
parent a379cb3c13
commit d2378e8972
1 changed files with 2 additions and 1 deletions

View File

@ -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);