From a6aca79ff038db75f2ef3cbddedb79caefac5358 Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Fri, 12 Mar 2004 22:29:41 +0000 Subject: fixed halt on ht rest by change bus numver git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1394 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/tyan/s2885/auto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/tyan/s2885') 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 -- cgit v1.2.3