2009年7月14日 星期二

如何查出PCI Devices的vendor &

在此以solaris做例子:
根據文件How can I determine/identify what Host Bus Adapter (HBA) is installed in a Solaris server?我們可以查出PCI Devices vendor ID跟device ID
=================================================================
# prtpicl -v
:name pci
 SUNW,qlc (scsi-fcp, 1a40000041e)
  :_fru_parent (1a400000bcfH)
  :DeviceID 0x1
  :UnitAddress 1
  :vendor-id 0x1077
  :device-id 0x2422
  :revision-id 0x2
  :subsystem-vendor-id 0x1077
  :subsystem-id 0x141
  :class-code 0xc0400
  :cache-line-size 0x10
  :interrupts 00 00 00 01
  :min-grant 0x40
  :max-latency 0
  :latency-timer 0x40
  :devsel-speed 0x1
  :66mhz-capable
  :fcode-rom-offset 0xaa00
  :device_type scsi-fcp
  :#address-cells 0x2
  :#size-cells 0
  :short-version 1.11 10/03/05
  :compatible (1a40000044aTBL)

=================================================================
這裡我們可以看到Vendor ID是1077,Device ID是2422
然後到The PCI ID Repository去查出1077是屬於哪家vendor
最後查出的結果如下:
http://pci-ids.ucw.cz/read/PC/1077/2422

Main -> PCI Devices -> Vendor 1077 -> Device 1077:2422

Name: ISP2422-based 4Gb Fibre Channel to PCI-X HBA

Discussion

Name: QLA2422 Fibre Channel Adapter

andrew.vasquez

2005-11-22 20:01:17

Name: QLA246x / QMx246x: 4Gb Fibre Channel to PCI-X HBAs / Mezzanine Cards

current entry for "name" is incorrect

sameer.shurpalekar

2006-09-25 20:18:31

Name: ISP2422-based 4Gb Fibre Channel to PCI-X HBAs (QLA246x/QMx246x)

current entry is inaccurate and OEMs/customers are requesting that we include HBA model names to make it easier for end users to identify the HBAs more easily.

sameer.shurpalekar

2006-10-04 08:12:47

Name: ISP2422-based 4Gb Fibre Channel to PCI-X HBA

current entry is inaccurate

sameer.shurpalekar

2006-10-05 15:17:59

Discuss


因此最後我們知道,這張PCI卡是Qlogic的246x
另外從subsystem-id:141,可以精確的得知,卡片型號是:
SG-XPCI2FC-QF4

另一個查詢PCI的網頁
PCIDatabase.com

沒有留言: