lkml.org 
[lkml]   [1998]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCirrus Logic 2.1.92 change

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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.039 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site