aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/cxgb3_main.c
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-08-21 23:49:36 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:50:50 -0400
commit167cdf5fbc64ab8f4eae2cd6d9d0892478d569d7 (patch)
treea1796dba0def322c8d50966b5afd18dd9548d1e2 /drivers/net/cxgb3/cxgb3_main.c
parentc64c2eaeaaf04f9c8a303508f804ba256435d79f (diff)
cxgb3 - log adapter serial number
Log HW serial number when cxgb3 module is loaded. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/cxgb3_main.c')
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index c00f2df05bcc..3ee465dd0b08 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -2360,10 +2360,12 @@ static void __devinit print_port_info(struct adapter *adap,
2360 (adap->flags & USING_MSIX) ? " MSI-X" : 2360 (adap->flags & USING_MSIX) ? " MSI-X" :
2361 (adap->flags & USING_MSI) ? " MSI" : ""); 2361 (adap->flags & USING_MSI) ? " MSI" : "");
2362 if (adap->name == dev->name && adap->params.vpd.mclk) 2362 if (adap->name == dev->name && adap->params.vpd.mclk)
2363 printk(KERN_INFO "%s: %uMB CM, %uMB PMTX, %uMB PMRX\n", 2363 printk(KERN_INFO
2364 "%s: %uMB CM, %uMB PMTX, %uMB PMRX, S/N: %s\n",
2364 adap->name, t3_mc7_size(&adap->cm) >> 20, 2365 adap->name, t3_mc7_size(&adap->cm) >> 20,
2365 t3_mc7_size(&adap->pmtx) >> 20, 2366 t3_mc7_size(&adap->pmtx) >> 20,
2366 t3_mc7_size(&adap->pmrx) >> 20); 2367 t3_mc7_size(&adap->pmrx) >> 20,
2368 adap->params.vpd.sn);
2367 } 2369 }
2368} 2370}
2369 2371