summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/via/epia/Config.lb6
-rw-r--r--src/southbridge/via/vt8231/vt8231_ide.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/via/epia/Config.lb b/src/mainboard/via/epia/Config.lb
index 96c543a1ec..e6bc9957b3 100644
--- a/src/mainboard/via/epia/Config.lb
+++ b/src/mainboard/via/epia/Config.lb
@@ -127,12 +127,12 @@ config chip.h
chip northbridge/via/vt8601
device pci_domain 0 on
device pci 0.0 on end # Northbridge
- device pci 0.1 on # AGP bridge
+# device pci 0.1 on # AGP bridge
# chip drivers/pci/onboard # Integrated VGA
# device pci 0.0 on end
# register "rom_adress" = "0xfff80000"
# end
- end
+# end
chip southbridge/via/vt8231
register "enable_native_ide" = "0"
register "enable_com_ports" = "1"
@@ -162,7 +162,7 @@ chip northbridge/via/vt8601
irq 0x70 = 1
irq 0x72 = 12
end
- register "com1" = "{1}"
+ register "com1" = "{TTYS0_BAUD}"
end
device pnp 2e.6 off end # CIR
device pnp 2e.7 off end # GAME_MIDI_GIPO1
diff --git a/src/southbridge/via/vt8231/vt8231_ide.c b/src/southbridge/via/vt8231/vt8231_ide.c
index 70f256990c..9f06176cc5 100644
--- a/src/southbridge/via/vt8231/vt8231_ide.c
+++ b/src/southbridge/via/vt8231/vt8231_ide.c
@@ -8,7 +8,7 @@
static void ide_init(struct device *dev)
{
- struct southbridge_via_vt8231_config *conf;
+ struct southbridge_via_vt8231_config *conf = (struct southbridge_via_vt8231_config *)dev->chip_info;
unsigned char enables;
if (!conf->enable_native_ide) {