summaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-05-21 18:23:22 -0500
committerBjorn Helgaas <bhelgaas@google.com>2018-05-21 18:23:22 -0500
commit4a33b3ca53c1b566e5cc5f52e6c8413fa32fc0c0 (patch)
tree0918c4feb5a07c0f271a20d81cb33e5722a6d5b0 /drivers/pci/probe.c
parentc2eead0503b1409bc6954b20585f2213b7e0552d (diff)
downloadblackbird-op-linux-4a33b3ca53c1b566e5cc5f52e6c8413fa32fc0c0.tar.gz
blackbird-op-linux-4a33b3ca53c1b566e5cc5f52e6c8413fa32fc0c0.zip
sparc32/PCI/LEON: 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 LEON did it in pcibios_fixup_bus(), which is called during enumeration, before any drivers are attached. Implement pcibios_enable_device() for LEON 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 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud