summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chipset_enable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chipset_enable.c b/chipset_enable.c
index ad0e645..6a0fc4f 100644
--- a/chipset_enable.c
+++ b/chipset_enable.c
@@ -364,7 +364,7 @@ static int enable_flash_ich_dc(struct pci_dev *dev, const char *name)
(0x1ff8 + i) * 0x80000,
(0x1ff0 + i) * 0x80000,
tmp ? "en" : "dis");
- if ((tmp == 0) && contiguous) {
+ if ((tmp == 1) && contiguous) {
max_decode_fwh_decode = (8 - i) * 0x80000;
} else {
contiguous = 0;
@@ -376,7 +376,7 @@ static int enable_flash_ich_dc(struct pci_dev *dev, const char *name)
(0xff4 + i) * 0x100000,
(0xff0 + i) * 0x100000,
tmp ? "en" : "dis");
- if ((tmp == 0) && contiguous) {
+ if ((tmp == 1) && contiguous) {
max_decode_fwh_decode = (8 - i) * 0x100000;
} else {
contiguous = 0;
OpenPOWER on IntegriCloud