diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2018-05-21 18:35:49 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-05-21 18:52:59 -0500 |
commit | b30f46518a6c2695d389065994792efaa9c7bc75 (patch) | |
tree | 8d7c643e466dec86f912c32094be3304050af699 /COPYING | |
parent | 4a33b3ca53c1b566e5cc5f52e6c8413fa32fc0c0 (diff) | |
download | linux-b30f46518a6c2695d389065994792efaa9c7bc75.tar.bz2 |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions