Skip to contentSkip to conversation

atyfb driver fix for 2.6.10-rc1-bk2

PATCH New Jason Wever 1 participant 1 message Oct 24, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atyfb driver fix for 2.6.10-rc1-bk2

The following patch for the atyfb driver fixes a compile issue in 2.6.10-rc1-bk2. I've tested it here locally on a Blade 100 and all seems well from what I can tell.

drivers/video/aty/atyfb_base.c renamed from drivers/video/aty/atyfb_base.c.orig +1 -1
@@ -2288,7 +2288,7 @@
 			default_par->mmap_map[1].voff =
 			    default_par->mmap_map[0].voff +
 			    info->fix.smem_len;
-			default_par->mmap_map[1].poff =
+			default_par->mmap_map[1].poff = (unsigned long)
 			    default_par->ati_regbase & PAGE_MASK;
 			default_par->mmap_map[1].size = PAGE_SIZE;
 			default_par->mmap_map[1].prot_mask = _PAGE_CACHE;
Signature · 2 lines
Jason Wever
Gentoo/Sparc Team Co-Lead