[patch 2.6.14-rc2 1/1] r8169: tone down the r8169 driver

From: Francois Romieu (romieu_at_fr.zoreil.com)
Date: 09/30/05

  • Next message: Bob Copeland: "Re: I request inclusion of SAS Transport Layer and AIC-94xx into the kernel"
    Date:	Fri, 30 Sep 2005 21:32:50 +0200
    To: Andrew Morton <akpm@osdl.org>
    
    

    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>

    diff -puN drivers/net/r8169.c~r8169-a00 drivers/net/r8169.c
    --- linux-2.6.14-rc2-git/drivers/net/r8169.c~r8169-a00 2005-09-30 21:16:11.749368793 +0200
    +++ linux-2.6.14-rc2-git/drivers/net/r8169.c 2005-09-30 21:16:46.687692546 +0200
    @@ -92,8 +92,7 @@ VERSION 2.2LK <2005/01/25>
     #endif /* RTL8169_DEBUG */
     
     #define R8169_MSG_DEFAULT \
    - (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK | NETIF_MSG_IFUP | \
    - NETIF_MSG_IFDOWN)
    + (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_IFUP | NETIF_MSG_IFDOWN)
     
     #define TX_BUFFS_AVAIL(tp) \
             (tp->dirty_tx + NUM_TX_DESC - tp->cur_tx - 1)

    _
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Bob Copeland: "Re: I request inclusion of SAS Transport Layer and AIC-94xx into the kernel"

    Relevant Pages

    • Re: 2.6.12 Performance problems
      ... Linux has long had a philisophical ... debug your problem. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: sis190
      ... and i don't notice a regression. ... messages with ethtool. ... in your mail user agent: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: e1000, sshd, and the infamous "Corrupted MAC on input"
      ... I would disable rx/tx checksums on the cards to ensure that's not a bug ... you can do this with ethtool: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: hang in rest_init, kernel_thread call 2.6.12-rc2
      ... Sorry for the preemptive email. ... and it was actually a little bit later than the kernel ... in order to debug this I've been writing ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Tracing memory leaks (slabs) in 2.6.9+ kernels?
      ... Will the slab debugger make it into the kernel as a standard compile ... >> address reporting. ... > +#if DEBUG ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)