diff options
Diffstat (limited to 'src/southbridge/amd/amd8151/amd8151_agp3.c')
-rw-r--r-- | src/southbridge/amd/amd8151/amd8151_agp3.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/southbridge/amd/amd8151/amd8151_agp3.c b/src/southbridge/amd/amd8151/amd8151_agp3.c index a4d4dce1a1..b58f7926d4 100644 --- a/src/southbridge/amd/amd8151/amd8151_agp3.c +++ b/src/southbridge/amd/amd8151/amd8151_agp3.c @@ -12,15 +12,17 @@ static void agp3bridge_init(device_t dev) { uint8_t byte; - + + /* Enable BM and IO */ byte = pci_read_config32(dev, 0x04); byte |= 0x07; pci_write_config8(dev, 0x04, byte); - - byte = pci_read_config32(dev, 0xce); + + /* Eable VGA/ISA decoding */ + byte = pci_read_config32(dev, 0x3e); byte |= 3<<2; - pci_write_config8(dev, 0xce, byte); - + pci_write_config8(dev, 0x3e, byte); + return; } @@ -38,7 +40,6 @@ static struct pci_driver agp3bridge_driver __pci_driver = { .device = 0x7455, // AGP Bridge }; - static void agp3dev_enable(device_t dev) { uint32_t value; |