summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/cimx/sb800/lpc.c6
-rw-r--r--src/southbridge/amd/cimx/sb900/lpc.c6
-rw-r--r--src/southbridge/amd/sb700/lpc.c6
-rw-r--r--src/southbridge/amd/sb800/lpc.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/src/southbridge/amd/cimx/sb800/lpc.c b/src/southbridge/amd/cimx/sb800/lpc.c
index a88d6d34e9..483d185e32 100644
--- a/src/southbridge/amd/cimx/sb800/lpc.c
+++ b/src/southbridge/amd/cimx/sb800/lpc.c
@@ -170,11 +170,11 @@ void lpc_enable_childrens_resources(struct device *dev)
pci_write_config32(dev, 0x48, reg_x);
/* Set WideIO for as many IOs found (fall through is on purpose) */
switch (var_num) {
- case 2:
+ case 3:
pci_write_config16(dev, 0x90, reg_var[2]);
- case 1:
+ case 2:
pci_write_config16(dev, 0x66, reg_var[1]);
- case 0:
+ case 1:
//pci_write_config16(dev, 0x64, reg_var[0]); //cause filo can not find sata
break;
}
diff --git a/src/southbridge/amd/cimx/sb900/lpc.c b/src/southbridge/amd/cimx/sb900/lpc.c
index b04ecfa123..8fcb947eb6 100644
--- a/src/southbridge/amd/cimx/sb900/lpc.c
+++ b/src/southbridge/amd/cimx/sb900/lpc.c
@@ -168,11 +168,11 @@ void lpc_enable_childrens_resources(struct device *dev)
pci_write_config32(dev, 0x48, reg_x);
/* Set WideIO for as many IOs found (fall through is on purpose) */
switch (var_num) {
- case 2:
+ case 3:
pci_write_config16(dev, 0x90, reg_var[2]);
- case 1:
+ case 2:
pci_write_config16(dev, 0x66, reg_var[1]);
- case 0:
+ case 1:
//pci_write_config16(dev, 0x64, reg_var[0]); //cause filo can not find sata
break;
}
diff --git a/src/southbridge/amd/sb700/lpc.c b/src/southbridge/amd/sb700/lpc.c
index 6f3be03c30..b7f0dc3bbf 100644
--- a/src/southbridge/amd/sb700/lpc.c
+++ b/src/southbridge/amd/sb700/lpc.c
@@ -228,11 +228,11 @@ static void sb700_lpc_enable_childrens_resources(struct device *dev)
pci_write_config32(dev, 0x48, reg_x);
/* Set WideIO for as many IOs found (fall through is on purpose) */
switch (var_num) {
- case 2:
+ case 3:
pci_write_config16(dev, 0x90, reg_var[2]);
- case 1:
+ case 2:
pci_write_config16(dev, 0x66, reg_var[1]);
- case 0:
+ case 1:
pci_write_config16(dev, 0x64, reg_var[0]);
break;
}
diff --git a/src/southbridge/amd/sb800/lpc.c b/src/southbridge/amd/sb800/lpc.c
index 649add5515..74b63741a5 100644
--- a/src/southbridge/amd/sb800/lpc.c
+++ b/src/southbridge/amd/sb800/lpc.c
@@ -220,11 +220,11 @@ static void sb800_lpc_enable_childrens_resources(struct device *dev)
pci_write_config32(dev, 0x48, reg_x);
/* Set WideIO for as many IOs found (fall through is on purpose) */
switch (var_num) {
- case 2:
+ case 3:
pci_write_config16(dev, 0x90, reg_var[2]);
- case 1:
+ case 2:
pci_write_config16(dev, 0x66, reg_var[1]);
- case 0:
+ case 1:
pci_write_config16(dev, 0x64, reg_var[0]);
break;
}