fixed halt on ht rest by change bus numver

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1394 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Li-Ta Lo 2004-03-12 22:29:41 +00:00
parent 142babf1e5
commit a6aca79ff0
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ static void hard_reset(void)
set_bios_reset(); set_bios_reset();
/* enable cf9 */ /* enable cf9 */
pci_write_config8(PCI_DEV(0, 0x04, 3), 0x41, 0xf1); pci_write_config8(PCI_DEV(1, 0x04, 3), 0x41, 0xf1);
/* reset */ /* reset */
outb(0x0e, 0x0cf9); outb(0x0e, 0x0cf9);
} }
@ -37,7 +37,7 @@ static void hard_reset(void)
static void soft_reset(void) static void soft_reset(void)
{ {
set_bios_reset(); 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 #define REV_B_RESET 0