Commit 862ea4f2 authored by Ondrej Zary's avatar Ondrej Zary Committed by David S. Miller
Browse files

de2104x: disable media debug messages by default

Print media debug messages only when HW debug is enabled.
Signed-off-by: default avatarOndrej Zary <>
Acked-by: default avatarJeff Garzik <>
Signed-off-by: default avatarDavid S. Miller <>
parent ef09aadf
......@@ -948,8 +948,9 @@ static void de_set_media (struct de_private *de)
macmode &= ~FullDuplex;
if (netif_msg_link(de)) {
if (netif_msg_link(de))
dev_info(&de->dev->dev, "set link %s\n", media_name[media]);
if (netif_msg_hw(de)) {
dev_info(&de->dev->dev, "mode 0x%x, sia 0x%x,0x%x,0x%x,0x%x\n",
dr32(MacMode), dr32(SIAStatus),
dr32(CSR13), dr32(CSR14), dr32(CSR15));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment