commit | b30f46518a6c2695d389065994792efaa9c7bc75 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Mon May 21 18:35:49 2018 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon May 21 18:52:59 2018 -0500 |
tree | 8d7c643e466dec86f912c32094be3304050af699 | |
parent | 4a33b3ca53c1b566e5cc5f52e6c8413fa32fc0c0 [diff] |
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>