[PATCH 2.4.0.9.1] Re: sisfb compile error (2.4.0-test8)

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sat Sep 16 2000 - 15:02:34 EDT

  • Next message: Rik van Riel: "Re: folk: no more resource available"

    This patch should fix sisfb the right way... You don't want to define
    ...LINUXBIOS for normal situations..

            Jeff

    -- 
    Jeff Garzik              | Would you *really* want to
    Building 1024            | get on a non-stop flight?
    MandrakeSoft, Inc.       |       -- George Carlin
    
    

    Index: drivers/video/sisfb.c =================================================================== RCS file: /g/cvslan/linux_2_3/drivers/video/sisfb.c,v retrieving revision 1.1.1.8 diff -u -r1.1.1.8 sisfb.c --- drivers/video/sisfb.c 2000/09/05 03:41:24 1.1.1.8 +++ drivers/video/sisfb.c 2000/09/16 19:01:14 @@ -356,8 +356,6 @@ 0x0B, 0x0C, 0x0D, 0x0F, 0x10 }; -#ifdef CONFIG_FB_SIS_LINUXBIOS - #define Monitor1Sense 0x20 unsigned char SRegsInit[] = { @@ -371,6 +369,8 @@ 0x8e, 0x40, 0x00, 0x00, 0x08, 0x00, 0xff, 0xff }; +#ifdef CONFIG_FB_SIS_LINUXBIOS + unsigned char SRegs[] = { 0x03, 0x01, 0x0F, 0x00, 0x0E, 0xA1, 0x02, 0x13, 0x3F, 0x86, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, @@ -1440,7 +1440,6 @@ static u16 get_modeID_length(unsigned long ROMAddr, u16 ModeNo) { - unsigned char ModeID; u16 modeidlength; u16 usModeIDOffset; unsigned short PreviousWord,CurrentWord;

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Sep 16 2000 - 15:06:55 EDT