net: sun8i_emac: Remove debug message
Subsystems (2)
PATCH 1/1 net: sun8i_emac: Remove debug message
When booting with sun8i_emac driver, the user get output like this:
...
Net: phy interface7
eth0: ethernet at 1c30000
...
The first line doesn't provide any useful information except for the developers. I guess this is some leftover debugging message. This patch change it to such. The new output is:
...
Net: eth0: ethernet at 1c30000
...
--- drivers/net/sun8i_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/sun8i_emac.c +1 -1
@@ -968,7 +968,7 @@ static int sun8i_emac_eth_ofdata_to_platdata(struct udevice *dev)if (phy_mode) pdata->phy_interface =phy_get_interface_by_name (phy_mode); -printf ("phy interface%d\n" , pdata->phy_interface); +debug ("phy interface%d\n" , pdata->phy_interface);if (pdata->phy_interface ==-1 ) {debug ("%s: Invalid PHY interface '%s'\n" , __func__, phy_mode);
Signature · 1 line
2.17.1
PATCH 1/1 net: sun8i_emac: Remove debug message
Quoted 12 lines · Stefan Mavrodiev
When booting with
sun8i_emacdriver, the user get output like this:...
Net: phy interface7
eth0: ethernet at 1c30000
...The first line doesn't provide any useful information except for the developers. I guess this is some leftover debugging message. This patch change it to such. The new output is:
Quoted 6 lines
...
Net: eth0: ethernet at 1c30000
...Signed-off-by Stefan Mavrodiev <[email protected]>---
Applied to u-boot-sunxi/master