netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lennert Buytenhek <buytenh@wantstofly.org>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: netdev@vger.kernel.org, tbm@cyrius.com
Subject: Re: [PATCH,RFC] Re: r8169 driver problem with RTL8110SB chip (on iop3xx ARM board)
Date: Tue, 5 Sep 2006 00:27:15 +0200	[thread overview]
Message-ID: <20060904222715.GF3782@xi.wantstofly.org> (raw)
In-Reply-To: <20060820213558.GA13188@electric-eye.fr.zoreil.com>

On Sun, Aug 20, 2006 at 11:35:58PM +0200, Francois Romieu wrote:

> > 2. SYSErr asserts pretty soon after upping eth0, and the PCI status
> >    register reports a parity error when this happens.  In this case,
> >    the restart logic seems to make things worse, and in fact, when
> >    commenting it out, things work a lot better.
> 
> [snip]
> 
> 2 - I have already experienced SYSErr storms on startup. If memory serves me
>     right, they were "cured" simply by disabling a bit in the irq mask
>     (not sure if it was SYSErr, RxOverflow or RxFIFOOver though).
> 
> Can you try against -rc4:
> 1) the serie at http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.18-rc4/r8169
>    There is a minor difference in the init of Realtek's driver for the 8110sb
>    (patch 011). It could hurt different chipset but it should do no harm to
>    the 8110sb.
> 2) same as 1) + your hunk below:
> @@ -484,7 +488,7 @@ static int rtl8169_poll(struct net_devic
>  #endif
>  
>  static const u16 rtl8169_intr_mask =
> -	SYSErr | LinkChg | RxOverflow | RxFIFOOver | TxErr | TxOK | RxErr | RxOK;
> +	LinkChg | RxOverflow | RxFIFOOver | TxErr | TxOK | RxErr | RxOK;
>  static const u16 rtl8169_napi_event =
>  	RxOK | RxOverflow | RxFIFOOver | TxOK | TxErr;
>  static const unsigned int rtl8169_rx_config =
> 3) same as 2) + your TxDesc change.

I tried your series from step (1) plus my TxDesc change (so I didn't
include the hunk from (2)), and that seems to work fine.  I.e. I don't
need to disable error interrupts anymore to keep it working.

So really the only thing that would need addressing would be the TXDesc
MMIO bug (either by using I/O accesses, or doing the top/bottom writes
the other way round) and we can dump the vendor driver.

Thanks a lot!


cheers,
Lennert

  parent reply	other threads:[~2006-09-04 22:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-28 10:11 r8169 driver problem with RTL8110SB chip (on iop3xx ARM board) Lennert Buytenhek
2006-07-28 10:49 ` Francois Romieu
2006-07-28 11:15   ` Lennert Buytenhek
2006-07-28 11:52     ` Martin Michlmayr
2006-07-28 19:49       ` Francois Romieu
2006-07-28 20:34         ` Martin Michlmayr
     [not found]           ` <20060802180244.GA32235@deprecation.cyrius.com>
2006-08-02 22:16             ` Francois Romieu
     [not found]               ` <20060802222623.GA27185@xi.wantstofly.org>
     [not found]                 ` <20060803081023.GA7502@electric-eye.fr.zoreil.com>
2006-08-03 10:31                   ` Martin Michlmayr
2006-08-03 13:53               ` Martin Michlmayr
     [not found]                 ` <20060803142309.GA17166@deprecation.cyrius.com>
     [not found]                   ` <20060803150556.GA9433@electric-eye.fr.zoreil.com>
2006-08-03 15:48                     ` Martin Michlmayr
2006-08-03 16:21                     ` Martin Michlmayr
2006-07-28 12:28     ` Jamal Hadi Salim
2006-08-18 21:28 ` [PATCH,RFC] " Lennert Buytenhek
2006-08-20 21:35   ` Francois Romieu
2006-09-04 22:07     ` Lennert Buytenhek
2006-09-08 20:23       ` Francois Romieu
2006-09-08 21:37         ` Lennert Buytenhek
2006-09-04 22:27     ` Lennert Buytenhek [this message]
2006-09-08 20:38       ` Francois Romieu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060904222715.GF3782@xi.wantstofly.org \
    --to=buytenh@wantstofly.org \
    --cc=netdev@vger.kernel.org \
    --cc=romieu@fr.zoreil.com \
    --cc=tbm@cyrius.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).