[PATCH] r8169: tone down the r8169 driver

Tone down the r8169 driver

As an alternative, people can use the boot time 'debug' option and/or use
'ethtool -s ethX msglvl xyz'.  The different messages are listed at:
http://www.zoreil.com/~romieu/r8169/doc/msglvl.txt

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Francois Romieu 2005-09-30 16:54:02 -07:00 committed by Linus Torvalds
parent a9487e48a3
commit f0e837d918
1 changed files with 1 additions and 2 deletions

View File

@ -92,8 +92,7 @@ VERSION 2.2LK <2005/01/25>
#endif /* RTL8169_DEBUG */ #endif /* RTL8169_DEBUG */
#define R8169_MSG_DEFAULT \ #define R8169_MSG_DEFAULT \
(NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK | NETIF_MSG_IFUP | \ (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_IFUP | NETIF_MSG_IFDOWN)
NETIF_MSG_IFDOWN)
#define TX_BUFFS_AVAIL(tp) \ #define TX_BUFFS_AVAIL(tp) \
(tp->dirty_tx + NUM_TX_DESC - tp->cur_tx - 1) (tp->dirty_tx + NUM_TX_DESC - tp->cur_tx - 1)