Re: [2.6.18 backport] RTL8168 ethernet support in r8169
From: Daniel Drake <hidden>
Date: 2006-09-26 22:52:06
Attachments
- 4010_r8169-8168.patch [text/x-patch] 18335 bytes · preview
From: Daniel Drake <hidden>
Date: 2006-09-26 22:52:06
Francois Romieu wrote:
Daniel Drake [off-list ref] :
[...]
static struct pci_device_id rtl8169_pci_tbl[] = {
- { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8169), },
- { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8129), },
- { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4300), },
- { PCI_DEVICE(0x16ec, 0x0116), },
- { PCI_VENDOR_ID_LINKSYS, 0x1032, PCI_ANY_ID, 0x0024, },
+ { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8129), 0, 0, RTL_CFG_0 },
+ { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8136), 0, 0, RTL_CFG_1 },
Should be RTL_CFG_2 (but there are still issues with the link management).
+ { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8167), 0, 0, RTL_CFG_1 },
^^^^^^^^^
Should be RTL_CFG_1.Thanks. I only really wanted to include the patch for the 8168 support rather than the larger patch which has some unrelated changes. I went ahead and updated the patch with the above changes incase someone comes along with that hardware anyway :)