2.6.10-rc3-wli-1
Here it is. All sparc32 updates.
Most critical here are the HyperSPARC and sun4d updates as they get things booting that weren't before, though neither fixes things all the way. Another pretty nasty failure-to-boot issue that brings down distro kernels is also resolved with Jurij Smakov's initrd memcpy() fix.
The main purpose of all this is so that sparc32 hackers and users can see what's in and what isn't so they can complain about the fixes that didn't get in and then I can include those when they remind me.
Available from:
ftp://ftp.kernel.org/pub/linux/kernel/people/wli/kernels/2.6.10-rc3/2.6.10-rc3-wli-1/2.6.10-rc3-wli-1.patch.bz2
+ linus.patch
sync with last night's bk
+ fix-hypersparc-dvma.patch
fix DVMA on UP HyperSPARC
+ newport-sun4d.patch
Christ Newport and Thomas Bogendoerfer's sun4d work
+ jurij-initrd-memcpy.patch
Jurij Smakov's memcpy() fixes
+ svr4-setcontext-return.patch
return something in an error path of svr4_setcontext()
+ pcic-warnings.patch
kill off some warnings in pcic.c
+ sunsu-warnings.patch
kill off some warnings in sunsu.c
+ rtc-warnings.patch
kill off some sparc RTC driver warnings
+ vm-fault-codes.patch
fix up VM fault code handling
+ spot-floppy-fix.patch
Tom Callaway's include/asm-sparc/floppy.h fixes
+ spot-exit-fix.patch
Tom Callaway's include/asm-sparc/unistd.h fixes
+ defconfig-update.patch
Tentative defconfig update. Bug wli if you want an option turned on in the defconfig.
+ kropelin-breuer-cg6.patch
Adam Kropelin and Bob Breuer's cg6 fixes
-- wli
Hello,
Quoted 4 lines · William Lee Irwin III
Here it is. All sparc32 updates.
+ kropelin-breuer-cg6.patch
Adam Kropelin and Bob Breuer's cg6 fixes
Will you include a patch for TCX as well? I sent something a couple of days ago, but I don't know if you can call it a patch because I'm no kernel programmer. It is also based on Bob Breuers patch and at least console and X in trucolor mode work.
Regards
Georg Chini
Quoted 3 lines · William Lee Irwin III
Quoted 3 lines
Here it is. All sparc32 updates.
+ kropelin-breuer-cg6.patch
Adam Kropelin and Bob Breuer's cg6 fixes
Quoted 4 lines · Georg Chini
Will you include a patch for TCX as well? I sent something a couple of days ago, but I don't know if you can call it a patch because I'm no kernel programmer. It is also based on Bob Breuers patch and at least console and X in trucolor mode work.
I think it's already in. Could you check?
-- wli
Hello,
Quoted 6 lines · William Lee Irwin III
Quoted 3 lines · William Lee Irwin III
Quoted 3 lines
Here it is. All sparc32 updates.
+ kropelin-breuer-cg6.patch
Adam Kropelin and Bob Breuer's cg6 fixes
Quoted 8 lines
Quoted 1 line · Georg Chini
Will you include a patch for TCX as well?
I think it's already in. Could you check?
-- wli
you only included the fix for cg6. Shall I resend
the patch?
Regards
Georg Chini
Quoted 2 lines · Georg Chini
you only included the fix for cg6. Shall I resend
the patch?
Go ahead, but I think it's already in mainline. I'll check on that when you resend it.
-- wli
Hello,
here it is, could not find it in rc3-bk17 as well. It adds the pan_display function to catch switches from graphic mode, changes the prom_name from "tcx" to "SUNW,tcx" and adds the lines suggested by Bob Breuer.
Regards
Georg Chini
drivers/video/tcx.c Fri Dec 10 11:54:31 2004 renamed from drivers/video/tcx.c Fri Dec 3 22:52:07 2004 +13 -1
@@ -36,6 +36,7 @@ static int tcx_mmap(struct fb_info *, struct file *, struct vm_area_struct *); static int tcx_ioctl(struct inode *, struct file *, unsigned int, unsigned long, struct fb_info *); +static int tcx_pan_display(struct fb_var_screeninfo *, struct fb_info *); /* * Frame buffer operations
@@ -45,6 +46,7 @@ .owner = THIS_MODULE, .fb_setcolreg = tcx_setcolreg, .fb_blank = tcx_blank, + .fb_pan_display = tcx_pan_display, .fb_fillrect = cfb_fillrect, .fb_copyarea = cfb_copyarea, .fb_imageblit = cfb_imageblit,
@@ -153,6 +155,12 @@ spin_unlock_irqrestore(&par->lock, flags); } +static int tcx_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) +{ + tcx_reset(info); + return 0; +} + /** * tcx_setcolreg - Optional function. Sets a color register. * @regno: boolean, 0 copy local, 1 get_user() function
@@ -366,6 +374,9 @@ all->par.lowdepth = prom_getbool(sdev->prom_node, "tcx-8-bit"); sbusfb_fill_var(&all->info.var, sdev->prom_node, 8); + all->info.var.red.length = 8; + all->info.var.green.length = 8; + all->info.var.blue.length = 8; linebytes = prom_getintdefault(sdev->prom_node, "linebytes", all->info.var.xres);
@@ -439,6 +450,7 @@ return; } + fb_set_cmap(&all->info.cmap, &all->info); tcx_init_fix(&all->info, linebytes); if (register_framebuffer(&all->info) < 0) {
@@ -466,7 +478,7 @@ return -ENODEV; for_all_sbusdev(sdev, sbus) { - if (!strcmp(sdev->prom_name, "tcx")) + if (!strcmp(sdev->prom_name, "SUNW,tcx")) tcx_init_one(sdev); }