[PATCH] PCI Hotplug: SHPCHP driver doesn't enable PERR and SERR properly
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Fri, 27 May 2005 07:08:14 +0000 (16:08 +0900)
committerGreg KH <gregkh@suse.de>
Tue, 31 May 2005 21:26:37 +0000 (14:26 -0700)
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>
drivers/pci/hotplug/shpchprm_acpi.c

index 18aa65a206a62b664060e10f5e26b7a985db4000..7957cdc72cd0464869096ffe9b59298953fdc539 100644 (file)
@@ -1681,7 +1681,7 @@ void shpchprm_enable_card(
                | PCI_COMMAND_IO | PCI_COMMAND_MEMORY;
        bcmd = bcommand  = bcommand | PCI_BRIDGE_CTL_NO_ISA;
 
-       ab = find_acpi_bridge_by_bus(acpi_bridges_head, ctrl->seg, ctrl->bus);
+       ab = find_acpi_bridge_by_bus(acpi_bridges_head, ctrl->seg, ctrl->slot_bus);
        if (ab) {
                if (ab->_hpp) {
                        if (ab->_hpp->enable_perr) {