diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2010-09-28 04:18:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-29 22:45:38 -0400 |
commit | 862ea4f263c68680558382c1475ad3032c7fd7d4 (patch) | |
tree | a49641180c0532f64a251d281c3edc71bbcadcfc /drivers/net/tulip | |
parent | ef09aadf7bf1a17f4d4938855238c0fd8749a99f (diff) |
de2104x: disable media debug messages by default
Print media debug messages only when HW debug is enabled.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tulip')
-rw-r--r-- | drivers/net/tulip/de2104x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c index 9124c5c638d8..8054009c4b22 100644 --- a/drivers/net/tulip/de2104x.c +++ b/drivers/net/tulip/de2104x.c | |||
@@ -948,8 +948,9 @@ static void de_set_media (struct de_private *de) | |||
948 | else | 948 | else |
949 | macmode &= ~FullDuplex; | 949 | macmode &= ~FullDuplex; |
950 | 950 | ||
951 | if (netif_msg_link(de)) { | 951 | if (netif_msg_link(de)) |
952 | dev_info(&de->dev->dev, "set link %s\n", media_name[media]); | 952 | dev_info(&de->dev->dev, "set link %s\n", media_name[media]); |
953 | if (netif_msg_hw(de)) { | ||
953 | dev_info(&de->dev->dev, "mode 0x%x, sia 0x%x,0x%x,0x%x,0x%x\n", | 954 | dev_info(&de->dev->dev, "mode 0x%x, sia 0x%x,0x%x,0x%x,0x%x\n", |
954 | dr32(MacMode), dr32(SIAStatus), | 955 | dr32(MacMode), dr32(SIAStatus), |
955 | dr32(CSR13), dr32(CSR14), dr32(CSR15)); | 956 | dr32(CSR13), dr32(CSR14), dr32(CSR15)); |