diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2018-05-22 01:35:49 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-05-22 01:52:59 +0200 |
commit | b30f46518a6c2695d389065994792efaa9c7bc75 (patch) | |
tree | 8d7c643e466dec86f912c32094be3304050af699 /arch/sparc/kernel/pci_msi.c | |
parent | sparc32/PCI/LEON: Converge device enable path (diff) | |
download | linux-b30f46518a6c2695d389065994792efaa9c7bc75.tar.xz linux-b30f46518a6c2695d389065994792efaa9c7bc75.zip |
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/pci_msi.c')
0 files changed, 0 insertions, 0 deletions