PCI/ACPI: Prefer CXL _OSC instead of PCIe _OSC for CXL host bridges
[sfrench/cifs-2.6.git] / include / acpi / acpi_bus.h
index c4b78c21d793056f8087711b83bfcdedc801f90c..305ebf2a3fa74863dafe7ddf68c05bf7961dae2f 100644 (file)
@@ -582,10 +582,16 @@ int unregister_acpi_bus_type(struct acpi_bus_type *);
 int acpi_bind_one(struct device *dev, struct acpi_device *adev);
 int acpi_unbind_one(struct device *dev);
 
+enum acpi_bridge_type {
+       ACPI_BRIDGE_TYPE_PCIE = 1,
+       ACPI_BRIDGE_TYPE_CXL,
+};
+
 struct acpi_pci_root {
        struct acpi_device * device;
        struct pci_bus *bus;
        u16 segment;
+       int bridge_type;
        struct resource secondary;      /* downstream bus range */
 
        u32 osc_support_set;    /* _OSC state of support bits */