Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/pci/pcireg.h
Show First 20 Lines • Show All 1,092 Lines • ▼ Show 20 Lines | |||||
#define PCIM_OSC_SUPPORT_SEG_GROUP 0x08 /* PCI Segment Groups supported */ | #define PCIM_OSC_SUPPORT_SEG_GROUP 0x08 /* PCI Segment Groups supported */ | ||||
#define PCIM_OSC_SUPPORT_MSI 0x10 /* MSI signalling supported */ | #define PCIM_OSC_SUPPORT_MSI 0x10 /* MSI signalling supported */ | ||||
#define PCI_OSC_CTL 2 | #define PCI_OSC_CTL 2 | ||||
#define PCIM_OSC_CTL_PCIE_HP 0x01 /* PCIe Native Hot Plug */ | #define PCIM_OSC_CTL_PCIE_HP 0x01 /* PCIe Native Hot Plug */ | ||||
#define PCIM_OSC_CTL_SHPC_HP 0x02 /* SHPC Native Hot Plug */ | #define PCIM_OSC_CTL_SHPC_HP 0x02 /* SHPC Native Hot Plug */ | ||||
#define PCIM_OSC_CTL_PCIE_PME 0x04 /* PCIe Native Power Mgt Events */ | #define PCIM_OSC_CTL_PCIE_PME 0x04 /* PCIe Native Power Mgt Events */ | ||||
#define PCIM_OSC_CTL_PCIE_AER 0x08 /* PCIe Advanced Error Reporting */ | #define PCIM_OSC_CTL_PCIE_AER 0x08 /* PCIe Advanced Error Reporting */ | ||||
#define PCIM_OSC_CTL_PCIE_CAP_STRUCT 0x10 /* Various Capability Structures */ | #define PCIM_OSC_CTL_PCIE_CAP_STRUCT 0x10 /* Various Capability Structures */ | ||||
/* | |||||
* PCI Vendors | |||||
*/ | |||||
#define PCI_VENDOR_INTEL 0x8086 | |||||
markj: This define already exists in bhyve in multiple places. The duplication of vendor IDs is… | |||||
Not Done Inline Actions@bapt made a script convert the pci vendor file to an C header, I just need to commit that and patch the different files that uses those. manu: @bapt made a script convert the pci vendor file to an C header, I just need to commit that and… | |||||
Not Done Inline ActionsOh I'd love that especially if the output names match the ones we take from Linux left and right so we can, like for USB, just use the one header file everywhere without having to define our own ones everywhere. Would be wonderful. Thank you two for working on this! Super-Heroes! bz: Oh I'd love that especially if the output names match the ones we take from Linux left and… |
This define already exists in bhyve in multiple places. The duplication of vendor IDs is annoying and should be solved, but I don't think this is the right place to do it.