[PATCH] PCI Hotplug: SHPCHP driver doesn't enable PERR and SERR properly

Current shpchp driver doesn't seem to program command register to
enable PERR and SERR properly. The following patch fixes this issue.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Kenji Kaneshige and committed by
Greg KH
2ac2610b 7a8cb869

+1 -1
+1 -1
drivers/pci/hotplug/shpchprm_acpi.c
··· 1681 1681 | PCI_COMMAND_IO | PCI_COMMAND_MEMORY; 1682 1682 bcmd = bcommand = bcommand | PCI_BRIDGE_CTL_NO_ISA; 1683 1683 1684 - ab = find_acpi_bridge_by_bus(acpi_bridges_head, ctrl->seg, ctrl->bus); 1684 + ab = find_acpi_bridge_by_bus(acpi_bridges_head, ctrl->seg, ctrl->slot_bus); 1685 1685 if (ab) { 1686 1686 if (ab->_hpp) { 1687 1687 if (ab->_hpp->enable_perr) {