Cirrus Logic 2.1.92 change

George (greerga@nidhogg.ham.muohio.edu)
Sun, 5 Apr 1998 22:22:57 -0400 (EDT)


Noticed this change in 2.1.92:

@@ -737,11 +956,24 @@
* if it's a VGA, enable its BIOS ROM at C0000
*/
if ((dev->class >> 8) == PCI_CLASS_DISPLAY_VGA) {
- pcibios_write_config_dword(dev->bus->number,
+ /* but if its a Cirrus 543x/544x DISABLE it, */
+ /* since enabling ROM disables the memory... */
+ if ((dev->vendor == PCI_VENDOR_ID_CIRRUS) &&
+ (dev->device >= 0x00a0) &&
+ (dev->device <= 0x00ac)) {
+ pcibios_write_config_dword(
+ dev->bus->number,
+ dev->devfn,
+ PCI_ROM_ADDRESS,
+ 0x00000000);
+ } else {
+ pcibios_write_config_dword(
+ dev->bus->number,

And I have:

Bus 0, device 18, function 0:
VGA compatible controller: Cirrus Logic GD 5430 (rev 71).
Medium devsel. IRQ ff.
Prefetchable 32 bit memory at 0xe0000000 [0xe0000008].

However, XFree86 (3.3.1) reports for both 2.1.90 and 2.1.92:
(--) SVGA: PCI: Cirrus Logic GD5430 rev 71, Memory @ 0xe0000000
[...]
(--) SVGA: chipset: clgd5430
(--) SVGA: videoram: 2048k

So what memory am I supposed to be missing?

-George

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu