mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Young-Ho. Cha" <ganadist@nakyup.mizi.com>
To: alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org
Subject: [fix]some radeon build problem
Date: Fri, 2 Mar 2001 12:56:09 +0900	[thread overview]
Message-ID: <20010302125609.A19296@nakyup.mizi.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 104 bytes --]

I have found some problem in building kernel with radeonfb 16bpp support at 2.4.2-ac8.

here is patch. 

[-- Attachment #2: linux-2.4.2-ac8-radeonfb.patch --]
[-- Type: text/plain, Size: 681 bytes --]

--- linux/drivers/video/radeonfb.c.orig	Fri Mar  2 12:29:15 2001
+++ linux/drivers/video/radeonfb.c	Fri Mar  2 12:29:28 2001
@@ -845,9 +845,11 @@
 
 	rinfo->depth = disp->var.bits_per_pixel;	
         switch (disp->var.bits_per_pixel) {
+#ifdef FBCON_HAS_CFB8
                 case 8:
                         disp->dispsw = &fbcon_cfb8;
                         break;
+#endif			
 #ifdef FBCON_HAS_CFB16
                 case 16:
                         disp->dispsw = &fbcon_cfb16;
@@ -1322,8 +1322,8 @@
   		       		i = (regno << 8) | regno;
             			rinfo->con_cmap.cfb32[regno] = (i << 16) | i;
 		        	break;
-#endif
         		}
+#endif
 		}
         }
 #endif

                 reply	other threads:[~2001-03-02  3:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010302125609.A19296@nakyup.mizi.com \
    --to=ganadist@nakyup.mizi.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®