summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/leon_pci.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-05-21 18:35:49 -0500
committerBjorn Helgaas <bhelgaas@google.com>2018-05-21 18:52:59 -0500
commitb30f46518a6c2695d389065994792efaa9c7bc75 (patch)
tree8d7c643e466dec86f912c32094be3304050af699 /arch/sparc/kernel/leon_pci.c
parent4a33b3ca53c1b566e5cc5f52e6c8413fa32fc0c0 (diff)
downloadop-kernel-dev-b30f46518a6c2695d389065994792efaa9c7bc75.zip
op-kernel-dev-b30f46518a6c2695d389065994792efaa9c7bc75.tar.gz
sparc32/PCI/PCIC: Converge device enable path
Most architectures turn on PCI_COMMAND_IO and PCI_COMMAND_MEMORY in pci_enable_device() when a driver claims the device. Sparc PCIC did it in pcibios_fixup_bus(), which is called during enumeration, before any drivers are attached. Implement pcibios_enable_device() for PCIC so it will do the same as other architectures. This implementation is copied verbatim from sparc64. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/sparc/kernel/leon_pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud