• David Vrabel's avatar
    [PATCH] gx1fb: (try to) play nicer with various BIOSes · a80da738
    David Vrabel authored
    Seems that the CS5530A chip used in Geode GX1 systems has some crazy feature
    that causes SMI traps when accessing the PCI configuration space of the video
    device.  Various GX1 BIOSes seem to use this 'feature' to hide the real BARs
    of the device.  This patch disables these traps (in an early PCI fixup) so
    that Linux sees the real, physical BARs and not the virtual ones provided by
    the BIOS.
    
    This should allow the GX1 framebuffer driver to work on more systems that have
    different BIOSes as the driver no longer guesses at what the virtual BARs
    mean.
    
    I'm not entirely sure it the correct solution as I can neither test regular
    VGA console nor the X's 'cyrix' video driver so there might be some breakage
    there -- probably best to get some more testers before applying it.
    Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a80da738
fixup.c 15.5 KB