2.3.24 patch and kernel for ppc
From: Ani Joshi <hidden>
Date: 1999-11-02 16:06:11
attached you will find a patch against a vanilla (linus) 2.3.24
kernel, which should fix some of the outstanding problems with 2.3 on ppc.
You can also find the patch along with a 2.3.24 kernel at:
ftp://devel.linuxppc.org/users/ajoshi/
here's a rundown of whats in the patch:
o arch/ppc/defconfig:
somebody changed the default config to Gemini, so instead
of making it the normal pmac/chrp/prep which isn't all
that great, i made it simple pmac, since some of the
prep issues haven't been sorted out yet
o arch/ppc/kernel/pmac_setup.c
level2 cache flag for when printk'ing "Level 2 cache
enabled", which is printed where the machine has
l2 cache or not
o arch/ppc/kernel/setup.c
added the get_pvr() value for PowerPC 7400 (G4) which
*still* isn't in there (!)
o arch/ppc/kernel/pmac_support.c
some #ifdef's for CONFIG_ADB_PMU
o arch/ppc/kernel/ppc_ksyms.c
more #ifdefs for CONFIG_ADB_PMU
o arch/ppc/kernel/time.c
regressed Cort's timer_interrupt() changes mostly
becaue of paranoia, acutally i was really tired of
it panic'ing i regressed this, but the real bug was
this next one
o arch/ppc/mm/init.c
in freeing bootmem bitmap from available mem, size
should be boot_mapsize
o drivers/block/ide-pmac.c
many #ifdef CONFIG_PMAC_PBOOK's for all the
media_bay calls
o drivers/block/swim3.c
see ide-pmac.c
o drivers/net/pcnet32.c
kept it from probing VLB on ppc, which causes a panic
o drivers/video/aty128fb.c
#ifndef's around the non-OF and non-PPC functions
o drivers/video/chipsfb.c
fixed missing declarations for the vc_mode and fb_info
for xpmac compatibility
o fs/hfs/file.c
removed update_vm_cache() which is *still* in there (!)
and yes, doing simply this *does* work on my system,
no HFS problems at all so far
o include/linux/fb.h
added definition for FB_ACCEL_ATI_RAGE128
o drivers/block/swim3.c
see ide-pmac.c
o drivers/net/pcnet32.c
kept it from probing VLB on ppc, which causes a panic
o drivers/video/aty128fb.c
#ifndef's around the non-OF and non-PPC functions
o drivers/video/chipsfb.c
fixed missing declarations for the vc_mode and fb_info
for xpmac compatibility
o fs/hfs/file.c
removed update_vm_cache() which is *still* in there (!)
and yes, doing simply this *does* work on my system,
no HFS problems at all so far
o include/linux/fb.h
added definition for FB_ACCEL_ATI_RAGE128
also some stuff which i keep forgetting about and didn't feel like fixing
but should be addressed:
o drivers/macintosh/mediabay.c
this driver is only built if CONFIG_PMAC_PBOOK, yet
there are (redundant) #ifdef CONFIG_PMAC_PBOOK's in there
o arch/ppc/kernel/Makefile
why are the chrp, pmac, and gemini objects all used?
shouldn't it *only* be pmacs in there and then put 2
more ifeq($(CONFIG_CHRP),y)'s for the chrp and
gemini objs?
if anyone feels brave and wants to play with 2.3, please try the patch or
kernel and lemme know, thanks.
ani
Attachments
- 2.3.24-ppc.patch [text/plain] 15817 bytes · preview