All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumba <kumba@gentoo.org>
To: sparclinux@vger.kernel.org
Subject: Blade 100, 2.6.13.2, atyfb
Date: Mon, 19 Sep 2005 02:35:31 +0000	[thread overview]
Message-ID: <432E23F3.9030603@gentoo.org> (raw)

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


Couple minor issues noted on Blade 100 running a 2.6.13.2 kernel.  They're 
probably already known, but...

A) atyfb seems h0rked still.  I think this has been looked at, but I don't 
recall a resolution yet.

B) atyfb's build seems broken due to the following:

   LD      vmlinux
drivers/built-in.o: In function `atyfb_xl_init':
: undefined reference to `aty_st_lcd'
make: *** [vmlinux] Error 1

The attached patch (attempts to) correct for this based on some studying of the 
function causing the problem.


--Kumba

-- 
Gentoo/MIPS Team Lead
Gentoo Foundation Board of Trustees

"Such is oft the course of deeds that move the wheels of the world: small hands 
do them because they must, while the eyes of the great are elsewhere."  --Elrond

[-- Attachment #2: sparc64-atyfb_xl_init.patch --]
[-- Type: text/plain, Size: 494 bytes --]

--- drivers/video/aty/xlinit.c.orig	2005-09-18 21:50:18.000000000 -0400
+++ drivers/video/aty/xlinit.c	2005-09-18 21:50:28.000000000 -0400
@@ -252,9 +252,11 @@ int atyfb_xl_init(struct fb_info *info)
 	aty_st_le32(0xEC, 0x00000000, par);
 	aty_st_le32(0xFC, 0x00000000, par);
 
+#ifdef CONFIG_FB_ATY_GENERIC_LCD
 	for (i=0; i<sizeof(lcd_tbl)/sizeof(lcd_tbl_t); i++) {
 		aty_st_lcd(lcd_tbl[i].lcd_reg, lcd_tbl[i].val, par);
 	}
+#endif
 
 	aty_st_le16(CONFIG_STAT0, 0x00A4, par);
 	mdelay(10);

             reply	other threads:[~2005-09-19  2:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-19  2:35 Kumba [this message]
2005-09-19  4:18 ` Blade 100, 2.6.13.2, atyfb Tom 'spot' Callaway
2005-09-21  7:29 ` David S. Miller

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=432E23F3.9030603@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=sparclinux@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.