public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] asiliantfb fixes
@ 2004-06-30  2:41 Eric Lammerts
  2004-06-30  3:17 ` Paul Mundt
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Lammerts @ 2004-06-30  2:41 UTC (permalink / raw)
  To: jsimmons; +Cc: linux-kernel


Hi,
this patch fixes the asiliantfb driver. A call to the init function
was missing so it was never actually used. The other fix is in the
init function writing somewhere using a physical address instead of a
virtual address.

Eric

--- linux-2.6.7/drivers/video/fbmem.c.orig	2004-06-23 21:53:18.000000000 -0400
+++ linux-2.6.7/drivers/video/fbmem.c	2004-06-28 22:10:45.000000000 -0400
@@ -172,6 +172,7 @@
 extern int kyrofb_setup(char*);
 extern int mc68x328fb_init(void);
 extern int mc68x328fb_setup(char *);
+extern int asiliantfb_init(void);

 static struct {
 	const char *name;
@@ -245,6 +246,9 @@
 #ifdef CONFIG_FB_CT65550
 	{ "chipsfb", chips_init, NULL },
 #endif
+#ifdef CONFIG_FB_ASILIANT
+	{ "asiliant", asiliantfb_init, NULL },
+#endif
 #ifdef CONFIG_FB_IMSTT
 	{ "imsttfb", imsttfb_init, imsttfb_setup },
 #endif
--- linux-2.6.7/drivers/video/asiliantfb.c.orig	2004-06-28 22:03:38.000000000 -0400
+++ linux-2.6.7/drivers/video/asiliantfb.c	2004-06-28 22:04:28.000000000 -0400
@@ -571,7 +571,7 @@
 	}

 	pci_write_config_dword(dp, 4, 0x02800083);
-	writeb(3, addr + 0x400784);
+	writeb(3, p->screen_base + 0x400784);

 	init_asiliant(p, addr);


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] asiliantfb fixes
  2004-06-30  2:41 [PATCH] asiliantfb fixes Eric Lammerts
@ 2004-06-30  3:17 ` Paul Mundt
  2004-06-30 11:52   ` jsimmons
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Mundt @ 2004-06-30  3:17 UTC (permalink / raw)
  To: Eric Lammerts; +Cc: jsimmons, linux-kernel

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

On Tue, Jun 29, 2004 at 10:41:12PM -0400, Eric Lammerts wrote:
> this patch fixes the asiliantfb driver. A call to the init function
> was missing so it was never actually used. The other fix is in the
> init function writing somewhere using a physical address instead of a
> virtual address.
> 
The asiliantfb_init() stuff is already fixed in current BK.


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] asiliantfb fixes
  2004-06-30  3:17 ` Paul Mundt
@ 2004-06-30 11:52   ` jsimmons
  2004-06-30 13:04     ` Paul Mundt
  0 siblings, 1 reply; 4+ messages in thread
From: jsimmons @ 2004-06-30 11:52 UTC (permalink / raw)
  To: Paul Mundt; +Cc: Eric Lammerts, linux-kernel


The below fix is missing. It needs to be applied.

--- linux-2.6.7/drivers/video/asiliantfb.c.orig 2004-06-28 
22:03:38.000000000 -0400
+++ linux-2.6.7/drivers/video/asiliantfb.c      2004-06-28 
22:04:28.000000000 -0400
@@ -571,7 +571,7 @@
        }

        pci_write_config_dword(dp, 4, 0x02800083);
-       writeb(3, addr + 0x400784);
+       writeb(3, p->screen_base + 0x400784);

        init_asiliant(p, addr);


On Tue, 29 Jun 2004, Paul Mundt wrote:

> On Tue, Jun 29, 2004 at 10:41:12PM -0400, Eric Lammerts wrote:
> > this patch fixes the asiliantfb driver. A call to the init function
> > was missing so it was never actually used. The other fix is in the
> > init function writing somewhere using a physical address instead of a
> > virtual address.
> > 
> The asiliantfb_init() stuff is already fixed in current BK.
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] asiliantfb fixes
  2004-06-30 11:52   ` jsimmons
@ 2004-06-30 13:04     ` Paul Mundt
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2004-06-30 13:04 UTC (permalink / raw)
  To: jsimmons; +Cc: Eric Lammerts, Andrew Morton, linux-kernel

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

On Wed, Jun 30, 2004 at 12:52:49PM +0100, jsimmons@pentafluge.infradead.org wrote:
> 
> The below fix is missing. It needs to be applied.
> 

Yes, this still needs to be merged. Can you roll this into your next
batch of fb updates? If not, I'll pass it along, unless Andrew decides to
merge this directly.

> --- linux-2.6.7/drivers/video/asiliantfb.c.orig 2004-06-28 
> 22:03:38.000000000 -0400
> +++ linux-2.6.7/drivers/video/asiliantfb.c      2004-06-28 
> 22:04:28.000000000 -0400
> @@ -571,7 +571,7 @@
>         }
> 
>         pci_write_config_dword(dp, 4, 0x02800083);
> -       writeb(3, addr + 0x400784);
> +       writeb(3, p->screen_base + 0x400784);
> 
>         init_asiliant(p, addr);
> 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-30 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-30  2:41 [PATCH] asiliantfb fixes Eric Lammerts
2004-06-30  3:17 ` Paul Mundt
2004-06-30 11:52   ` jsimmons
2004-06-30 13:04     ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox