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)出发地:http://www.cyberciti.biz/tips/linux-find-supported-pci-hardware-drivers.html
样本输出: 00:1b.0403: 8086:27d8 (rev 01)
所以,我打开了:
r8169.c
有关守则(海事组织):
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,},
};所以,对我来说,这个信息是::
{ 0x10ec, 0x8136, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
,这是我必须添加PCI信息的地方吗?
发布于 2012-06-12 05:47:37
如果这是该设备的正确驱动程序,那么这就是该行的正确位置。您可能希望查看现有模块是否有某种方式强制ID,这样您就可以验证这一点。
https://stackoverflow.com/questions/12312495
复制相似问题