Message ID | 20130907101546.GA19560@electric-eye.fr.zoreil.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
Hi You mean this line from the dmesg? :- [ 6.015979] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 6.016285] r8169 0000:02:00.0: irq 73 for MSI/MSI-X [ 6.016549] r8169 0000:02:00.0 eth0: RTL8168f/8111f at 0xffffc9000060e000, 60:a4:4c:2c:ff:a1, XID 08000800 IRQ 73 Cheers David On 07/09/13 11:15, Francois Romieu wrote: > Frédéric Leroy <fredo@starox.org> : > [...] > > Sorry for the delay. It was a busy week. > > Can you give the hack below a try ? > > David, could you send me the r8169 XID line from a kernel running on > the hardware for which I sent you a similar patch back in 2013/04 ? > You appeared to own a 8168f and it could be a RTL_GIGA_MAC_VER_36. > > Thanks. > > Hayes, see http://marc.info/?l=linux-netdev&m=137794473416308&w=1 for > history. It could be eb2dc35d99028b698cdedba4f5522bc43e576bd2 > ("r8169: RxConfig hack for the 8168evl.") return, with a revenge. > > --- > drivers/net/ethernet/realtek/r8169.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c > index 6f87f2c..3397cee 100644 > --- a/drivers/net/ethernet/realtek/r8169.c > +++ b/drivers/net/ethernet/realtek/r8169.c > @@ -4231,6 +4231,7 @@ static void rtl_init_rxcfg(struct rtl8169_private *tp) > case RTL_GIGA_MAC_VER_23: > case RTL_GIGA_MAC_VER_24: > case RTL_GIGA_MAC_VER_34: > + case RTL_GIGA_MAC_VER_35: > RTL_W32(RxConfig, RX128_INT_EN | RX_MULTI_EN | RX_DMA_BURST); > break; > case RTL_GIGA_MAC_VER_40: -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello, Le 07/09/2013 12:15, Francois Romieu a écrit : > Frédéric Leroy <fredo@starox.org> : > [...] > > Sorry for the delay. It was a busy week. > > Can you give the hack below a try ? I tested it with and without. The patch works perfectly ! Thanks :)
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 6f87f2c..3397cee 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -4231,6 +4231,7 @@ static void rtl_init_rxcfg(struct rtl8169_private *tp) case RTL_GIGA_MAC_VER_23: case RTL_GIGA_MAC_VER_24: case RTL_GIGA_MAC_VER_34: + case RTL_GIGA_MAC_VER_35: RTL_W32(RxConfig, RX128_INT_EN | RX_MULTI_EN | RX_DMA_BURST); break; case RTL_GIGA_MAC_VER_40: