summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-03-12 22:29:41 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-03-12 22:29:41 +0000
commita6aca79ff038db75f2ef3cbddedb79caefac5358 (patch)
tree3bf3ade040ba8d8240f0608a1b118c018b761e3f /src/mainboard
parent142babf1e5348288ad852c6cab3b10c931f73206 (diff)
fixed halt on ht rest by change bus numver
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1394 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/tyan/s2885/auto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/tyan/s2885/auto.c b/src/mainboard/tyan/s2885/auto.c
index 2450435c03..f4169b3fa7 100644
--- a/src/mainboard/tyan/s2885/auto.c
+++ b/src/mainboard/tyan/s2885/auto.c
@@ -29,7 +29,7 @@ static void hard_reset(void)
set_bios_reset();
/* enable cf9 */
- pci_write_config8(PCI_DEV(0, 0x04, 3), 0x41, 0xf1);
+ pci_write_config8(PCI_DEV(1, 0x04, 3), 0x41, 0xf1);
/* reset */
outb(0x0e, 0x0cf9);
}
@@ -37,7 +37,7 @@ static void hard_reset(void)
static void soft_reset(void)
{
set_bios_reset();
- pci_write_config8(PCI_DEV(0, 0x04, 0), 0x47, 1);
+ pci_write_config8(PCI_DEV(1, 0x04, 0), 0x47, 1);
}
#define REV_B_RESET 0