[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100915.193345.184829695.davem@davemloft.net>
Date: Wed, 15 Sep 2010 19:33:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: romieu@...zoreil.com
Cc: mjg@...hat.com, netdev@...r.kernel.org, jglisse@...hat.com
Subject: Re: [PATCH] r8169: Handle rxfifo errors on 8168 chips
From: Francois Romieu <romieu@...zoreil.com>
Date: Thu, 16 Sep 2010 00:27:19 +0200
> Matthew Garrett <mjg@...hat.com> :
> [...]
>> diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
>> index 078bbf4..a0da4a1 100644
>> --- a/drivers/net/r8169.c
>> +++ b/drivers/net/r8169.c
> [...]
>> @@ -4625,8 +4625,7 @@ static irqreturn_t rtl8169_interrupt(int irq, void *dev_instance)
>> }
>>
>> /* Work around for rx fifo overflow */
>> - if (unlikely(status & RxFIFOOver) &&
>> - (tp->mac_version == RTL_GIGA_MAC_VER_11)) {
>> + if (unlikely(status & RxFIFOOver)) {
>> netif_stop_queue(dev);
>> rtl8169_tx_timeout(dev);
>> break;
>
>
> Acked-by: Francois Romieu <romieu@...zoreil.com>
>
> Realtek's driver does something similar with the revision RTL_GIGA_MAC_VER_11
> of the 8168.
Applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists