]> git.baikalelectronics.ru Git - kernel.git/commit
openrisc: Add pci bus support
authorStafford Horne <shorne@gmail.com>
Sat, 11 Jun 2022 23:42:33 +0000 (08:42 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 29 Jul 2022 20:50:15 +0000 (05:50 +0900)
commitbbd3c9f6cab91383a94e0f05b18591c63fbfe077
treee9b85fcdb4ac99508d8323040a8059cbe68f9ec9
parent2865392be493283586ba94fe36dfffd37cecb114
openrisc: Add pci bus support

This patch adds required definitions to allow for PCI buses on OpenRISC.
This is being tested on the OpenRISC QEMU virt platform which is in
development.

OpenRISC does not have IO ports so we keep the definition of
IO_SPACE_LIMIT and PIO_RESERVED to be 0.

Note, since commit dd0501348c0a ("parport_pc: Also enable driver for PCI
systems") all platforms that support PCI also need to support parallel
port.  We add a generic header to support compiling parallel port
drivers, though they generally will not work as they require IO ports.

Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/Kconfig
arch/openrisc/include/asm/Kbuild
arch/openrisc/include/asm/io.h