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
This commit is contained in:
Uwe Hermann
2007-06-03 20:39:47 +00:00
parent 56a9125453
commit 4ce039feee

View File

@@ -125,38 +125,46 @@ mainboardinit cpu/x86/mmx/disable_mmx.inc
dir /pc80 dir /pc80
config chip.h config chip.h
# TODO. chip northbridge/intel/i440bx # Northbridge
chip northbridge/intel/i440bx # Northbridge device pci_domain 0 on
device pci_domain 0 on device pci 0.0 on end # Host bridge
device pci 0.0 on end # Host bridge device pci 1.0 on end # AGP bridge
device pci 1.0 off end # PCI bridge TODO: AGP bridge? chip southbridge/intel/i82371eb # Southbridge
# device pci 7.0 on end # ISA bridge device pci 7.0 on # ISA bridge
chip southbridge/intel/i82371eb # Southbridge chip superio/nsc/pc87309 # Super I/O
device pci 7.0 on # ISA bridge ??? device pnp 2e.5 on # Keyboard + Mouse
chip superio/nsc/pc87309 # Super I/O io 0x60 = 0x60
device pnp 2e.0 on end # Floppy io 0x62 = 0x64
device pnp 2e.1 on end # Parallel port irq 0x70 = 1
device pnp 2e.2 on end # Com2 irq 0x72 = 12
device pnp 2e.3 on # Com1 end
io 0x60 = 0x3f8 device pnp 2e.b on # Com1
irq 0x70 = 4 io 0x60 = 0x3f8
end irq 0x70 = 4
device pnp 2e.4 on end # Power mgmt. end
device pnp 2e.5 on end # Mouse device pnp 2e.c on # Com2 / IR
device pnp 2e.6 on # Keyboard io 0x60 = 0x2f8
io 0x60 = 0x60 irq 0x70 = 3
io 0x62 = 0x64 end
irq 0x70 = 1 device pnp 2e.d on # Parallel port
irq 0x72 = 12 # ??? io 0x60 = 0x378
end irq 0x70 = 7
end end
device pci 7.1 on end # IDE device pnp 2e.f on # Floppy
device pci 7.2 on end # USB io 0x60 = 0x3f0
device pci 7.3 on end # ACPI irq 0x70 = 6
end drq 0x74 = 2
end end
end end
chip cpu/intel/slot_2 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 end