Re: [RFT] Realtek 8168 ethernet support
From: Francois Romieu <romieu@fr.zoreil.com>
Date: 2006-07-18 22:16:37
Francois Romieu [off-list ref] :
The patch below agaisnt 2.6.17-rc6 includes the following changes:
commit 3072cc0aba3ac0c944e196a63c4154ca5746ec0b
r8169: sync with vendor's driver
- add several PCI ID for the PCI-E adapters ;
- new identification strings ;
- the RTL_GIGA_MAC_VER_ defines have been renamed to closely match the
out-of-tree driver. It makes the comparison less hairy ;
- various magic ;
- the PCI region for the device with PCI ID 0x8136 is guessed.
Explanation: the in-kernel Linux driver is written to allow MM register
accesses and avoid the IO tax. The relevant BAR register was found at
base address 1 for the plain-old PCI 8169. User reported lspci show that
it is found at base address 2 for the new Gigabit PCI-E 816{8/9}.Despite the fact that the newer 8168 has been reported to only work with an extra alignment (gross hack: s/NET_IP_ALIGN/8/), the serie seems otherwise fine. I'll submit an updated serie to correctly support the 8168. -- Ueimor