Commit b53476c9 authored by Richard Henderson's avatar Richard Henderson

[ALPHA] Make sure the bridge COMMAND register is correctly set

after assigning resources.
From Jay Estabrook <Jay.Estabrook@compaq.com>.
parent 56874e74
...@@ -203,6 +203,11 @@ pci_setup_bridge(struct pci_bus *bus) ...@@ -203,6 +203,11 @@ pci_setup_bridge(struct pci_bus *bus)
Enable ISA in either case (FIXME!). */ Enable ISA in either case (FIXME!). */
l = (bus->resource[0]->flags & IORESOURCE_BUS_HAS_VGA) ? 0x0c : 0x04; l = (bus->resource[0]->flags & IORESOURCE_BUS_HAS_VGA) ? 0x0c : 0x04;
pci_write_config_word(bridge, PCI_BRIDGE_CONTROL, l); pci_write_config_word(bridge, PCI_BRIDGE_CONTROL, l);
/* Make sure the bridge COMMAND register has the appropriate
bits set, just in case...
*/
pcibios_enable_device(bridge, 0xfff);
} }
/* Check whether the bridge supports optional I/O and /* Check whether the bridge supports optional I/O and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment