Commit graph

3 commits

Author SHA1 Message Date
Robert Noland
fad2d794fa Locate the BIOS BAR via the pci registers if it is available.
Calculate the correct BIOS size as well.  Previously, we just
always used the standard 64k VGA bios entry at 0xc0000.  We still
do that if we don't find a BIOS BAR.
2009-02-08 06:04:32 +00:00
Robert Noland
87cc141117 Some drivers depend on pci chip revision id to function properly. We
had the info, but we weren't populating the field.  Do that now.

This fixes at least mga, possibly other drivers.

Reported by:	Mark Knight <markk@knigma.org>
Tested by:	Mark Knight <markk@knigma.org>,
		Warren Block <wblock@wonkity.com>
2009-01-29 18:50:48 +00:00
Robert Noland
70730d4ba6 We shouldn't go around frobbing pci BARs while they are enabled.
Commit these fixes until I get them committed upstream and a
release cut.

Approved by:	garga (mentor, implicit)
2009-01-25 17:05:10 +00:00