Messages in this thread Patch in this message | | | Date | Tue, 29 Jun 2004 22:41:12 -0400 (EDT) | From | Eric Lammerts <> | Subject | [PATCH] asiliantfb fixes |
| |
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);
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |