[patch 17/43] mv643xx_eth_showsram: Added information message when using the SRAM

akpm at osdl.org akpm at osdl.org
Sat Oct 29 10:46:30 EST 2005


From: Nicolas DET <nd at bplan-gmbh.de>

Added information message when using the SRAM in mv643xx_eth_probe()

Signed-off-by: Nicolas DET <det.nicolas at free.fr>
Signed-off-by: Sven Luther <sl at bplan-gmbh.de>
Signed-off-by: Andrew Morton <akpm at osdl.org>
---

 drivers/net/mv643xx_eth.c |    3 +++
 1 files changed, 3 insertions(+)

diff -puN drivers/net/mv643xx_eth.c~mv643xx_eth_showsram-added-information drivers/net/mv643xx_eth.c
--- devel/drivers/net/mv643xx_eth.c~mv643xx_eth_showsram-added-information	2005-10-28 17:44:03.000000000 -0700
+++ devel-akpm/drivers/net/mv643xx_eth.c	2005-10-28 17:45:23.000000000 -0700
@@ -1533,6 +1533,9 @@ static int mv643xx_eth_probe(struct devi
 	printk(KERN_NOTICE "%s: RX NAPI Enabled \n", dev->name);
 #endif
 
+	if (mp->tx_sram_size > 0)
+		printk(KERN_NOTICE "%s: Using SRAM\n", dev->name);
+
 	return 0;
 
 out:
_



More information about the Linuxppc-dev mailing list