[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Figuring out the PCI id of a device.



Greetings.


I am trying to figure out the PCI device id for a network card I have on one of the machines. This is to add an entry in initrd/modules/pcitables on a kickstart disc (an id like 14e4:165e). "cat /proc/pci" and "lspci -vv" does not return a PCI id (see below for output). Does anybody knows a reliable way to fetch the PCI id?



Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.biz http://autopoweroff.sourceforge.net mailto://hans deragon biz (Automatically poweroff home servers)

=================================================================>
cat /proc/pci:

Bus 5, device 2, function 0:
Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit Ethernet (rev 3).
IRQ 5.
Master Capable. Latency=64. Min Gnt=64.
Non-prefetchable 64 bit memory at 0xfc500000 [0xfc50ffff].




lspci -vv:

05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit Ethernet (rev 03)
Subsystem: Hewlett-Packard Company: Unknown device 12bc
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (16000ns min), cache line size 10
Interrupt: pin A routed to IRQ 5
Region 0: Memory at fc500000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
Address: fffffb9ffffffffc Data: 7cdf





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]