Hi folks!
In order to (better) support other than X86 to have PCI support, headers with primitive low-level accessors have been re-organised as follows:
For any MMIO access, <device/mmio.h> read8/16/32/64() write8/16/32/64()
For any PCI configurations, <device/pci_ops.h> pci_read_config8/16/32() pci_write_config8/16/32() pci_or_config8/16/32() pci_update_config8/16/32()
For X86 (or other) IO space, <arch/io.h> inb(),inw(),inl(),insb(),insw(),insl() outb(),outw(),outl(),outsb(),outsw(),outsl()
For PNP configuration (pre-ram), <device/pnp_ops.h> pnp_read_config(), pnp_write_config() pnp_set_XX(), pnp_read_XX()
My current advice is you don't need to include <device/pci_type.h> or <device/pnp_type.h> explicitly.
Regards, Kyösti