2007-10-24 06:53:43

by Robert P. J. Day

[permalink] [raw]
Subject: is CONFIG_APUS sufficiently deceased to be removed?


since a couple relatively recent commits show support for APUS being
ripped out of powerpc:

commit e6b6e3ffb9ee8926f9f2f7dc9147df73e27d5828
Author: Adrian Bunk <[email protected]>
Date: Mon Aug 27 23:29:53 2007 +0200

[POWERPC] Remove APUS support from arch/ppc

Current status of APUS:
- arch/powerpc/: removed in 2.6.23
- arch/ppc/: marked BROKEN since 2 years

This therefore removes the remaining parts of APUS support from
arch/ppc, include/asm-ppc, arch/powerpc and include/asm-powerpc.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
...
commit f21f49ea639ac3f24824177dac1268af75a2d373
Author: David Gibson <[email protected]>
Date: Wed Jun 13 14:52:54 2007 +1000

[POWERPC] Remove the dregs of APUS support from arch/powerpc

APUS (the Amiga Power-Up System) is not supported under arch/powerpc
and it's unlikely it ever will be. Therefore, this patch removes the
fragments of APUS support code from arch/powerpc which have been
copied from arch/ppc.

A few APUS references are left in asm-powerpc in .h files which are
still used from arch/ppc.

Signed-off-by: David Gibson <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
...

is it safe to assume that references to that non-existent Kconfig
variable can be tossed?

drivers/ide/ide-probe.c:#if defined(__mc68000__) || defined(CONFIG_APUS)
drivers/ide/ide-probe.c:#endif /* __mc68000__ || CONFIG_APUS */
drivers/ide/ide-probe.c:#if !defined(__mc68000__) && !defined(CONFIG_APUS)
drivers/ide/ide-probe.c:#endif /* __mc68000__ && CONFIG_APUS */
drivers/isdn/hisax/avm_pci.c:#ifdef CONFIG_APUS
drivers/isdn/hisax/avm_pci.c:#endif /* CONFIG_APUS */
drivers/isdn/hisax/avm_pci.c:#ifdef CONFIG_APUS
drivers/isdn/hisax/avm_pci.c:#endif /* CONFIG_APUS */
drivers/video/console/fbcon.c:#if defined(__mc68000__) || defined(CONFIG_APUS)
drivers/video/console/fonts.c:#if defined(__mc68000__) || defined(CONFIG_APUS)
drivers/video/console/fonts.c:#if defined(__mc68000__) || defined(CONFIG_APUS)
drivers/scsi/oktagon_esp.c:#if defined(CONFIG_AMIGA) || defined(CONFIG_APUS)
drivers/scsi/oktagon_io.S:#ifdef CONFIG_APUS
sound/oss/dmasound/dmasound_paula.c:#ifdef CONFIG_APUS [well, i'd ignore this one]

and i'm guessing this can be nullified as well, yes? no?

arch/m68k/amiga/chipram.c:#ifndef CONFIG_APUS_FAST_EXCEPT

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================


2007-10-24 11:38:48

by Adrian Bunk

[permalink] [raw]
Subject: Re: is CONFIG_APUS sufficiently deceased to be removed?

I already have a patch for this I'll submit soon.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2007-10-24 12:11:18

by Robert P. J. Day

[permalink] [raw]
Subject: Re: is CONFIG_APUS sufficiently deceased to be removed?

On Wed, 24 Oct 2007, Adrian Bunk wrote:

> I already have a patch for this I'll submit soon.

ok. shortly, i'm going to once again unleash my script for finding
dead things in the source tree, but i'll post the results on my web
site and interested parties can go peruse if they wish.

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================