LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [patch 17/43] mv643xx_eth_showsram: Added information message when using the SRAM
@ 2005-10-29  0:46 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2005-10-29  0:46 UTC (permalink / raw)
  To: paulus; +Cc: akpm, linuxppc64-dev, sl, linuxppc-dev, det.nicolas


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

Added information message when using the SRAM in mv643xx_eth_probe()

Signed-off-by: Nicolas DET <det.nicolas@free.fr>
Signed-off-by: Sven Luther <sl@bplan-gmbh.de>
Signed-off-by: Andrew Morton <akpm@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:
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-29  0:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-29  0:46 [patch 17/43] mv643xx_eth_showsram: Added information message when using the SRAM akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox