All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Breuer <breuerr@mc.net>
To: sparclinux@vger.kernel.org
Subject: Re: Sparc32 - SS5 - TCX-Framebuffer und RTC
Date: Thu, 09 Dec 2004 03:30:18 +0000	[thread overview]
Message-ID: <41B7C6CA.3070501@mc.net> (raw)
In-Reply-To: <41B7752C.90808@triaton-webhosting.com>

Georg Chini wrote:
 > Hello,
 >
 > when compiling 2.6.10-rc3 for my SS5 I have
 > following problems:
 >
 > 1) TCX-Framebuffer:
...
 >    b) FB-Console does not work:
 >       When I boot the system with FB-Console I get a blank
 >       black screen. System boots fine, only nothing is
 >       displayed.

I had a similar problem with the cg14 framebuffer, maybe this snippet from
the cg14 fix will help you:

@@ -484,8 +493,11 @@
   	spin_lock_init(&all->par.lock);

   	sbusfb_fill_var(&all->info.var, node, 8);
+	all->info.var.red.length = 8;
+	all->info.var.green.length = 8;
+	all->info.var.blue.length = 8;

@@ -561,6 +573,7 @@
   		kfree(all);
   		return;
   	}
+	fb_set_cmap(&all->info.cmap, &all->info);

   	cg14_init_fix(&all->info, linebytes);


 >
 > 2) RTC:
 >    When compiling with RTC-support I get following messages
 >    from make image:
 >
 >   ...
 >
 >       CC      drivers/sbus/char/rtc.o
 >     drivers/sbus/char/rtc.c: In function `get_rtc_time':
 >     drivers/sbus/char/rtc.c:33: warning: initialization makes integer
 > from pointer without a cast
 >     drivers/sbus/char/rtc.c:38: warning: implicit declaration of
 > function `readb'
 >     drivers/sbus/char/rtc.c:40: warning: implicit declaration of
 > function `writeb'
 >     drivers/sbus/char/rtc.c: In function `set_rtc_time':
 >     drivers/sbus/char/rtc.c:60: warning: initialization makes integer
 > from pointer without a cast
 >

Broken by a recent change in include/asm-sparc/mostek.h, need to include
<asm/io.h> from there now.

Does anyone know if sbus_readb/sbus_writeb should be used there instead of
readb/writeb ?

Bob


  parent reply	other threads:[~2004-12-09  3:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-08 21:42 Sparc32 - SS5 - TCX-Framebuffer und RTC Georg Chini
2004-12-08 21:52 ` William Lee Irwin III
2004-12-08 22:01 ` William Lee Irwin III
2004-12-09  3:30 ` Bob Breuer [this message]
2004-12-09  4:45 ` 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=41B7C6CA.3070501@mc.net \
    --to=breuerr@mc.net \
    --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.