summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-06-03 20:39:47 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-06-03 20:39:47 +0000
commit4ce039feee84dac65e50f886e013b01e68995450 (patch)
tree22ee01ffe2455c25768d665d2bf852bf9c16eb67 /src/mainboard
parent56a9125453cff37477d638e9266f0bd55bdd8528 (diff)
Fix the static device tree of the Tyan S1846. Especially the
Super I/O part was incorrect. Also, add ide0_enable/ide1_enable variables, and enable both the primary and secondary IDE interface per default. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2708 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/tyan/s1846/Config.lb74
1 files changed, 41 insertions, 33 deletions
diff --git a/src/mainboard/tyan/s1846/Config.lb b/src/mainboard/tyan/s1846/Config.lb
index 7d8a3cc013..626a1b81ff 100644
--- a/src/mainboard/tyan/s1846/Config.lb
+++ b/src/mainboard/tyan/s1846/Config.lb
@@ -125,38 +125,46 @@ mainboardinit cpu/x86/mmx/disable_mmx.inc
dir /pc80
config chip.h
-# TODO.
-chip northbridge/intel/i440bx # Northbridge
- device pci_domain 0 on
- device pci 0.0 on end # Host bridge
- device pci 1.0 off end # PCI bridge TODO: AGP bridge?
- # device pci 7.0 on end # ISA bridge
- chip southbridge/intel/i82371eb # Southbridge
- device pci 7.0 on # ISA bridge ???
- chip superio/nsc/pc87309 # Super I/O
- device pnp 2e.0 on end # Floppy
- device pnp 2e.1 on end # Parallel port
- device pnp 2e.2 on end # Com2
- device pnp 2e.3 on # Com1
- io 0x60 = 0x3f8
- irq 0x70 = 4
- end
- device pnp 2e.4 on end # Power mgmt.
- device pnp 2e.5 on end # Mouse
- device pnp 2e.6 on # Keyboard
- io 0x60 = 0x60
- io 0x62 = 0x64
- irq 0x70 = 1
- irq 0x72 = 12 # ???
- end
- end
- device pci 7.1 on end # IDE
- device pci 7.2 on end # USB
- device pci 7.3 on end # ACPI
- end
- end
- end
- chip cpu/intel/slot_2
- end
+chip northbridge/intel/i440bx # Northbridge
+ device pci_domain 0 on
+ device pci 0.0 on end # Host bridge
+ device pci 1.0 on end # AGP bridge
+ chip southbridge/intel/i82371eb # Southbridge
+ device pci 7.0 on # ISA bridge
+ chip superio/nsc/pc87309 # Super I/O
+ device pnp 2e.5 on # Keyboard + Mouse
+ io 0x60 = 0x60
+ io 0x62 = 0x64
+ irq 0x70 = 1
+ irq 0x72 = 12
+ end
+ device pnp 2e.b on # Com1
+ io 0x60 = 0x3f8
+ irq 0x70 = 4
+ end
+ device pnp 2e.c on # Com2 / IR
+ io 0x60 = 0x2f8
+ irq 0x70 = 3
+ end
+ device pnp 2e.d on # Parallel port
+ io 0x60 = 0x378
+ irq 0x70 = 7
+ end
+ device pnp 2e.f on # Floppy
+ io 0x60 = 0x3f0
+ irq 0x70 = 6
+ drq 0x74 = 2
+ end
+ end
+ end
+ device pci 7.1 on end # IDE
+ device pci 7.2 on end # USB
+ device pci 7.3 on end # ACPI
+ register "ide0_enable" = "1"
+ register "ide1_enable" = "1"
+ end
+ end
+ chip cpu/intel/slot_2 # CPU
+ end
end