added PCI express capability

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20198 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2007-02-22 17:46:44 +00:00
parent 49bf073e13
commit 9e8dd0a713
2 changed files with 8 additions and 2 deletions

View File

@ -617,14 +617,16 @@ struct pci_module_info {
#define PCI_cap_id_agp 0x02 /* AGP */
#define PCI_cap_id_vpd 0x03 /* Vital product data */
#define PCI_cap_id_slotid 0x04 /* Slot ID */
#define PCI_cap_id_msi 0x05 /* Message signalled interrupt ??? */
#define PCI_cap_id_msi 0x05 /* Message signalled interrupt */
#define PCI_cap_id_chswp 0x06 /* Compact PCI HotSwap */
#define PCI_cap_id_pcix 0x07
#define PCI_cap_id_pcix 0x07 /* PCI-X */
#define PCI_cap_id_ldt 0x08
#define PCI_cap_id_vendspec 0x09
#define PCI_cap_id_debugport 0x0a
#define PCI_cap_id_cpci_rsrcctl 0x0b
#define PCI_cap_id_hotplug 0x0c
#define PCI_cap_id_pcie 0x10 /* PCIe (PCI express) */
#define PCI_cap_id_msix 0x11 /* MSI-X */
#define PCI_cap_id_sata 0x12 /* Serial ATA Capability */
/** Power Management Control Status Register settings */

View File

@ -244,6 +244,10 @@ get_capability_name(uint8 cap_id)
return "cpci_rsrcctl";
case PCI_cap_id_hotplug:
return "HotPlug";
case PCI_cap_id_pcie:
return "PCIe";
case PCI_cap_id_msix:
return "MSI-X";
case PCI_cap_id_sata:
return "SATA";
default: