瀏覽代碼

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>
Amit S. Kale 18 年之前
父節點
當前提交
d2378e8972
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      drivers/net/netxen/netxen_nic_isr.c

+ 2 - 1
drivers/net/netxen/netxen_nic_isr.c

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