: mv643xx_eth_showsram: Added information message when using the SRAM
PATCH 1/1 : mv643xx_eth_showsram: Added information message when using the SRAM
Added information message when using the SRAM in mv643xx_eth_probe()
Signed-off-by Nicolas DET <[email protected]>
Signed-off-by Sven Luther <[email protected]>
drivers/net/mv643xx_eth.c +3 -0
@@ -1533,6 +1533,9 @@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:
Quoted 2 lines · Nicolas DET
Added information message when using the SRAM in
mv643xx_eth_probe()
This is a tiny path. Nevertheless, I think it is useful to get this information.
-
Regards
Nicolas DET
Quoted 10 lines · Nicolas DET
Added information message when using the SRAM in
mv643xx_eth_probe()Signed-off-by Nicolas DET <[email protected]>Signed-off-by Sven Luther <[email protected]>diff -Naur
a/drivers/net/mv643xx_eth.cb/drivers/net/mv643xx_eth.c
drivers/net/mv643xx_eth.c line 1541
Quoted 9 lines
drivers/net/mv643xx_eth.c +3
-0@@ -1533,6 +1533,9 @@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:
Do you really think this is necessary? I think this driver is already too verbose and we should be remove messages, not add them. :)
-Dale