http://nkjmkzk.net/?p=1539
デバイスのBDF(Bus Device Function),PCI ID調査
GA-Q67M-D2H-B3オンボードIntel 82579 chip
squeeze # uname -r 2.6.32-5-686 # VENDOR_ID=8086 ; DEVICE_ID=1502 ;find /lib/modules/$(uname -r)/kernel/drivers/ -name "*.ko*" -exec modinfo { } \; | grep -i "0000${VENDOR_ID}d0000${DEVICE_ID}" 結果無し 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 05) Subsystem: Giga-byte Technology Device e000 ドライバ記載の行なし
testing # uname -r 3.0.0-1-686-pae # lspci | grep Eth 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 05) # lspci -n | grep 00:19.0 00:19.0 0200: 8086:1502 (rev 05) # VENDOR_ID=8086 ; DEVICE_ID=1502 ;find /lib/modules/$(uname -r)/kernel/drivers/ -name "*.ko*" -exec modinfo {} \; | grep -i "0000${VENDOR_ID}d0000${DEVICE_ID}" alias: pci:v00008086d00001502sv*sd*bc*sc*i* # lspci -k (中略) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 05) Subsystem: Giga-byte Technology Device e000 Kernel driver in use: e1000e
LXRはDEVICE_IDで検索するのがよさそうだ。
http://lxr.linux.no/#linux+v3.0.3/drivers/net/e1000e/hw.h#L396
http://lxr.linux.no/#linux+v2.6.36/drivers/net/e1000e/hw.h#L395
#define E1000_DEV_ID_PCH2_LV_LM 0x1502
ドライバがあるのと認識して動作するのは別問題。
参考
http://www.cyberciti.biz/tips/linux-find-supported-pci-hardware-drivers.html
めも