diff options
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/hotplug/shpchp_hpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/shpchp_hpc.c b/drivers/pci/hotplug/shpchp_hpc.c index 3c1d3b4b0408..f5a8bf374634 100644 --- a/drivers/pci/hotplug/shpchp_hpc.c +++ b/drivers/pci/hotplug/shpchp_hpc.c | |||
@@ -604,7 +604,7 @@ static int hpc_get_mode1_ECC_cap(struct slot *slot, u8 *mode) | |||
604 | sec_bus_status = readw(php_ctlr->creg + SEC_BUS_CONFIG); | 604 | sec_bus_status = readw(php_ctlr->creg + SEC_BUS_CONFIG); |
605 | 605 | ||
606 | if (pi == 2) { | 606 | if (pi == 2) { |
607 | *mode = (sec_bus_status & 0x0100) >> 7; | 607 | *mode = (sec_bus_status & 0x0100) >> 8; |
608 | } else { | 608 | } else { |
609 | retval = -1; | 609 | retval = -1; |
610 | } | 610 | } |