History log of /haiku/src/add-ons/kernel/bus_managers/pci/arch/x86/pci_acpi.h
Revision Date Author Comments
# ce353e5d 22-Jun-2013 Jérôme Duval <jerome.duval@gmail.com>

pci: added pcie mechanism for config space access.

* pci-acpi.cpp is based on the bootloader bios_ia32/acpi.cpp. The ACPI module
has already a dependency on the PCI module. Using pci-acpi.cpp eases the simple
task of finding the PCIe base address to map the config space.
* pci_read_config and pci_write_config in pci_controller.h were using an uint8
for offsets in the config space. Switched to uint16 to enable access to the extended
config space (0x100 and upper). Added a check for these offsets in
pci_mech[1|2]_[read|write]_config() for x86 and other platforms as these mechanisms
don't support a priori the extended config space.


# ce353e5d6e65080fe81c58aa5c61abef824ad00e 22-Jun-2013 Jérôme Duval <jerome.duval@gmail.com>

pci: added pcie mechanism for config space access.

* pci-acpi.cpp is based on the bootloader bios_ia32/acpi.cpp. The ACPI module
has already a dependency on the PCI module. Using pci-acpi.cpp eases the simple
task of finding the PCIe base address to map the config space.
* pci_read_config and pci_write_config in pci_controller.h were using an uint8
for offsets in the config space. Switched to uint16 to enable access to the extended
config space (0x100 and upper). Added a check for these offsets in
pci_mech[1|2]_[read|write]_config() for x86 and other platforms as these mechanisms
don't support a priori the extended config space.