forcedeth: "no link" is informational
Subsystems (2)
PATCH 9/13 forcedeth: "no link" is informational
From: "Ed Swierk" <[email protected]>
Log "no link during initialization" at KERN_INFO as it's not an error, and occurs every time the interface comes up (when the forcedeth-phy-power-down patch is applied).
Signed-off-by Ed Swierk <[email protected]>
Cc Ayaz Abdulla <[email protected]>
Cc Jeff Garzik <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/net/forcedeth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/forcedeth.c renamed from drivers/net/forcedeth.c~forcedeth-no-link-is-informational +1 -1
@@ -4921,7 +4921,7 @@ static int nv_open(struct net_device *deif (ret) {netif_carrier_on (dev); }else { -printk ("%s: no link during initialization.\n" , dev->name); +printk (KERN_INFO "%s: no link during initialization.\n" , dev->name);netif_carrier_off (dev); }if (oom)
_
Quoted 19 lines · On Tue, 02 Oct 2007 14:11:41 -0700 [email protected] wrote:
From: "Ed Swierk" <[email protected]>
Log "no link during initialization" at
KERN_INFOas it's not an error, and occurs every time the interface comes up (when the forcedeth-phy-power-down patch is applied).Signed-off-by Ed Swierk <[email protected]>Cc Ayaz Abdulla <[email protected]>Cc Jeff Garzik <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
drivers/net/forcedeth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff -puN
drivers/net/forcedeth.c~forcedeth-no-link-is-informationaldrivers/net/forcedeth.c
drivers/net/forcedeth.c static int nv_open(struct net_device *de · line 4927
Quoted 8 lines
drivers/net/forcedeth.c renamed from drivers/net/forcedeth.c~forcedeth-no-link-is-informational +1
-1@@ -4921,7 +4921,7 @@ static int nv_open(struct net_device *deif (ret) {netif_carrier_on (dev); }else { -printk ("%s: no link during initialization.\n" , dev->name); +printk (KERN_INFO "%s: no link during initialization.\n" , dev->name);netif_carrier_off (dev); }if (oom)
Driver should use netif_msg_link_up()
Signature · 1 line
Stephen Hemminger <[email protected]>