linux-y3pi:~ # lspci | grep -i ethernet
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
linux-y3pi:~ # lspci -n | grep 01:00.0
01:00.0 0200: 10ec:8136 (rev 01)
From here: http://www.cyberciti.biz/tips/linux-find-supported-pci-hardware-drivers.html
Sample Output:
00:1b.0 0403: 8086:27d8 (rev 01) Where,
- 00:1b.0 - Device
- 8086 - constructor code for Intel Corporation
- 27d8 - The model id.
So, I opened:
/usr/src/f/rtnet/drivers/experimental/rt_r8169.c
The relevant code (IMO):
static struct pci_device_id rtl8169_pci_tbl[] __devinitdata = {
{ 0x10ec, 0x8169, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ 0x1186, 0x4300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, /* <kk> D-Link DGE-528T */
{0,},
};
So, for me this info will be:
{ 0x10ec, 0x8136, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
?
Is this the place where I have to add this PCI information and simply do a make and make install then?