]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] PCI: remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Fri, 29 Jul 2005 19:16:22 +0000 (12:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 20:12:51 +0000 (13:12 -0700)
commit10f4338ca8534823bc6c843edbbe42fd4e73d258
treee0e94513f07166de7f45cfdc2b8c2199e5be7a3d
parent761a3ac08c63718dacde12aaf0ec6d6760e8c2b7
[PATCH] PCI: remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c

The setup-bus code doesn't work correctly for configurations
with more than one display adapter in the same PCI domain.
This stuff actually is a leftover of an early 2.4 PCI setup code
and apparently it stopped working after some "bridge_ctl" changes.
So the best thing we can do is just to remove it and rely on the fact
that any firmware *has* to configure VGA port forwarding for the boot
display device properly.

But then we need to ensure that the bus->bridge_ctl will always
contain valid information collected at the probe time, therefore
the following change in pci_scan_bridge() is needed.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pci/probe.c
drivers/pci/setup-bus.c