You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(210) |
Jun
(169) |
Jul
(167) |
Aug
(128) |
Sep
(218) |
Oct
(120) |
Nov
(86) |
Dec
(71) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(91) |
Feb
(179) |
Mar
(52) |
Apr
(56) |
May
(183) |
Jun
(62) |
Jul
(63) |
Aug
(49) |
Sep
(36) |
Oct
(35) |
Nov
(72) |
Dec
(30) |
2002 |
Jan
(53) |
Feb
(61) |
Mar
(56) |
Apr
(13) |
May
(1) |
Jun
(7) |
Jul
(80) |
Aug
(73) |
Sep
(30) |
Oct
(29) |
Nov
(8) |
Dec
(40) |
2003 |
Jan
(10) |
Feb
(2) |
Mar
(4) |
Apr
(9) |
May
(3) |
Jun
(19) |
Jul
(64) |
Aug
(53) |
Sep
(28) |
Oct
(7) |
Nov
(3) |
Dec
(21) |
2004 |
Jan
(11) |
Feb
(30) |
Mar
(18) |
Apr
(1) |
May
(13) |
Jun
(18) |
Jul
(13) |
Aug
|
Sep
(9) |
Oct
(5) |
Nov
|
Dec
|
2005 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(10) |
Aug
(21) |
Sep
(7) |
Oct
(10) |
Nov
(6) |
Dec
|
2006 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
(2) |
Sep
(6) |
Oct
(10) |
Nov
(8) |
Dec
(3) |
2007 |
Jan
(3) |
Feb
(6) |
Mar
(1) |
Apr
(6) |
May
(10) |
Jun
(7) |
Jul
(13) |
Aug
(8) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
From: Geert U. <ge...@li...> - 2007-10-25 19:51:01
|
On Wed, 24 Oct 2007, Adrian Bunk wrote: > After the APUS removal, some code can be removed. > > Signed-off-by: Adrian Bunk <bu...@ke...> Acked-by: Geert Uytterhoeven <ge...@li...> > --- > > arch/m68k/amiga/chipram.c | 2 > drivers/ide/ide-probe.c | 8 +-- > drivers/isdn/hisax/avm_pci.c | 8 --- > drivers/scsi/a2091.c | 3 - > drivers/scsi/a3000.c | 3 - > drivers/scsi/gvp11.c | 3 - > drivers/scsi/oktagon_esp.c | 2 > drivers/scsi/oktagon_io.S | 72 ---------------------------- > drivers/video/console/fbcon.c | 2 > drivers/video/console/fonts.c | 4 - > include/asm-m68k/pgtable.h | 2 > sound/oss/dmasound/Kconfig | 2 > sound/oss/dmasound/dmasound_paula.c | 4 - > 13 files changed, 12 insertions(+), 103 deletions(-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |
From: Adrian B. <bu...@ke...> - 2007-10-24 20:28:49
|
After the APUS removal, some code can be removed. Signed-off-by: Adrian Bunk <bu...@ke...> --- arch/m68k/amiga/chipram.c | 2 drivers/ide/ide-probe.c | 8 +-- drivers/isdn/hisax/avm_pci.c | 8 --- drivers/scsi/a2091.c | 3 - drivers/scsi/a3000.c | 3 - drivers/scsi/gvp11.c | 3 - drivers/scsi/oktagon_esp.c | 2 drivers/scsi/oktagon_io.S | 72 ---------------------------- drivers/video/console/fbcon.c | 2 drivers/video/console/fonts.c | 4 - include/asm-m68k/pgtable.h | 2 sound/oss/dmasound/Kconfig | 2 sound/oss/dmasound/dmasound_paula.c | 4 - 13 files changed, 12 insertions(+), 103 deletions(-) 557134975b5c1098cd42a6295670723ecfb35b57 diff --git a/arch/m68k/amiga/chipram.c b/arch/m68k/amiga/chipram.c index fa015d8..75d4626 100644 --- a/arch/m68k/amiga/chipram.c +++ b/arch/m68k/amiga/chipram.c @@ -29,12 +29,10 @@ void __init amiga_chip_init(void) if (!AMIGAHW_PRESENT(CHIP_RAM)) return; -#ifndef CONFIG_APUS_FAST_EXCEPT /* * Remove the first 4 pages where PPC exception handlers will be located */ amiga_chip_size -= 0x4000; -#endif chipram_res.end = amiga_chip_size-1; request_resource(&iomem_resource, &chipram_res); diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 6a6f2e0..1664e2d 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1062,9 +1062,9 @@ static int init_irq (ide_hwif_t *hwif) */ if (!match || match->irq != hwif->irq) { int sa = IRQF_DISABLED; -#if defined(__mc68000__) || defined(CONFIG_APUS) +#if defined(__mc68000__) sa = IRQF_SHARED; -#endif /* __mc68000__ || CONFIG_APUS */ +#endif /* __mc68000__ */ if (IDE_CHIPSET_IS_PCI(hwif->chipset)) { sa = IRQF_SHARED; @@ -1107,7 +1107,7 @@ static int init_irq (ide_hwif_t *hwif) spin_unlock_irq(&ide_lock); } -#if !defined(__mc68000__) && !defined(CONFIG_APUS) +#if !defined(__mc68000__) printk("%s at 0x%03lx-0x%03lx,0x%03lx on irq %d", hwif->name, hwif->io_ports[IDE_DATA_OFFSET], hwif->io_ports[IDE_DATA_OFFSET]+7, @@ -1115,7 +1115,7 @@ static int init_irq (ide_hwif_t *hwif) #else printk("%s at 0x%08lx on irq %d", hwif->name, hwif->io_ports[IDE_DATA_OFFSET], hwif->irq); -#endif /* __mc68000__ && CONFIG_APUS */ +#endif /* __mc68000__ */ if (match) printk(" (%sed with %s)", hwif->sharing_irq ? "shar" : "serializ", match->name); diff --git a/drivers/isdn/hisax/avm_pci.c b/drivers/isdn/hisax/avm_pci.c index f8b7978..be55a26 100644 --- a/drivers/isdn/hisax/avm_pci.c +++ b/drivers/isdn/hisax/avm_pci.c @@ -263,11 +263,7 @@ hdlc_empty_fifo(struct BCState *bcs, int count) outl(idx, cs->hw.avm.cfg_reg + 4); while (cnt < count) { #ifdef __powerpc__ -#ifdef CONFIG_APUS - *ptr++ = in_le32((unsigned *)(cs->hw.avm.isac +_IO_BASE)); -#else *ptr++ = in_be32((unsigned *)(cs->hw.avm.isac +_IO_BASE)); -#endif /* CONFIG_APUS */ #else *ptr++ = inl(cs->hw.avm.isac); #endif /* __powerpc__ */ @@ -328,11 +324,7 @@ hdlc_fill_fifo(struct BCState *bcs) if (cs->subtyp == AVM_FRITZ_PCI) { while (cnt<count) { #ifdef __powerpc__ -#ifdef CONFIG_APUS - out_le32((unsigned *)(cs->hw.avm.isac +_IO_BASE), *ptr++); -#else out_be32((unsigned *)(cs->hw.avm.isac +_IO_BASE), *ptr++); -#endif /* CONFIG_APUS */ #else outl(*ptr++, cs->hw.avm.isac); #endif /* __powerpc__ */ diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c index b7c5385..0d4c593 100644 --- a/drivers/scsi/a2091.c +++ b/drivers/scsi/a2091.c @@ -46,8 +46,7 @@ static int dma_setup(struct scsi_cmnd *cmd, int dir_in) struct Scsi_Host *instance = cmd->device->host; /* don't allow DMA if the physical address is bad */ - if (addr & A2091_XFER_MASK || - (!dir_in && mm_end_of_chunk (addr, cmd->SCp.this_residual))) + if (addr & A2091_XFER_MASK) { HDATA(instance)->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; diff --git a/drivers/scsi/a3000.c b/drivers/scsi/a3000.c index 796f1c4..b3a6c58 100644 --- a/drivers/scsi/a3000.c +++ b/drivers/scsi/a3000.c @@ -54,8 +54,7 @@ static int dma_setup(struct scsi_cmnd *cmd, int dir_in) * end of a physical memory chunk, then allocate a bounce * buffer */ - if (addr & A3000_XFER_MASK || - (!dir_in && mm_end_of_chunk (addr, cmd->SCp.this_residual))) + if (addr & A3000_XFER_MASK) { HDATA(a3000_host)->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; diff --git a/drivers/scsi/gvp11.c b/drivers/scsi/gvp11.c index 37741e9..91f8522 100644 --- a/drivers/scsi/gvp11.c +++ b/drivers/scsi/gvp11.c @@ -54,8 +54,7 @@ static int dma_setup(struct scsi_cmnd *cmd, int dir_in) static int scsi_alloc_out_of_range = 0; /* use bounce buffer if the physical address is bad */ - if (addr & HDATA(cmd->device->host)->dma_xfer_mask || - (!dir_in && mm_end_of_chunk (addr, cmd->SCp.this_residual))) + if (addr & HDATA(cmd->device->host)->dma_xfer_mask) { HDATA(cmd->device->host)->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; diff --git a/drivers/scsi/oktagon_esp.c b/drivers/scsi/oktagon_esp.c index 8e5eadb..c2c65ac 100644 --- a/drivers/scsi/oktagon_esp.c +++ b/drivers/scsi/oktagon_esp.c @@ -7,7 +7,7 @@ */ -#if defined(CONFIG_AMIGA) || defined(CONFIG_APUS) +#if defined(CONFIG_AMIGA) #define USE_BOTTOM_HALF #endif diff --git a/drivers/scsi/oktagon_io.S b/drivers/scsi/oktagon_io.S index 8a7340b..d294625 100644 --- a/drivers/scsi/oktagon_io.S +++ b/drivers/scsi/oktagon_io.S @@ -24,77 +24,6 @@ int oktag_from_io(long *addr,long *paddr,long len) */ -#ifdef CONFIG_APUS - - .file "oktagon_io.c" - -gcc2_compiled.: -/* - .section ".text" -*/ - .align 2 - .globl oktag_to_io - .type oktag_to_io,@function -oktag_to_io: - addi 5,5,3 - srwi 5,5,2 - cmpwi 1,5,0 - mr 9,3 - mr 3,4 - addi 5,5,-1 - bc 12,6,.L3 -.L5: - cmpwi 1,5,0 - lwz 0,0(3) - addi 3,3,4 - addi 5,5,-1 -exp1: stw 0,0(9) - bc 4,6,.L5 -.L3: -ret1: subf 3,4,3 - srawi 3,3,2 - blr -.Lfe1: - .size oktag_to_io,.Lfe1-oktag_to_io - .align 2 - .globl oktag_from_io - .type oktag_from_io,@function -oktag_from_io: - addi 5,5,3 - srwi 5,5,2 - cmpwi 1,5,0 - mr 9,3 - addi 5,5,-1 - bc 12,6,.L9 -.L11: - cmpwi 1,5,0 -exp2: lwz 0,0(4) - addi 5,5,-1 - stw 0,0(3) - addi 3,3,4 - bc 4,6,.L11 -.L9: -ret2: subf 3,9,3 - srawi 3,3,2 - blr -.Lfe2: - .size oktag_from_io,.Lfe2-oktag_from_io - .ident "GCC: (GNU) egcs-2.90.29 980515 (egcs-1.0.3 release)" - -/* - * Exception table. - * Second longword shows where to jump when an exception at the addr the first - * longword is pointing to is caught. - */ - -.section __ex_table,"a" - .align 2 -oktagon_except: - .long exp1,ret1 - .long exp2,ret2 - -#else - /* The code which follows is for 680x0 based assembler and is meant for Linux/m68k. It was created by cross compiling the code using the @@ -191,4 +120,3 @@ oktagon_except: .long exp2,ret2 #endif -#endif diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 0f32f4a..2cedb49 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c @@ -84,7 +84,7 @@ #ifdef CONFIG_MAC #include <asm/macints.h> #endif -#if defined(__mc68000__) || defined(CONFIG_APUS) +#if defined(__mc68000__) #include <asm/machdep.h> #include <asm/setup.h> #endif diff --git a/drivers/video/console/fonts.c b/drivers/video/console/fonts.c index 96979c3..d0c03fd 100644 --- a/drivers/video/console/fonts.c +++ b/drivers/video/console/fonts.c @@ -15,7 +15,7 @@ #include <linux/module.h> #include <linux/types.h> #include <linux/string.h> -#if defined(__mc68000__) || defined(CONFIG_APUS) +#if defined(__mc68000__) #include <asm/setup.h> #endif #include <linux/font.h> @@ -120,7 +120,7 @@ const struct font_desc *get_default_font(int xres, int yres, u32 font_w, for(i=0; i<num_fonts; i++) { f = fonts[i]; c = f->pref; -#if defined(__mc68000__) || defined(CONFIG_APUS) +#if defined(__mc68000__) #ifdef CONFIG_FONT_PEARL_8x8 if (MACH_IS_AMIGA && f->idx == PEARL8x8_IDX) c = 100; diff --git a/include/asm-m68k/pgtable.h b/include/asm-m68k/pgtable.h index 778a4c5..0b604f0 100644 --- a/include/asm-m68k/pgtable.h +++ b/include/asm-m68k/pgtable.h @@ -107,8 +107,6 @@ extern void *empty_zero_page; /* 64-bit machines, beware! SRB. */ #define SIZEOF_PTR_LOG2 2 -#define mm_end_of_chunk(addr, len) 0 - extern void kernel_set_cachemode(void *addr, unsigned long size, int cmode); /* diff --git a/sound/oss/dmasound/Kconfig b/sound/oss/dmasound/Kconfig index 71b3134..3eb7827 100644 --- a/sound/oss/dmasound/Kconfig +++ b/sound/oss/dmasound/Kconfig @@ -14,7 +14,7 @@ config DMASOUND_ATARI config DMASOUND_PAULA tristate "Amiga DMA sound support" - depends on (AMIGA || APUS) && SOUND + depends on AMIGA && SOUND select DMASOUND help If you want to use the internal audio of your Amiga in Linux, answer diff --git a/sound/oss/dmasound/dmasound_paula.c b/sound/oss/dmasound/dmasound_paula.c index 90fc058..202e810 100644 --- a/sound/oss/dmasound/dmasound_paula.c +++ b/sound/oss/dmasound/dmasound_paula.c @@ -91,10 +91,6 @@ static irqreturn_t AmiInterrupt(int irq, void *dummy); * power LED are controlled by the same line. */ -#ifdef CONFIG_APUS -#define mach_heartbeat ppc_md.heartbeat -#endif - static void (*saved_heartbeat)(int) = NULL; static inline void disable_heartbeat(void) |
From: Geert U. <ge...@li...> - 2007-08-28 07:44:37
|
---------- Forwarded message ---------- Date: Mon, 27 Aug 2007 23:29:53 +0200 From: Adrian Bunk <bu...@ke...> To: Andrew Morton <ak...@li...> Cc: Kumar Gala <ga...@fr...>, David Gibson <da...@gi...>, Paul Mackerras <pa...@sa...>, lin...@oz..., lin...@vg..., lin...@vg... Subject: [2.6 patch] ppc: remove APUS support Current status of APUS: - arch/powerpc/: removed in 2.6.23 - arch/ppc/: marked BROKEN since 2 years This patch therefore removes the remaining parts of APUS support. Signed-off-by: Adrian Bunk <bu...@st...> --- This patch has been sent on: - 29 Jul 2007 - 1 Jul 2007 Due to a charset problem that might corrupt the patch (a comment contains a non UTF-8 character) the same patch is also attached compressed. arch/m68k/amiga/chipram.c | 2 arch/powerpc/kernel/setup_32.c | 1 arch/ppc/Kconfig | 148 ---- arch/ppc/Makefile | 1 arch/ppc/amiga/Makefile | 8 arch/ppc/amiga/amiga_ksyms.c | 1 arch/ppc/amiga/amiints.c | 322 --------- arch/ppc/amiga/amisound.c | 1 arch/ppc/amiga/bootinfo.c | 78 -- arch/ppc/amiga/chipram.c | 1 arch/ppc/amiga/cia.c | 176 ----- arch/ppc/amiga/config.c | 953 ---------------------------- arch/ppc/amiga/ints.c | 158 ---- arch/ppc/amiga/pcmcia.c | 1 arch/ppc/amiga/time.c | 57 - arch/ppc/configs/apus_defconfig | 920 --------------------------- arch/ppc/kernel/head.S | 117 --- arch/ppc/kernel/ppc_ksyms.c | 3 arch/ppc/kernel/setup.c | 1 arch/ppc/mm/pgtable.c | 38 - arch/ppc/platforms/Makefile | 4 arch/ppc/platforms/apus_pci.c | 207 ------ arch/ppc/platforms/apus_pci.h | 34 arch/ppc/platforms/apus_setup.c | 798 ----------------------- drivers/ide/ide-probe.c | 8 drivers/isdn/hisax/avm_pci.c | 8 drivers/scsi/a2091.c | 3 drivers/scsi/a3000.c | 3 drivers/scsi/gvp11.c | 3 drivers/scsi/oktagon_esp.c | 2 drivers/scsi/oktagon_io.S | 72 -- drivers/video/console/fbcon.c | 2 drivers/video/console/fonts.c | 4 include/asm-m68k/pgtable.h | 2 include/asm-powerpc/ide.h | 2 include/asm-powerpc/reg.h | 4 include/asm-ppc/amigahw.h | 16 include/asm-ppc/amigaints.h | 133 --- include/asm-ppc/amigappc.h | 85 -- include/asm-ppc/bootinfo.h | 5 include/asm-ppc/io.h | 48 - include/asm-ppc/machdep.h | 4 include/asm-ppc/page.h | 44 - include/asm-ppc/pgtable.h | 8 sound/oss/dmasound/Kconfig | 2 sound/oss/dmasound/dmasound_paula.c | 4 46 files changed, 24 insertions(+), 4468 deletions(-) --- linux-2.6.22-rc6-mm1/arch/ppc/Kconfig.old 2007-06-30 00:50:49.000000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/ppc/Kconfig 2007-06-30 01:37:18.000000000 +0200 @@ -573,24 +573,9 @@ choice Select PReP if configuring for a PReP machine. - Select Gemini if configuring for a Synergy Microsystems' Gemini - series Single Board Computer. More information is available at: - <http://www.synergymicro.com/PressRel/97_10_15.html>. - - Select APUS if configuring for a PowerUP Amiga. More information is - available at: <http://linux-apus.sourceforge.net/>. - config PPC_PREP bool "PReP" -config APUS - bool "Amiga-APUS" - depends on BROKEN - help - Select APUS if configuring for a PowerUP Amiga. - More information is available at: - <http://linux-apus.sourceforge.net/>. - config KATANA bool "Artesyn-Katana" help @@ -1027,132 +1012,6 @@ config CMDLINE some command-line options at build time by entering them here. In most cases you will need to specify the root device here. -config AMIGA - bool - depends on APUS - default y - help - This option enables support for the Amiga series of computers. - -config ZORRO - bool - depends on APUS - default y - help - This enables support for the Zorro bus in the Amiga. If you have - expansion cards in your Amiga that conform to the Amiga - AutoConfig(tm) specification, say Y, otherwise N. Note that even - expansion cards that do not fit in the Zorro slots but fit in e.g. - the CPU slot may fall in this category, so you have to say Y to let - Linux use these. - -config ABSTRACT_CONSOLE - bool - depends on APUS - default y - -config APUS_FAST_EXCEPT - bool - depends on APUS - default y - -config AMIGA_PCMCIA - bool "Amiga 1200/600 PCMCIA support" - depends on APUS && EXPERIMENTAL - help - Include support in the kernel for pcmcia on Amiga 1200 and Amiga - 600. If you intend to use pcmcia cards say Y; otherwise say N. - -config AMIGA_BUILTIN_SERIAL - tristate "Amiga builtin serial support" - depends on APUS - help - If you want to use your Amiga's built-in serial port in Linux, - answer Y. - - To compile this driver as a module, choose M here. - -config GVPIOEXT - tristate "GVP IO-Extender support" - depends on APUS - help - If you want to use a GVP IO-Extender serial card in Linux, say Y. - Otherwise, say N. - -config GVPIOEXT_LP - tristate "GVP IO-Extender parallel printer support" - depends on GVPIOEXT - help - Say Y to enable driving a printer from the parallel port on your - GVP IO-Extender card, N otherwise. - -config GVPIOEXT_PLIP - tristate "GVP IO-Extender PLIP support" - depends on GVPIOEXT - help - Say Y to enable doing IP over the parallel port on your GVP - IO-Extender card, N otherwise. - -config MULTIFACE_III_TTY - tristate "Multiface Card III serial support" - depends on APUS - help - If you want to use a Multiface III card's serial port in Linux, - answer Y. - - To compile this driver as a module, choose M here. - -config A2232 - tristate "Commodore A2232 serial support (EXPERIMENTAL)" - depends on EXPERIMENTAL && APUS - ---help--- - This option supports the 2232 7-port serial card shipped with the - Amiga 2000 and other Zorro-bus machines, dating from 1989. At - a max of 19,200 bps, the ports are served by a 6551 ACIA UART chip - each, plus a 8520 CIA, and a master 6502 CPU and buffer as well. The - ports were connected with 8 pin DIN connectors on the card bracket, - for which 8 pin to DB25 adapters were supplied. The card also had - jumpers internally to toggle various pinning configurations. - - This driver can be built as a module; but then "generic_serial" - will also be built as a module. This has to be loaded before - "ser_a2232". If you want to do this, answer M here. - -config WHIPPET_SERIAL - tristate "Hisoft Whippet PCMCIA serial support" - depends on AMIGA_PCMCIA - help - HiSoft has a web page at <http://www.hisoft.co.uk/>, but there - is no listing for the Whippet in their Amiga section. - -config APNE - tristate "PCMCIA NE2000 support" - depends on AMIGA_PCMCIA - help - If you have a PCMCIA NE2000 compatible adapter, say Y. Otherwise, - say N. - - To compile this driver as a module, choose M here: the - module will be called apne. - -config SERIAL_CONSOLE - bool "Support for serial port console" - depends on APUS && (AMIGA_BUILTIN_SERIAL=y || GVPIOEXT=y || MULTIFACE_III_TTY=y) - -config HEARTBEAT - bool "Use power LED as a heartbeat" - depends on APUS - help - Use the power-on LED on your machine as a load meter. The exact - behavior is platform-dependent, but normally the flash frequency is - a hyperbolic function of the 5-minute load average. - -config PROC_HARDWARE - bool "/proc/hardware support" - depends on APUS - -source "drivers/zorro/Kconfig" - if !44x || BROKEN source kernel/power/Kconfig endif @@ -1227,8 +1086,7 @@ config MCA config PCI bool "PCI support" if 40x || CPM2 || 83xx || 85xx || PPC_MPC52xx - default y if !40x && !CPM2 && !8xx && !APUS && !83xx && !85xx - default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS + default y if !40x && !CPM2 && !8xx && !83xx && !85xx default PCI_QSPAN if !4xx && !CPM2 && 8xx help Find out whether your system includes a PCI bus. PCI is the name of @@ -1282,10 +1140,6 @@ config 8260_PCI9_IDMA4 endchoice -config PCI_PERMEDIA - bool "PCI for Permedia2" - depends on !4xx && !8xx && APUS - source "drivers/pci/Kconfig" source "drivers/pcmcia/Kconfig" --- linux-2.6.22-rc6-mm1/sound/oss/dmasound/Kconfig.old 2007-06-30 00:59:18.000000000 +0200 +++ linux-2.6.22-rc6-mm1/sound/oss/dmasound/Kconfig 2007-06-30 00:59:31.000000000 +0200 @@ -14,7 +14,7 @@ config DMASOUND_ATARI config DMASOUND_PAULA tristate "Amiga DMA sound support" - depends on (AMIGA || APUS) && SOUND + depends on AMIGA && SOUND select DMASOUND help If you want to use the internal audio of your Amiga in Linux, answer --- linux-2.6.22-rc6-mm1/arch/m68k/amiga/chipram.c.old 2007-06-30 01:01:00.000000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/m68k/amiga/chipram.c 2007-06-30 01:01:08.000000000 +0200 @@ -29,12 +29,10 @@ void __init amiga_chip_init(void) if (!AMIGAHW_PRESENT(CHIP_RAM)) return; -#ifndef CONFIG_APUS_FAST_EXCEPT /* * Remove the first 4 pages where PPC exception handlers will be located */ amiga_chip_size -= 0x4000; -#endif chipram_res.end = amiga_chip_size-1; request_resource(&iomem_resource, &chipram_res); --- linux-2.6.22-rc6-mm1/arch/ppc/Makefile.old 2007-06-30 01:01:52.000000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/ppc/Makefile 2007-06-30 01:01:57.000000000 +0200 @@ -69,7 +69,6 @@ core-$(CONFIG_83xx) += arch/ppc/platfor core-$(CONFIG_85xx) += arch/ppc/platforms/85xx/ core-$(CONFIG_MATH_EMULATION) += arch/powerpc/math-emu/ core-$(CONFIG_XMON) += arch/ppc/xmon/ -core-$(CONFIG_APUS) += arch/ppc/amiga/ drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/ drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/ drivers-$(CONFIG_CPM2) += arch/ppc/8260_io/ --- linux-2.6.22-rc6-mm1/arch/ppc/kernel/head.S.old 2007-06-30 01:03:15.000000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/ppc/kernel/head.S 2007-06-30 01:04:54.000000000 +0200 @@ -32,10 +32,6 @@ #include <asm/ppc_asm.h> #include <asm/asm-offsets.h> -#ifdef CONFIG_APUS -#include <asm/amigappc.h> -#endif - /* 601 only have IBAT; cr0.eq is set on 601 when using this macro */ #define LOAD_BAT(n, reg, RA, RB) \ /* see the comment for clear_bats() -- Cort */ \ @@ -128,14 +124,6 @@ __start: */ bl early_init -#ifdef CONFIG_APUS -/* On APUS the __va/__pa constants need to be set to the correct - * values before continuing. - */ - mr r4,r30 - bl fix_mem_constants -#endif /* CONFIG_APUS */ - /* Switch MMU off, clear BATs and flush TLB. At this point, r3 contains * the physical address we are running at, returned by early_init() */ @@ -145,7 +133,7 @@ __after_mmu_off: bl flush_tlbs bl initial_bats -#if !defined(CONFIG_APUS) && defined(CONFIG_BOOTX_TEXT) +#ifdef CONFIG_BOOTX_TEXT bl setup_disp_bat #endif @@ -161,7 +149,6 @@ __after_mmu_off: #endif /* CONFIG_6xx */ -#ifndef CONFIG_APUS /* * We need to run with _start at physical address 0. * If the MMU is already turned on, we copy stuff to KERNELBASE, @@ -172,7 +159,7 @@ __after_mmu_off: addis r4,r3,KERNELBASE@h /* current address of _start */ cmpwi 0,r4,0 /* are we already running at 0? */ bne relocate_kernel -#endif /* CONFIG_APUS */ + /* * we now have the 1st 16M of ram mapped with the bats. * prep needs the mmu to be turned on here, but pmac already has it on. @@ -812,85 +799,6 @@ copy_and_flush: addi r6,r6,4 blr -#ifdef CONFIG_APUS -/* - * On APUS the physical base address of the kernel is not known at compile - * time, which means the __pa/__va constants used are incorrect. In the - * __init section is recorded the virtual addresses of instructions using - * these constants, so all that has to be done is fix these before - * continuing the kernel boot. - * - * r4 = The physical address of the kernel base. - */ -fix_mem_constants: - mr r10,r4 - addis r10,r10,-KERNELBASE@h /* virt_to_phys constant */ - neg r11,r10 /* phys_to_virt constant */ - - lis r12,__vtop_table_begin@h - ori r12,r12,__vtop_table_begin@l - add r12,r12,r10 /* table begin phys address */ - lis r13,__vtop_table_end@h - ori r13,r13,__vtop_table_end@l - add r13,r13,r10 /* table end phys address */ - subi r12,r12,4 - subi r13,r13,4 -1: lwzu r14,4(r12) /* virt address of instruction */ - add r14,r14,r10 /* phys address of instruction */ - lwz r15,0(r14) /* instruction, now insert top */ - rlwimi r15,r10,16,16,31 /* half of vp const in low half */ - stw r15,0(r14) /* of instruction and restore. */ - dcbst r0,r14 /* write it to memory */ - sync - icbi r0,r14 /* flush the icache line */ - cmpw r12,r13 - bne 1b - sync /* additional sync needed on g4 */ - isync - -/* - * Map the memory where the exception handlers will - * be copied to when hash constants have been patched. - */ -#ifdef CONFIG_APUS_FAST_EXCEPT - lis r8,0xfff0 -#else - lis r8,0 -#endif - ori r8,r8,0x2 /* 128KB, supervisor */ - mtspr SPRN_DBAT3U,r8 - mtspr SPRN_DBAT3L,r8 - - lis r12,__ptov_table_begin@h - ori r12,r12,__ptov_table_begin@l - add r12,r12,r10 /* table begin phys address */ - lis r13,__ptov_table_end@h - ori r13,r13,__ptov_table_end@l - add r13,r13,r10 /* table end phys address */ - subi r12,r12,4 - subi r13,r13,4 -1: lwzu r14,4(r12) /* virt address of instruction */ - add r14,r14,r10 /* phys address of instruction */ - lwz r15,0(r14) /* instruction, now insert top */ - rlwimi r15,r11,16,16,31 /* half of pv const in low half*/ - stw r15,0(r14) /* of instruction and restore. */ - dcbst r0,r14 /* write it to memory */ - sync - icbi r0,r14 /* flush the icache line */ - cmpw r12,r13 - bne 1b - - sync /* additional sync needed on g4 */ - isync /* No speculative loading until now */ - blr - -/*********************************************************************** - * Please note that on APUS the exception handlers are located at the - * physical address 0xfff0000. For this reason, the exception handlers - * cannot use relative branches to access the code below. - ***********************************************************************/ -#endif /* CONFIG_APUS */ - #ifdef CONFIG_SMP .globl __secondary_start_pmac_0 __secondary_start_pmac_0: @@ -1043,19 +951,6 @@ start_here: bl machine_init bl MMU_init -#ifdef CONFIG_APUS - /* Copy exception code to exception vector base on APUS. */ - lis r4,KERNELBASE@h -#ifdef CONFIG_APUS_FAST_EXCEPT - lis r3,0xfff0 /* Copy to 0xfff00000 */ -#else - lis r3,0 /* Copy to 0x00000000 */ -#endif - li r5,0x4000 /* # bytes of memory to copy */ - li r6,0 - bl copy_and_flush /* copy the first 0x4000 bytes */ -#endif /* CONFIG_APUS */ - /* * Go back to running unmapped so we can load up new values * for SDR1 (hash table pointer) and the segment registers @@ -1232,11 +1127,7 @@ initial_bats: #else ori r8,r8,2 /* R/W access */ #endif /* CONFIG_SMP */ -#ifdef CONFIG_APUS - ori r11,r11,BL_8M<<2|0x2 /* set up 8MB BAT registers for 604 */ -#else ori r11,r11,BL_256M<<2|0x2 /* set up BAT registers for 604 */ -#endif /* CONFIG_APUS */ mtspr SPRN_DBAT0L,r8 /* N.B. 6xx (not 601) have valid */ mtspr SPRN_DBAT0U,r11 /* bit in upper BAT register */ @@ -1245,7 +1136,7 @@ initial_bats: isync blr -#if !defined(CONFIG_APUS) && defined(CONFIG_BOOTX_TEXT) +#ifdef CONFIG_BOOTX_TEXT setup_disp_bat: /* * setup the display bat prepared for us in prom.c @@ -1268,7 +1159,7 @@ setup_disp_bat: mtspr SPRN_IBAT3U,r11 blr -#endif /* !defined(CONFIG_APUS) && defined(CONFIG_BOOTX_TEXT) */ +#endif /* defined(CONFIG_BOOTX_TEXT) */ #ifdef CONFIG_8260 /* Jump into the system reset for the rom. --- linux-2.6.22-rc6-mm1/arch/ppc/platforms/Makefile.old 2007-06-30 01:05:05.000000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/ppc/platforms/Makefile 2007-06-30 01:05:19.000000000 +0200 @@ -2,10 +2,6 @@ # Makefile for the linux kernel. # -obj-$(CONFIG_APUS) += apus_setup.o -ifeq ($(CONFIG_APUS),y) -obj-$(CONFIG_PCI) += apus_pci.o -endif obj-$(CONFIG_PPC_PREP) += prep_pci.o prep_setup.o obj-$(CONFIG_PREP_RESIDUAL) += residual.o obj-$(CONFIG_PQ2ADS) += pq2ads.o --- linux-2.6.22-rc6-mm1/drivers/ide/ide-probe.c.old 2007-06-30 01:06:35.000000000 +0200 +++ linux-2.6.22-rc6-mm1/drivers/ide/ide-probe.c 2007-06-30 01:07:23.000000000 +0200 @@ -1096,9 +1096,9 @@ static int init_irq (ide_hwif_t *hwif) */ if (!match || match->irq != hwif->irq) { int sa = IRQF_DISABLED; -#if defined(__mc68000__) || defined(CONFIG_APUS) +#if defined(__mc68000__) sa = IRQF_SHARED; -#endif /* __mc68000__ || CONFIG_APUS */ +#endif /* __mc68000__ */ if (IDE_CHIPSET_IS_PCI(hwif->chipset)) { sa = IRQF_SHARED; @@ -1141,7 +1141,7 @@ static int init_irq (ide_hwif_t *hwif) spin_unlock_irq(&ide_lock); } -#if !defined(__mc68000__) && !defined(CONFIG_APUS) +#if !defined(__mc68000__) printk("%s at 0x%03lx-0x%03lx,0x%03lx on irq %d", hwif->name, hwif->io_ports[IDE_DATA_OFFSET], hwif->io_ports[IDE_DATA_OFFSET]+7, @@ -1149,7 +1149,7 @@ static int init_irq (ide_hwif_t *hwif) #else printk("%s at 0x%08lx on irq %d", hwif->name, hwif->io_ports[IDE_DATA_OFFSET], hwif->irq); -#endif /* __mc68000__ && CONFIG_APUS */ +#endif /* __mc68000__ */ if (match) printk(" (%sed with %s)", hwif->sharing_irq ? "shar" : "serializ", match->name); --- linux-2.6.22-rc6-mm1/drivers/isdn/hisax/avm_pci.c.old 2007-06-30 01:07:31.000000000 +0200 +++ linux-2.6.22-rc6-mm1/drivers/isdn/hisax/avm_pci.c 2007-06-30 01:07:48.000000000 +0200 @@ -264,11 +264,7 @@ hdlc_empty_fifo(struct BCState *bcs, int outl(idx, cs->hw.avm.cfg_reg + 4); while (cnt < count) { #ifdef __powerpc__ -#ifdef CONFIG_APUS - *ptr++ = in_le32((unsigned *)(cs->hw.avm.isac +_IO_BASE)); -#else *ptr++ = in_be32((unsigned *)(cs->hw.avm.isac +_IO_BASE)); -#endif /* CONFIG_APUS */ #else *ptr++ = inl(cs->hw.avm.isac); #endif /* __powerpc__ */ @@ -329,11 +325,7 @@ hdlc_fill_fifo(struct BCState *bcs) if (cs->subtyp == AVM_FRITZ_PCI) { while (cnt<count) { #ifdef __powerpc__ -#ifdef CONFIG_APUS - out_le32((unsigned *)(cs->hw.avm.isac +_IO_BASE), *ptr++); -#else out_be32((unsigned *)(cs->hw.avm.isac +_IO_BASE), *ptr++); -#endif /* CONFIG_APUS */ #else outl(*ptr++, cs->hw.avm.isac); #endif /* __powerpc__ */ --- linux-2.6.22-rc6-mm1/drivers/scsi/oktagon_esp.c.old 2007-06-30 01:07:59.000000000 +0200 +++ linux-2.6.22-rc6-mm1/drivers/scsi/oktagon_esp.c 2007-06-30 01:08:10.000000000 +0200 @@ -7,7 +7,7 @@ */ -#if defined(CONFIG_AMIGA) || defined(CONFIG_APUS) +#if defined(CONFIG_AMIGA) #define USE_BOTTOM_HALF #endif --- linux-2.6.22-rc6-mm1/drivers/scsi/oktagon_io.S.old 2007-06-30 01:08:38.000000000 +0200 +++ linux-2.6.22-rc6-mm1/drivers/scsi/oktagon_io.S 2007-06-30 01:09:05.000000000 +0200 @@ -24,77 +24,6 @@ int oktag_from_io(long *addr,long *paddr */ -#ifdef CONFIG_APUS - - .file "oktagon_io.c" - -gcc2_compiled.: -/* - .section ".text" -*/ - .align 2 - .globl oktag_to_io - .type oktag_to_io,@function -oktag_to_io: - addi 5,5,3 - srwi 5,5,2 - cmpwi 1,5,0 - mr 9,3 - mr 3,4 - addi 5,5,-1 - bc 12,6,.L3 -.L5: - cmpwi 1,5,0 - lwz 0,0(3) - addi 3,3,4 - addi 5,5,-1 -exp1: stw 0,0(9) - bc 4,6,.L5 -.L3: -ret1: subf 3,4,3 - srawi 3,3,2 - blr -.Lfe1: - .size oktag_to_io,.Lfe1-oktag_to_io - .align 2 - .globl oktag_from_io - .type oktag_from_io,@function -oktag_from_io: - addi 5,5,3 - srwi 5,5,2 - cmpwi 1,5,0 - mr 9,3 - addi 5,5,-1 - bc 12,6,.L9 -.L11: - cmpwi 1,5,0 -exp2: lwz 0,0(4) - addi 5,5,-1 - stw 0,0(3) - addi 3,3,4 - bc 4,6,.L11 -.L9: -ret2: subf 3,9,3 - srawi 3,3,2 - blr -.Lfe2: - .size oktag_from_io,.Lfe2-oktag_from_io - .ident "GCC: (GNU) egcs-2.90.29 980515 (egcs-1.0.3 release)" - -/* - * Exception table. - * Second longword shows where to jump when an exception at the addr the first - * longword is pointing to is caught. - */ - -.section __ex_table,"a" - .align 2 -oktagon_except: - .long exp1,ret1 - .long exp2,ret2 - -#else - /* The code which follows is for 680x0 based assembler and is meant for Linux/m68k. It was created by cross compiling the code using the @@ -191,4 +120,3 @@ oktagon_except: .long exp2,ret2 #endif -#endif --- linux-2.6.22-rc6-mm1/drivers/video/console/fbcon.c.old 2007-06-30 01:09:16.000000000 +0200 +++ linux-2.6.22-rc6-mm1/drivers/video/console/fbcon.c 2007-06-30 01:09:23.000000000 +0200 @@ -85,7 +85,7 @@ #ifdef CONFIG_MAC #include <asm/macints.h> #endif -#if defined(__mc68000__) || defined(CONFIG_APUS) +#if defined(__mc68000__) #include <asm/machdep.h> #include <asm/setup.h> #endif --- linux-2.6.22-rc6-mm1/drivers/video/console/fonts.c.old 2007-06-30 01:09:33.000000000 +0200 +++ linux-2.6.22-rc6-mm1/drivers/video/console/fonts.c 2007-06-30 01:09:44.000000000 +0200 @@ -15,7 +15,7 @@ #include <linux/module.h> #include <linux/types.h> #include <linux/string.h> -#if defined(__mc68000__) || defined(CONFIG_APUS) +#if defined(__mc68000__) #include <asm/setup.h> #endif #include <linux/font.h> @@ -120,7 +120,7 @@ const struct font_desc *get_default_font for(i=0; i<num_fonts; i++) { f = fonts[i]; c = f->pref; -#if defined(__mc68000__) || defined(CONFIG_APUS) +#if defined(__mc68000__) #ifdef CONFIG_FONT_PEARL_8x8 if (MACH_IS_AMIGA && f->idx == PEARL8x8_IDX) c = 100; --- linux-2.6.22-rc6-mm1/include/asm-powerpc/ide.h.old 2007-06-30 01:10:00.000000000 +0200 +++ linux-2.6.22-rc6-mm1/include/asm-powerpc/ide.h 2007-06-30 01:10:14.000000000 +0200 @@ -67,7 +67,7 @@ static __inline__ unsigned long ide_defa #define ide_init_default_irq(base) ide_default_irq(base) #endif -#if (defined CONFIG_APUS || defined CONFIG_BLK_DEV_MPC8xx_IDE ) +#ifdef CONFIG_BLK_DEV_MPC8xx_IDE #define IDE_ARCH_ACK_INTR 1 #define ide_ack_intr(hwif) (hwif->hw.ack_intr ? hwif->hw.ack_intr(hwif) : 1) #endif --- linux-2.6.22-rc6-mm1/include/asm-powerpc/reg.h.old 2007-06-30 01:10:22.000000000 +0200 +++ linux-2.6.22-rc6-mm1/include/asm-powerpc/reg.h 2007-06-30 01:10:31.000000000 +0200 @@ -102,12 +102,8 @@ #else /* 32-bit */ /* Default MSR for kernel mode. */ #ifndef MSR_KERNEL /* reg_booke.h also defines this */ -#ifdef CONFIG_APUS_FAST_EXCEPT -#define MSR_KERNEL (MSR_ME|MSR_IP|MSR_RI|MSR_IR|MSR_DR) -#else #define MSR_KERNEL (MSR_ME|MSR_RI|MSR_IR|MSR_DR) #endif -#endif #define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE) #endif --- linux-2.6.22-rc6-mm1/include/asm-ppc/bootinfo.h.old 2007-06-30 01:12:56.000000000 +0200 +++ linux-2.6.22-rc6-mm1/include/asm-ppc/bootinfo.h 2007-06-30 01:13:07.000000000 +0200 @@ -11,10 +11,6 @@ #include <asm/page.h> -#if defined(CONFIG_APUS) && !defined(__BOOTER__) -#include <asm-m68k/bootinfo.h> -#else - struct bi_record { unsigned long tag; /* tag ID */ unsigned long size; /* size of record (in bytes) */ @@ -44,7 +40,6 @@ bootinfo_addr(unsigned long offset) return (struct bi_record *)_ALIGN((offset) + (1 << 20) - 1, (1 << 20)); } -#endif /* CONFIG_APUS */ #endif /* _PPC_BOOTINFO_H */ --- linux-2.6.22-rc6-mm1/include/asm-ppc/io.h.old 2007-06-30 01:13:17.000000000 +0200 +++ linux-2.6.22-rc6-mm1/include/asm-ppc/io.h 2007-06-30 02:00:34.000000000 +0200 @@ -30,7 +30,7 @@ #include <asm/mpc8xx.h> #elif defined(CONFIG_8260) #include <asm/mpc8260.h> -#elif defined(CONFIG_APUS) || !defined(CONFIG_PCI) +#elif !defined(CONFIG_PCI) #define _IO_BASE 0 #define _ISA_MEM_BASE 0 #define PCI_DRAM_OFFSET 0 @@ -145,24 +145,7 @@ static inline void writeb(__u8 b, volati } #endif -#if defined(CONFIG_APUS) -static inline __u16 readw(const volatile void __iomem *addr) -{ - return *(__force volatile __u16 *)(addr); -} -static inline __u32 readl(const volatile void __iomem *addr) -{ - return *(__force volatile __u32 *)(addr); -} -static inline void writew(__u16 b, volatile void __iomem *addr) -{ - *(__force volatile __u16 *)(addr) = b; -} -static inline void writel(__u32 b, volatile void __iomem *addr) -{ - *(__force volatile __u32 *)(addr) = b; -} -#elif defined (CONFIG_8260_PCI9) +#if defined (CONFIG_8260_PCI9) /* Use macros if PCI9 workaround enabled */ #define readw(addr) in_le16((volatile u16 *)(addr)) #define readl(addr) in_le32((volatile u32 *)(addr)) @@ -185,7 +168,7 @@ static inline void writel(__u32 b, volat { out_le32(addr, b); } -#endif /* CONFIG_APUS */ +#endif /* CONFIG_8260_PCI9 */ #define readb_relaxed(addr) readb(addr) #define readw_relaxed(addr) readw(addr) @@ -300,13 +283,7 @@ extern __inline__ void name(unsigned int } __do_out_asm(outb, "stbx") -#ifdef CONFIG_APUS -__do_in_asm(inb, "lbzx") -__do_in_asm(inw, "lhz%U1%X1") -__do_in_asm(inl, "lwz%U1%X1") -__do_out_asm(outl,"stw%U0%X0") -__do_out_asm(outw, "sth%U0%X0") -#elif defined (CONFIG_8260_PCI9) +#if defined (CONFIG_8260_PCI9) /* in asm cannot be defined if PCI9 workaround is used */ #define inb(port) in_8((port)+___IO_BASE) #define inw(port) in_le16((port)+___IO_BASE) @@ -371,7 +348,6 @@ extern void __iomem *ioremap64(unsigned #define ioremap_nocache(addr, size) ioremap((addr), (size)) extern void iounmap(volatile void __iomem *addr); extern unsigned long iopa(unsigned long addr); -extern unsigned long mm_ptov(unsigned long addr) __attribute_const__; extern void io_block_mapping(unsigned long virt, phys_addr_t phys, unsigned int size, int flags); @@ -384,24 +360,16 @@ extern void io_block_mapping(unsigned lo */ extern inline unsigned long virt_to_bus(volatile void * address) { -#ifndef CONFIG_APUS if (address == (void *)0) return 0; return (unsigned long)address - KERNELBASE + PCI_DRAM_OFFSET; -#else - return iopa ((unsigned long) address); -#endif } extern inline void * bus_to_virt(unsigned long address) { -#ifndef CONFIG_APUS if (address == 0) return NULL; return (void *)(address - PCI_DRAM_OFFSET + KERNELBASE); -#else - return (void*) mm_ptov (address); -#endif } /* @@ -410,20 +378,12 @@ extern inline void * bus_to_virt(unsigne */ extern inline unsigned long virt_to_phys(volatile void * address) { -#ifndef CONFIG_APUS return (unsigned long) address - KERNELBASE; -#else - return iopa ((unsigned long) address); -#endif } extern inline void * phys_to_virt(unsigned long address) { -#ifndef CONFIG_APUS return (void *) (address + KERNELBASE); -#else - return (void*) mm_ptov (address); -#endif } /* --- linux-2.6.22-rc6-mm1/include/asm-ppc/machdep.h.old 2007-06-30 01:14:22.000000000 +0200 +++ linux-2.6.22-rc6-mm1/include/asm-ppc/machdep.h 2007-06-30 01:14:31.000000000 +0200 @@ -8,10 +8,6 @@ #include <asm/setup.h> #include <asm/page.h> -#ifdef CONFIG_APUS -#include <asm-m68k/machdep.h> -#endif - struct pt_regs; struct pci_bus; struct pci_dev; --- linux-2.6.22-rc6-mm1/include/asm-ppc/page.h.old 2007-06-30 01:14:41.000000000 +0200 +++ linux-2.6.22-rc6-mm1/include/asm-ppc/page.h 2007-06-30 01:20:35.000000000 +0200 @@ -97,62 +97,22 @@ extern void clear_user_page(void *page, extern void copy_user_page(void *to, void *from, unsigned long vaddr, struct page *pg); -#ifndef CONFIG_APUS #define PPC_MEMSTART 0 -#define PPC_PGSTART 0 #define PPC_MEMOFFSET PAGE_OFFSET -#else -extern unsigned long ppc_memstart; -extern unsigned long ppc_pgstart; -extern unsigned long ppc_memoffset; -#define PPC_MEMSTART ppc_memstart -#define PPC_PGSTART ppc_pgstart -#define PPC_MEMOFFSET ppc_memoffset -#endif - -#if defined(CONFIG_APUS) && !defined(MODULE) -/* map phys->virtual and virtual->phys for RAM pages */ -static inline unsigned long ___pa(unsigned long v) -{ - unsigned long p; - asm volatile ("1: addis %0, %1, %2;" - ".section \".vtop_fixup\",\"aw\";" - ".align 1;" - ".long 1b;" - ".previous;" - : "=r" (p) - : "b" (v), "K" (((-PAGE_OFFSET) >> 16) & 0xffff)); - return p; -} -static inline void* ___va(unsigned long p) -{ - unsigned long v; - asm volatile ("1: addis %0, %1, %2;" - ".section \".ptov_fixup\",\"aw\";" - ".align 1;" - ".long 1b;" - ".previous;" - : "=r" (v) - : "b" (p), "K" (((PAGE_OFFSET) >> 16) & 0xffff)); - - return (void*) v; -} -#else #define ___pa(vaddr) ((vaddr)-PPC_MEMOFFSET) #define ___va(paddr) ((paddr)+PPC_MEMOFFSET) -#endif extern int page_is_ram(unsigned long pfn); #define __pa(x) ___pa((unsigned long)(x)) #define __va(x) ((void *)(___va((unsigned long)(x)))) -#define ARCH_PFN_OFFSET (PPC_PGSTART) +#define ARCH_PFN_OFFSET 0 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) #define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT) -#define pfn_valid(pfn) (((pfn) - PPC_PGSTART) < max_mapnr) +#define pfn_valid(pfn) ((pfn) < max_mapnr) #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) /* Pure 2^n version of get_order */ --- linux-2.6.22-rc6-mm1/include/asm-ppc/pgtable.h.old 2007-06-30 01:22:25.000000000 +0200 +++ linux-2.6.22-rc6-mm1/include/asm-ppc/pgtable.h 2007-06-30 01:58:12.000000000 +0200 @@ -772,14 +772,6 @@ extern void paging_init(void); #define pte_to_pgoff(pte) (pte_val(pte) >> 3) #define pgoff_to_pte(off) ((pte_t) { ((off) << 3) | _PAGE_FILE }) -/* CONFIG_APUS */ -/* For virtual address to physical address conversion */ -extern void cache_clear(__u32 addr, int length); -extern void cache_push(__u32 addr, int length); -extern int mm_end_of_chunk (unsigned long addr, int len); -extern unsigned long iopa(unsigned long addr); -extern unsigned long mm_ptov(unsigned long addr) __attribute_const__; - /* Values for nocacheflag and cmode */ /* These are not used by the APUS kernel_map, but prevents compilation errors. */ --- linux-2.6.22-rc6-mm1/include/asm-m68k/pgtable.h.old 2007-06-30 01:23:33.000000000 +0200 +++ linux-2.6.22-rc6-mm1/include/asm-m68k/pgtable.h 2007-06-30 01:23:43.000000000 +0200 @@ -107,8 +107,6 @@ extern void *empty_zero_page; /* 64-bit machines, beware! SRB. */ #define SIZEOF_PTR_LOG2 2 -#define mm_end_of_chunk(addr, len) 0 - extern void kernel_set_cachemode(void *addr, unsigned long size, int cmode); /* --- linux-2.6.22-rc6-mm1/drivers/scsi/a2091.c.old 2007-06-30 01:23:53.000000000 +0200 +++ linux-2.6.22-rc6-mm1/drivers/scsi/a2091.c 2007-06-30 01:24:08.000000000 +0200 @@ -46,8 +46,7 @@ static int dma_setup(struct scsi_cmnd *c struct Scsi_Host *instance = cmd->device->host; /* don't allow DMA if the physical address is bad */ - if (addr & A2091_XFER_MASK || - (!dir_in && mm_end_of_chunk (addr, cmd->SCp.this_residual))) + if (addr & A2091_XFER_MASK) { HDATA(instance)->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; --- linux-2.6.22-rc6-mm1/drivers/scsi/a3000.c.old 2007-06-30 01:24:17.000000000 +0200 +++ linux-2.6.22-rc6-mm1/drivers/scsi/a3000.c 2007-06-30 01:24:26.000000000 +0200 @@ -54,8 +54,7 @@ static int dma_setup(struct scsi_cmnd *c * end of a physical memory chunk, then allocate a bounce * buffer */ - if (addr & A3000_XFER_MASK || - (!dir_in && mm_end_of_chunk (addr, cmd->SCp.this_residual))) + if (addr & A3000_XFER_MASK) { HDATA(a3000_host)->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; --- linux-2.6.22-rc6-mm1/drivers/scsi/gvp11.c.old 2007-06-30 01:24:35.000000000 +0200 +++ linux-2.6.22-rc6-mm1/drivers/scsi/gvp11.c 2007-06-30 01:24:46.000000000 +0200 @@ -54,8 +54,7 @@ static int dma_setup(struct scsi_cmnd *c static int scsi_alloc_out_of_range = 0; /* use bounce buffer if the physical address is bad */ - if (addr & HDATA(cmd->device->host)->dma_xfer_mask || - (!dir_in && mm_end_of_chunk (addr, cmd->SCp.this_residual))) + if (addr & HDATA(cmd->device->host)->dma_xfer_mask) { HDATA(cmd->device->host)->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; --- linux-2.6.22-rc6-mm1/sound/oss/dmasound/dmasound_paula.c.old 2007-06-30 01:26:29.000000000 +0200 +++ linux-2.6.22-rc6-mm1/sound/oss/dmasound/dmasound_paula.c 2007-06-30 01:26:54.000000000 +0200 @@ -91,10 +91,6 @@ static irqreturn_t AmiInterrupt(int irq, * power LED are controlled by the same line. */ -#ifdef CONFIG_APUS -#define mach_heartbeat ppc_md.heartbeat -#endif - static void (*saved_heartbeat)(int) = NULL; static inline void disable_heartbeat(void) --- linux-2.6.22-rc6-mm1/arch/powerpc/kernel/setup_32.c.old 2007-06-30 01:49:26.000000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/powerpc/kernel/setup_32.c 2007-06-30 01:49:35.000000000 +0200 @@ -24,7 +24,6 @@ #include <asm/processor.h> #include <asm/pgtable.h> #include <asm/setup.h> -#include <asm/amigappc.h> #include <asm/smp.h> #include <asm/elf.h> #include <asm/cputable.h> --- linux-2.6.22-rc6-mm1/arch/ppc/kernel/setup.c.old 2007-06-30 01:49:46.000000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/ppc/kernel/setup.c 2007-06-30 01:49:50.000000000 +0200 @@ -25,7 +25,6 @@ #include <asm/pgtable.h> #include <asm/bootinfo.h> #include <asm/setup.h> -#include <asm/amigappc.h> #include <asm/smp.h> #include <asm/elf.h> #include <asm/cputable.h> --- linux-2.6.22-rc6-mm1/arch/ppc/kernel/ppc_ksyms.c.old 2007-06-30 01:55:00.000000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/ppc/kernel/ppc_ksyms.c 2007-06-30 01:55:10.000000000 +0200 @@ -60,6 +60,4 @@ long long __lshrdi3(long long, int); -extern unsigned long mm_ptov (unsigned long paddr); - EXPORT_SYMBOL(clear_pages); EXPORT_SYMBOL(clear_user_page); @@ -119,7 +117,6 @@ EXPORT_SYMBOL(_outsw_ns); EXPORT_SYMBOL(_insl_ns); EXPORT_SYMBOL(_outsl_ns); EXPORT_SYMBOL(iopa); -EXPORT_SYMBOL(mm_ptov); EXPORT_SYMBOL(ioremap); #ifdef CONFIG_44x EXPORT_SYMBOL(ioremap64); --- linux-2.6.22-rc6-mm1/arch/ppc/mm/pgtable.c.old 2007-06-30 01:55:21.000000000 +0200 +++ linux-2.6.22-rc6-mm1/arch/ppc/mm/pgtable.c 2007-06-30 01:55:31.000000000 +0200 @@ -426,41 +426,3 @@ unsigned long iopa(unsigned long addr) return(pa); } -/* This is will find the virtual address for a physical one.... - * Swiped from APUS, could be dangerous :-). - * This is only a placeholder until I really find a way to make this - * work. -- Dan - */ -unsigned long -mm_ptov (unsigned long paddr) -{ - unsigned long ret; -#if 0 - if (paddr < 16*1024*1024) - ret = ZTWO_VADDR(paddr); - else { - int i; - - for (i = 0; i < kmap_chunk_count;){ - unsigned long phys = kmap_chunks[i++]; - unsigned long size = kmap_chunks[i++]; - unsigned long virt = kmap_chunks[i++]; - if (paddr >= phys - && paddr < (phys + size)){ - ret = virt + paddr - phys; - goto exit; - } - } - - ret = (unsigned long) __va(paddr); - } -exit: -#ifdef DEBUGPV - printk ("PTOV(%lx)=%lx\n", paddr, ret); -#endif -#else - ret = (unsigned long)paddr + KERNELBASE; -#endif - return ret; -} - --- linux-2.6.22-rc6-mm1/arch/ppc/amiga/amiga_ksyms.c 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1 +0,0 @@ -#include "../../m68k/amiga/amiga_ksyms.c" --- linux-2.6.22-rc6-mm1/arch/ppc/amiga/chipram.c 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1 +0,0 @@ -#include "../../m68k/amiga/chipram.c" --- linux-2.6.22-rc6-mm1/arch/ppc/amiga/Makefile 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1,8 +0,0 @@ -# -# Makefile for Linux arch/m68k/amiga source directory -# - -obj-y := config.o amiints.o cia.o time.o bootinfo.o amisound.o \ - chipram.o amiga_ksyms.o - -obj-$(CONFIG_AMIGA_PCMCIA) += pcmcia.o --- linux-2.6.22-rc6-mm1/arch/ppc/amiga/amiints.c 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1,322 +0,0 @@ -/* - * Amiga Linux interrupt handling code - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file COPYING in the main directory of this archive - * for more details. - * - * 11/07/96: rewritten interrupt handling, irq lists are exists now only for - * this sources where it makes sense (VERTB/PORTS/EXTER) and you must - * be careful that dev_id for this sources is unique since this the - * only possibility to distinguish between different handlers for - * free_irq. irq lists also have different irq flags: - * - IRQ_FLG_FAST: handler is inserted at top of list (after other - * fast handlers) - * - IRQ_FLG_SLOW: handler is inserted at bottom of list and before - * they're executed irq level is set to the previous - * one, but handlers don't need to be reentrant, if - * reentrance occurred, slow handlers will be just - * called again. - * The whole interrupt handling for CIAs is moved to cia.c - * /Roman Zippel - * - * 07/08/99: rewamp of the interrupt handling - we now have two types of - * interrupts, normal and fast handlers, fast handlers being - * marked with SA_INTERRUPT and runs with all other interrupts - * disabled. Normal interrupts disable their own source but - * run with all other interrupt sources enabled. - * PORTS and EXTER interrupts are always shared even if the - * drivers do not explicitly mark this when calling - * request_irq which they really should do. - * This is similar to the way interrupts are handled on all - * other architectures and makes a ton of sense besides - * having the advantage of making it easier to share - * drivers. - * /Jes - */ - -#include <linux/types.h> -#include <linux/kernel.h> -#include <linux/sched.h> -#include <linux/interrupt.h> -#include <linux/irq.h> -#include <linux/kernel_stat.h> -#include <linux/init.h> - -#include <asm/system.h> -#include <asm/irq.h> -#include <asm/traps.h> -#include <asm/amigahw.h> -#include <asm/amigaints.h> -#include <asm/amipcmcia.h> - -#ifdef CONFIG_APUS -#include <asm/amigappc.h> -#endif - -extern void cia_init_IRQ(struct ciabase *base); - -unsigned short ami_intena_vals[AMI_STD_IRQS] = { - IF_VERTB, IF_COPER, IF_AUD0, IF_AUD1, IF_AUD2, IF_AUD3, IF_BLIT, - IF_DSKSYN, IF_DSKBLK, IF_RBF, IF_TBE, IF_SOFT, IF_PORTS, IF_EXTER -}; -static const unsigned char ami_servers[AMI_STD_IRQS] = { - 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 -}; - -static short ami_ablecount[AMI_IRQS]; - -static void ami_badint(int irq, void *dev_id, struct pt_regs *fp) -{ -/* num_spurious += 1;*/ -} - -/* - * void amiga_init_IRQ(void) - * - * Parameters: None - * - * Returns: Nothing - * - * This function should be called during kernel startup to initialize - * the amiga IRQ handling routines. - */ - -__init -void amiga_init_IRQ(void) -{ - int i; - - for (i = 0; i < AMI_IRQS; i++) - ami_ablecount[i] = 0; - - /* turn off PCMCIA interrupts */ - if (AMIGAHW_PRESENT(PCMCIA)) - gayle.inten = GAYLE_IRQ_IDE; - - /* turn off all interrupts... */ - amiga_custom.intena = 0x7fff; - amiga_custom.intreq = 0x7fff; - -#ifdef CONFIG_APUS - /* Clear any inter-CPU interrupt requests. Circumvents bug in - Blizzard IPL emulation HW (or so it appears). */ - APUS_WRITE(APUS_INT_LVL, INTLVL_SETRESET | INTLVL_MASK); - - /* Init IPL emulation. */ - APUS_WRITE(APUS_REG_INT, REGINT_INTMASTER | REGINT_ENABLEIPL); - APUS_WRITE(APUS_IPL_EMU, IPLEMU_DISABLEINT); - APUS_WRITE(APUS_IPL_EMU, IPLEMU_SETRESET | IPLEMU_IPLMASK); -#endif - /* ... and enable the master interrupt bit */ - amiga_custom.intena = IF_SETCLR | IF_INTEN; - - cia_init_IRQ(&ciaa_base); - cia_init_IRQ(&ciab_base); -} - -/* - * Enable/disable a particular machine specific interrupt source. - * Note that this may affect other interrupts in case of a shared interrupt. - * This function should only be called for a _very_ short time to change some - * internal data, that may not be changed by the interrupt at the same time. - * ami_(enable|disable)_irq calls may also be nested. - */ - -void amiga_enable_irq(unsigned int irq) -{ - if (irq >= AMI_IRQS) { - printk("%s: Unknown IRQ %d\n", __FUNCTION__, irq); - return; - } - - ami_ablecount[irq]--; - if (ami_ablecount[irq]<0) - ami_ablecount[irq]=0; - else if (ami_ablecount[irq]) - return; - - /* No action for auto-vector interrupts */ - if (irq >= IRQ_AMIGA_AUTO){ - printk("%s: Trying to enable auto-vector IRQ %i\n", - __FUNCTION__, irq - IRQ_AMIGA_AUTO); - return; - } - - if (irq >= IRQ_AMIGA_CIAA) { - cia_set_irq(irq, 0); - cia_able_irq(irq, 1); - return; - } - - /* enable the interrupt */ - amiga_custom.intena = IF_SETCLR | ami_intena_vals[irq]; -} - -void amiga_disable_irq(unsigned int irq) -{ - if (irq >= AMI_IRQS) { - printk("%s: Unknown IRQ %d\n", __FUNCTION__, irq); - return; - } - - if (ami_ablecount[irq]++) - return; - - /* No action for auto-vector interrupts */ - if (irq >= IRQ_AMIGA_AUTO) { - printk("%s: Trying to disable auto-vector IRQ %i\n", - __FUNCTION__, irq - IRQ_AMIGA_AUTO); - return; - } - - if (irq >= IRQ_AMIGA_CIAA) { - cia_able_irq(irq, 0); - return; - } - - /* disable the interrupt */ - amiga_custom.intena = ami_intena_vals[irq]; -} - -inline void amiga_do_irq(int irq, struct pt_regs *fp) -{ - irq_desc_t *desc = irq_desc + irq; - struct irqaction *action = desc->action; - - kstat_cpu(0).irqs[irq]++; - action->handler(irq, action->dev_id, fp); -} - -void amiga_do_irq_list(int irq, struct pt_regs *fp) -{ - irq_desc_t *desc = irq_desc + irq; - struct irqaction *action; - - kstat_cpu(0).irqs[irq]++; - - amiga_custom.intreq = ami_intena_vals[irq]; - - for (action = desc->action; action; action = action->next) - action->handler(irq, action->dev_id, fp); -} - -/* - * The builtin Amiga hardware interrupt handlers. - */ - -static void ami_int1(int irq, void *dev_id, struct pt_regs *fp) -{ - unsigned short ints = amiga_custom.intreqr & amiga_custom.intenar; - - /* if serial transmit buffer empty, interrupt */ - if (ints & IF_TBE) { - amiga_custom.intreq = IF_TBE; - amiga_do_irq(IRQ_AMIGA_TBE, fp); - } - - /* if floppy disk transfer complete, interrupt */ - if (ints & IF_DSKBLK) { - amiga_custom.intreq = IF_DSKBLK; - amiga_do_irq(IRQ_AMIGA_DSKBLK, fp); - } - - /* if software interrupt set, interrupt */ - if (ints & IF_SOFT) { - amiga_custom.intreq = IF_SOFT; - amiga_do_irq(IRQ_AMIGA_SOFT, fp); - } -} - -static void ami_int3(int irq, void *dev_id, struct pt_regs *fp) -{ - unsigned short ints = amiga_custom.intreqr & amiga_custom.intenar; - - /* if a blitter interrupt */ - if (ints & IF_BLIT) { - amiga_custom.intreq = IF_BLIT; - amiga_do_irq(IRQ_AMIGA_BLIT, fp); - } - - /* if a copper interrupt */ - if (ints & IF_COPER) { - amiga_custom.intreq = IF_COPER; - amiga_do_irq(IRQ_AMIGA_COPPER, fp); - } - - /* if a vertical blank interrupt */ - if (ints & IF_VERTB) - amiga_do_irq_list(IRQ_AMIGA_VERTB, fp); -} - -static void ami_int4(int irq, void *dev_id, struct pt_regs *fp) -{ - unsigned short ints = amiga_custom.intreqr & amiga_custom.intenar; - - /* if audio 0 interrupt */ - if (ints & IF_AUD0) { - amiga_custom.intreq = IF_AUD0; - amiga_do_irq(IRQ_AMIGA_AUD0, fp); - } - - /* if audio 1 interrupt */ - if (ints & IF_AUD1) { - amiga_custom.intreq = IF_AUD1; - amiga_do_irq(IRQ_AMIGA_AUD1, fp); - } - - /* if audio 2 interrupt */ - if (ints & IF_AUD2) { - amiga_custom.intreq = IF_AUD2; - amiga_do_irq(IRQ_AMIGA_AUD2, fp); - } - - /* if audio 3 interrupt */ - if (ints & IF_AUD3) { - amiga_custom.intreq = IF_AUD3; - amiga_do_irq(IRQ_AMIGA_AUD3, fp); - } -} - -static void ami_int5(int irq, void *dev_id, struct pt_regs *fp) -{ - unsigned short ints = amiga_custom.intreqr & amiga_custom.intenar; - - /* if serial receive buffer full interrupt */ - if (ints & IF_RBF) { - /* acknowledge of IF_RBF must be done by the serial interrupt */ - amiga_do_irq(IRQ_AMIGA_RBF, fp); - } - - /* if a disk sync interrupt */ - if (ints & IF_DSKSYN) { - amiga_custom.intreq = IF_DSKSYN; - amiga_do_irq(IRQ_AMIGA_DSKSYN, fp); - } -} - -static void ami_int7(int irq, void *dev_id, struct pt_regs *fp) -{ - panic ("level 7 interrupt received\n"); -} - -#ifdef CONFIG_APUS -/* The PPC irq handling links all handlers requested on the same vector - and executes them in a loop. Having ami_badint at the end of the chain - is a bad idea. */ -struct irqaction amiga_sys_irqaction[AUTO_IRQS] = { - { .handler = ami_badint, .name = "spurious int" }, - { .handler = ami_int1, .name = "int1 handler" }, - { 0, /* CIAA */ }, - { .handler = ami_int3, .name = "int3 handler" }, - { .handler = ami_int4, .name = "int4 handler" }, - { .handler = ami_int5, .name = "int5 handler" }, - { 0, /* CIAB */ }, - { .handler = ami_int7, .name = "int7 handler" }, -}; -#else -void (*amiga_default_handler[SYS_IRQS])(int, void *, struct pt_regs *) = { - ami_badint, ami_int1, ami_badint, ami_int3, - ami_int4, ami_int5, ami_badint, ami_int7 -}; -#endif --- linux-2.6.22-rc6-mm1/arch/ppc/amiga/cia.c 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1,176 +0,0 @@ -/* - * Copyright (C) 1996 Roman Zippel - * - * The concept of some functions bases on the original Amiga OS function - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file COPYING in the main directory of this archive - * for more details. - */ - -#include <linux/types.h> -#include <linux/kernel.h> -#include <linux/sched.h> -#include <linux/interrupt.h> -#include <linux/irq.h> -#include <linux/kernel_stat.h> -#include <linux/init.h> - -#include <asm/irq.h> -#include <asm/amigahw.h> -#include <asm/amigaints.h> - -struct ciabase { - volatile struct CIA *cia; - u_char icr_mask, icr_data; - u_short int_mask; - int handler_irq, cia_irq, server_irq; - char *name; -} ciaa_base = { - &ciaa, 0, 0, IF_PORTS, - IRQ_AMIGA_AUTO_2, IRQ_AMIGA_CIAA, - IRQ_AMIGA_PORTS, - "CIAA handler" -}, ciab_base = { - &ciab, 0, 0, IF_EXTER, - IRQ_AMIGA_AUTO_6, IRQ_AMIGA_CIAB, - IRQ_AMIGA_EXTER, - "CIAB handler" -}; - -#define CIA_SET_BASE_ADJUST_IRQ(base, irq) \ -do { \ - if (irq >= IRQ_AMIGA_CIAB) { \ - base = &ciab_base; \ - irq -= IRQ_AMIGA_CIAB; \ - } else { \ - base = &ciaa_base; \ - irq -= IRQ_AMIGA_CIAA; \ - } \ -} while (0) - -/* - * Cause or clear CIA interrupts, return old interrupt status. - */ - -static unsigned char cia_set_irq_private(struct ciabase *base, - unsigned char mask) -{ - u_char old; - - old = (base->icr_data |= base->cia->icr); - if (mask & CIA_ICR_SETCLR) - base->icr_data |= mask; - else - base->icr_data &= ~mask; - if (base->icr_data & base->icr_mask) - amiga_custom.intreq = IF_SETCLR | base->int_mask; - return old & base->icr_mask; -} - -unsigned char cia_set_irq(unsigned int irq, int set) -{ - struct ciabase *base; - unsigned char mask; - - if (irq >= IRQ_AMIGA_CIAB) - mask = (1 << (irq - IRQ_AMIGA_CIAB)); - else - mask = (1 << (irq - IRQ_AMIGA_CIAA)); - mask |= (set) ? CIA_ICR_SETCLR : 0; - - CIA_SET_BASE_ADJUST_IRQ(base, irq); - - return cia_set_irq_private(base, mask); -} - -unsigned char cia_get_irq_mask(unsigned int irq) -{ - struct ciabase *base; - - CIA_SET_BASE_ADJUST_IRQ(base, irq); - - return base->cia->icr; -} - -/* - * Enable or disable CIA interrupts, return old interrupt mask. - */ - -static unsigned char cia_able_irq_private(struct ciabase *base, - unsigned char mask) -{ - u_char old; - - old = base->icr_mask; - base->icr_data |= base->cia->icr; - base->cia->icr = mask; - if (mask & CIA_ICR_SETCLR) - base->icr_mask |= mask; - else - base->icr_mask &= ~mask; - base->icr_mask &= CIA_ICR_ALL; - - if (base->icr_data & base->icr_mask) - amiga_custom.intreq = IF_SETCLR | base->int_mask; - return old; -} - -unsigned char cia_able_irq(unsigned int irq, int enable) -{ - struct ciabase *base; - unsigned char mask; - - if (irq >= IRQ_AMIGA_CIAB) - mask = (1 << (irq - IRQ_AMIGA_CIAB)); - else - mask = (1 << (irq - IRQ_AMIGA_CIAA)); - mask |= (enable) ? CIA_ICR_SETCLR : 0; - - CIA_SET_BASE_ADJUST_IRQ(base, irq); - - return cia_able_irq_private(base, mask); -} - -static void cia_handler(int irq, void *dev_id, struct pt_regs *fp) -{ - struct ciabase *base = (struct ciabase *)dev_id; - irq_desc_t *desc; - struct irqaction *action; - int i; - unsigned char ints; - - irq = base->cia_irq; - desc = irq_desc + irq; - ints = cia_set_irq_private(base, CIA_ICR_ALL); - amiga_custom.intreq = base->int_mask; - for (i = 0; i < CIA_IRQS; i++, irq++) { - if (ints & 1) { - kstat_cpu(0).irqs[irq]++; - action = desc->action; - action->handler(irq, action->dev_id, fp); - } - ints >>= 1; - desc++; - } - amiga_do_irq_list(base->server_irq, fp); -} - -void __init cia_init_IRQ(struct ciabase *base) -{ - extern struct irqaction amiga_sys_irqaction[AUTO_IRQS]; - struct irqaction *action; - - /* clear any pending interrupt and turn off all interrupts */ - cia_set_irq_private(base, CIA_ICR_ALL); - cia_able_irq_private(base, CIA_ICR_ALL); - - /* install CIA handler */ - action = &amiga_sys_irqaction[base->handler_irq-IRQ_AMIGA_AUTO]; - action->handler = cia_handler; - action->dev_id = base; - action->name = base->name; - setup_irq(base->handler_irq, &amiga_sys_irqaction[base->handler_irq-IRQ_AMIGA_AUTO]); - - amiga_custom.intena = IF_SETCLR | base->int_mask; -} --- linux-2.6.22-rc6-mm1/arch/ppc/amiga/pcmcia.c 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1 +0,0 @@ -#include "../../m68k/amiga/pcmcia.c" --- linux-2.6.22-rc6-mm1/arch/ppc/amiga/amisound.c 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1 +0,0 @@ -#include "../../m68k/amiga/amisound.c" --- linux-2.6.22-rc6-mm1/arch/ppc/amiga/time.c 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1,57 +0,0 @@ -#include <linux/errno.h> -#include <linux/sched.h> -#include <linux/kernel.h> -#include <linux/param.h> -#include <linux/string.h> -#include <linux/mm.h> - -#include <asm/machdep.h> -#include <asm/io.h> - -#include <linux/timex.h> - -unsigned long m68k_get_rtc_time(void) -{ - unsigned int year, mon, day, hour, min, sec; - - extern void arch_gettod(int *year, int *mon, int *day, int *hour, - int *min, int *sec); - - arch_gettod (&year, &mon, &day, &hour, &min, &sec); - - if ((year += 1900) < 1970) - year += 100; - - return mktime(year, mon, day, hour, min, sec); -} - -int m68k_set_rtc_time(unsigned long nowtime) -{ - if (mach_set_clock_mmss) - return mach_set_clock_mmss (nowtime); - return -1; -} - -void apus_heartbeat (void) -{ -#ifdef CONFIG_HEARTBEAT - static unsigned cnt = 0, period = 0, dist = 0; - - if (cnt == 0 || cnt == dist) - mach_heartbeat( 1 ); - else if (cnt == 7 || cnt == dist+7) - mach_heartbeat( 0 ); - - if (++cnt > period) { - cnt = 0; - /* The hyperbolic function below modifies the heartbeat period - * length in dependency of the current (5min) load. It goes - * through the points f(0)=126, f(1)=86, f(5)=51, - * f(inf)->30. */ - period = ((672<<FSHIFT)/(5*avenrun[0]+(7<<FSHIFT))) + 30; - dist = period / 4; - } -#endif - /* should be made smarter */ - ppc_md.heartbeat_count = 1; -} --- linux-2.6.22-rc6-mm1/arch/ppc/amiga/bootinfo.c 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1,78 +0,0 @@ -/* - * Extracted from arch/m68k/kernel/setup.c. - * Should be properly generalized and put somewhere else. - * Jesper - */ - -#include <linux/types.h> -#include <linux/kernel.h> -#include <linux/string.h> -#include <linux/init.h> - -#include <asm/setup.h> -#include <asm/bootinfo.h> - -extern char cmd_line[CL_SIZE]; - -extern int num_memory; -extern int m68k_realnum_memory; -extern struct mem_info memory[NUM_MEMINFO]; -extern struct mem_info m68k_memory[NUM_MEMINFO]; -extern struct mem_info ramdisk; - -extern int amiga_parse_bootinfo(const struct bi_record *); -extern int atari_parse_bootinfo(const struct bi_record *); -extern int mac_parse_bootinfo(const struct bi_record *); - -void __init parse_bootinfo(const struct bi_record *record) -{ - while (record->tag != BI_LAST) { - int unknown = 0; - const u_long *data = record->data; - switch (record->tag) { - case BI_MACHTYPE: - case BI_CPUTYPE: - case BI_FPUTYPE: - case BI_MMUTYPE: - /* Already set up by head.S */ - break; - - case BI_MEMCHUNK: - if (num_memory < NUM_MEMINFO) { - memory[num_memory].addr = data[0]; - memory[num_memory].size = data[1]; - num_memory++; - - /* FIXME: duplicate for m68k drivers. */ - m68k_memory[m68k_realnum_memory].addr = data[0]; - m68k_memory[m68k_realnum_memory].size = data[1]; - m68k_realnum_memory++; - } else - printk("parse_bootinfo: too many memory chunks\n"); - break; - - case BI_RAMDISK: - ramdisk.addr = data[0]; - ramdisk.size = data[1]; - break; - - case BI_COMMAND_LINE: - strlcpy(cmd_line, (const char *)data, sizeof(cmd_line)); - break; - - default: - if (MACH_IS_AMIGA) - unknown = amiga_parse_bootinfo(record); - else if (MACH_IS_ATARI) - unknown = atari_parse_bootinfo(record); - else if (MACH_IS_MAC) - unknown = mac_parse_bootinfo(record); - else - unknown = 1; - } - if (unknown) - printk("parse_bootinfo: unknown tag 0x%04x ignored\n", - record->tag); - record = (struct bi_record *)((u_long)record+record->size); - } -} --- linux-2.6.22-rc6-mm1/arch/ppc/amiga/ints.c 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1,158 +0,0 @@ -/* - * Linux/m68k general interrupt handling code from arch/m68k/kernel/ints.c - * Needed to drive the m68k emulating IRQ hardware on the PowerUp boards. - */ - -#include <linux/types.h> -#include <linux/sched.h> -#include <linux/kernel_stat.h> -#include <linux/errno.h> -#include <linux/init.h> -#include <linux/seq_file.h> - -#include <asm/setup.h> -#include <asm/system.h> -#include <asm/irq.h> -#include <asm/traps.h> -#include <asm/page.h> -#include <asm/machdep.h> - -/* table for system interrupt handlers */ -static irq_handler_t irq_list[SYS_IRQS]; - -static const char *default_names[SYS_IRQS] = { - "spurious int", "int1 handler", "int2 handler", "int3 handler", - "int4 handler", "int5 handler", "int6 handler", "int7 handler" -}; - -/* The number of spurious interrupts */ -volatile unsigned int num_spurious; - -#define NUM_IRQ_NODES 100 -static irq_node_t nodes[NUM_IRQ_NODES]; - - -/* - * void init_IRQ(void) - * - * Parameters: None - * - * Returns: Nothing - * - * This function should be called during kernel startup to initialize - * the IRQ handling routines. - */ - -__init -void m68k_init_IRQ(void) -{ - int i; - - for (i = 0; i < SYS_IRQS; i++) { - if (mach_default_handler) - irq_list[i].handler = (*mach_default_handler)[i]; - irq_list[i].flags = 0; - irq_list[i].dev_id = NULL; - irq_list[i].devname = default_names[i]; - } - - for (i = 0; i < NUM_IRQ_NODES; i++) - nodes[i].handler = NULL; - - mach_init_IRQ (); -} - -irq_node_t *new_irq_node(void) -{ - irq_node_t *node; - short i; - - for (node = nodes, i = NUM_IRQ_NODES-1; i >= 0; node++, i--) - if (!node->handler) - return node; - - printk ("new_irq_node: out of nodes\n"); - return NULL; -} - -int sys_request_irq(unsigned int irq, - void (*handler)(int, void *, struct pt_regs *), - unsigned long flags, const char *devname, void *dev_id) -{ - if (irq < IRQ1 || irq > IRQ7) { - printk("%s: Incorrect IRQ %d from %s\n", - __FUNCTION__, irq, devname); - return -ENXIO; - } - -#if 0 - if (!(irq_list[irq].flags & IRQ_FLG_STD)) { - if (irq_list[irq].flags & IRQ_FLG_LOCK) { - printk("%s: IRQ %d from %s is not replaceable\n", - __FUNCTION__, irq, irq_list[irq].devname); - return -EBUSY; - } - if (!(flags & IRQ_FLG_REPLACE)) { - printk("%s: %s can't replace IRQ %d from %s\n", - __FUNCTION__, devname, irq, irq_list[irq].devname); - return -EBUSY; - } - } -#endif - - irq_list[irq].handler = handler; - irq_list[irq].flags = flags; - irq_list[irq].dev_id = dev_id; - irq_list[irq].devname = devname; - return 0; -} - -void sys_free_irq(unsigned int irq, void *dev_id) -{ - if (irq < IRQ1 || irq > IRQ7) { - printk("%s: Incorrect IRQ %d\n", __FUNCTION__, irq); - return; - } - - if (irq_list[irq].dev_id != dev_id) - printk("%s: Removing probably wrong IRQ %d from %s\n", - __FUNCTION__, irq, irq_list[irq].devname); - - irq_list[irq].handler = (*mach_default_handler)[irq]; - irq_list[irq].flags = 0; - irq_list[irq].dev_id = NULL; - irq_list[irq].devname = default_names[irq]; -} - -asmlinkage void process_int(unsigned long vec, struct pt_regs *fp) -{ - if (vec >= VEC_INT1 && vec <= VEC_INT7 && !MACH_IS_BVME6000) { - vec -= VEC_SPUR; - kstat_cpu(0).irqs[vec]++; - irq_list[vec].handler(vec, irq_list[vec].dev_id, fp); - } else { - if (mach_process_int) - mach_process_int(vec, fp); - else - panic("Can't process interrupt vector %ld\n", vec); - return; - } -} - -int m68k_get_irq_list(struct seq_file *p, void *v) -{ - int i; - - /* autovector interrupts */ - if (mach_default_handler) { - for (i = 0; i < SYS_IRQS; i++) { - seq_printf(p, "auto %2d: %10u ", i, - i ? kstat_cpu(0).irqs[i] : num_spurious); - seq_puts(p, " "); - seq_printf(p, "%s\n", irq_list[i].devname); - } - } - - mach_get_irq_list(p, v); - return 0; -} --- linux-2.6.22-rc6-mm1/arch/ppc/configs/apus_defconfig 2007-04-26 05:08:32.000000000 +0200 +++ /dev/null 2006-09-19 00:45:31.000000000 +0200 @@ -1,920 +0,0 @@ -# -# Automatically generated make config: don't edit -# -CONFIG_MMU=y -CONFIG_RWSEM_XCHGADD_ALGORITHM=y -CONFIG_HAVE_DEC_LOCK=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y - -# -# General setup -# -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_LOG_BUF_SHIFT=14 -# CONFIG_EMBEDDED is not set -CONFIG_FUTEX=y -CONFIG_EPOLL=y - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_OBSOLETE_MODPARM=y -# CONFIG_MODVERSIONS is not set -CONFIG_KMOD=y - -# -# Platform support -# -CONFIG_PPC=y -CONFIG_PPC32=y -CONFIG_6xx=y -# CONFIG_40x is not set -# CONFIG_POWER3 is not set -# CONFIG_8xx is not set - -# -# IBM 4xx options -# -# CONFIG_8260 is not set -CONFIG_GENERIC_ISA_DMA=y -CONFIG_PPC_STD_MMU=y -CONFIG_SERIAL_CONSOLE=y -# CONFIG_PPC_MULTIPLATFORM is not set -CONFIG_APUS=y -# CONFIG_WILLOW_2 is not set -# CONFIG_PCORE is not set -# CONFIG_POWERPMC250 is not set -# CONFIG_EV64260 is not set -# CONFIG_SPRUCE is not set -# CONFIG_LOPEC is not set -# CONFIG_MCPN765 is not set -# CONFIG_MVME5100 is not set -# CONFIG_PPLUS is not set -# CONFIG_PRPMC750 is not set -# CONFIG_PRPMC800 is not set -# CONFIG_SANDPOINT is not set -# CONFIG_ADIR is not set -# CONFIG_K2 is not set -# CONFIG_PAL4 is not set -# CONFIG_GEMINI is not set -# CONFIG_SMP is not set -# CONFIG_PREEMPT is not set -# CONFIG_ALTIVEC is not set -# CONFIG_TAU is not set -# CONFIG_CPU_FREQ is not set - -# -# General setup -# -# CONFIG_HIGHMEM is not set -CONFIG_PCI=y -CONFIG_PCI_DOMAINS=y -CONFIG_PCI_PERMEDIA=y -CONFIG_KCORE_ELF=y -CONFIG_BINFMT_ELF=y -CONFIG_KERNEL_ELF=y -CONFIG_BINFMT_MISC=m -CONFIG_PCI_LEGACY_PROC=y -CONFIG_PCI_NAMES=y -# CONFIG_HOTPLUG is not set - -# -# Parallel port support -# -CONFIG_PARPORT=m -# CONFIG_PARPORT_PC is not set -CONFIG_PARPORT_AMIGA=m -# CONFIG_PARPORT_MFC3 is not set -# CONFIG_PARPORT_OTHER is not set -# CONFIG_PARPORT_1284 is not set -CONFIG_PPC601_SYNC_FIX=y -# CONFIG_CMDLINE_BOOL is not set -CONFIG_AMIGA=y -CONFIG_ZORRO=y -CONFIG_ABSTRACT_CONSOLE=y -CONFIG_APUS_FAST_EXCEPT=y -CONFIG_AMIGA_PCMCIA=y -CONFIG_AMIGA_BUILTIN_SERIAL=y -CONFIG_GVPIOEXT=y -CONFIG_GVPIOEXT_LP=m -CONFIG_GVPIOEXT_PLIP=m -CONFIG_MULTIFACE_III_TTY=y -CONFIG_A2232=y -CONFIG_WHIPPET_SERIAL=y -CONFIG_APNE=y -CONFIG_HEARTBEAT=y -CONFIG_PROC_HARDWARE=y -CONFIG_ZORRO_NAMES=y - -# -# Advanced setup -# -# CONFIG_ADVANCED_OPTIONS is not set - -# -# Default settings for advanced configuration options are used -# -CONFIG_HIGHMEM_START=0xfe000000 -CONFIG_LOWMEM_SIZE=0x30000000 -CONFIG_KERNEL_START=0xc0000000 -CONFIG_TASK_SIZE=0x80000000 -CONFIG_BOOT_LOAD=0x00800000 - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Plug and Play support -# -# CON... [truncated message content] |
From: Geert U. <ge...@li...> - 2007-07-17 09:09:28
|
FYI... ---------- Forwarded message ---------- Date: Tue, 17 Jul 2007 01:01:20 GMT From: Linux Kernel Mailing List <lin...@vg...> To: git...@vg... Subject: [POWERPC] Remove the dregs of APUS support from arch/powerpc Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f21f49ea639ac3f24824177dac1268af75a2d373 Commit: f21f49ea639ac3f24824177dac1268af75a2d373 Parent: 90ac19a8b21ba2621ddd7beb2dc96152e78270b7 Author: David Gibson <da...@gi...> AuthorDate: Wed Jun 13 14:52:54 2007 +1000 Committer: Paul Mackerras <pa...@sa...> CommitDate: Thu Jun 14 22:30:15 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 <da...@gi...> Signed-off-by: Paul Mackerras <pa...@sa...> --- arch/powerpc/Kconfig | 4 +- arch/powerpc/kernel/head_32.S | 122 +-------------------------------- arch/powerpc/kernel/irq.c | 1 - arch/powerpc/mm/44x_mmu.c | 1 - arch/powerpc/mm/4xx_mmu.c | 1 - arch/powerpc/mm/fsl_booke_mmu.c | 1 - arch/powerpc/mm/init_32.c | 1 - arch/powerpc/mm/init_64.c | 1 - arch/powerpc/mm/mem.c | 1 - arch/powerpc/mm/mmu_context_32.c | 1 - arch/powerpc/mm/mmu_decl.h | 1 - arch/powerpc/mm/pgtable_32.c | 1 - arch/powerpc/mm/pgtable_64.c | 1 - arch/powerpc/mm/ppc_mmu_32.c | 1 - arch/powerpc/mm/tlb_32.c | 1 - arch/powerpc/mm/tlb_64.c | 1 - arch/powerpc/platforms/Kconfig | 7 -- arch/powerpc/platforms/apus/Kconfig | 130 ----------------------------------- include/asm-powerpc/pgtable-ppc32.h | 26 ------- 19 files changed, 5 insertions(+), 298 deletions(-) |
From: Geert U. <ge...@li...> - 2007-06-13 07:02:31
|
---------- Forwarded message ---------- Date: Wed, 13 Jun 2007 14:52:54 +1000 (EST) From: David Gibson <da...@gi...> To: Paul Mackerras <pa...@sa...> Cc: lin...@oz... Subject: [PATCH 4/13] 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 <da...@gi...> --- arch/powerpc/Kconfig | 4 - arch/powerpc/kernel/head_32.S | 122 --------------------------------- arch/powerpc/kernel/irq.c | 1 arch/powerpc/mm/44x_mmu.c | 1 arch/powerpc/mm/4xx_mmu.c | 1 arch/powerpc/mm/fsl_booke_mmu.c | 1 arch/powerpc/mm/init_32.c | 1 arch/powerpc/mm/init_64.c | 1 arch/powerpc/mm/mem.c | 1 arch/powerpc/mm/mmu_context_32.c | 1 arch/powerpc/mm/mmu_decl.h | 1 arch/powerpc/mm/pgtable_32.c | 1 arch/powerpc/mm/pgtable_64.c | 1 arch/powerpc/mm/ppc_mmu_32.c | 1 arch/powerpc/mm/tlb_32.c | 1 arch/powerpc/mm/tlb_64.c | 1 arch/powerpc/platforms/Kconfig | 7 - arch/powerpc/platforms/apus/Kconfig | 130 ------------------------------------ include/asm-powerpc/pgtable-ppc32.h | 26 ------- 19 files changed, 5 insertions(+), 298 deletions(-) Index: working-2.6/include/asm-powerpc/pgtable-ppc32.h =================================================================== --- working-2.6.orig/include/asm-powerpc/pgtable-ppc32.h 2007-06-04 13:39:21.000000000 +1000 +++ working-2.6/include/asm-powerpc/pgtable-ppc32.h 2007-06-04 13:39:22.000000000 +1000 @@ -751,32 +751,6 @@ #define pte_to_pgoff(pte) (pte_val(pte) >> 3) #define pgoff_to_pte(off) ((pte_t) { ((off) << 3) | _PAGE_FILE }) -/* CONFIG_APUS */ -/* For virtual address to physical address conversion */ -extern void cache_clear(__u32 addr, int length); -extern void cache_push(__u32 addr, int length); -extern int mm_end_of_chunk (unsigned long addr, int len); - -/* Values for nocacheflag and cmode */ -/* These are not used by the APUS kernel_map, but prevents - compilation errors. */ -#define KERNELMAP_FULL_CACHING 0 -#define KERNELMAP_NOCACHE_SER 1 -#define KERNELMAP_NOCACHE_NONSER 2 -#define KERNELMAP_NO_COPYBACK 3 - -/* - * Map some physical address range into the kernel address space. - */ -extern unsigned long kernel_map(unsigned long paddr, unsigned long size, - int nocacheflag, unsigned long *memavailp ); - -/* - * Set cache mode of (kernel space) address range. - */ -extern void kernel_set_cachemode (unsigned long address, unsigned long size, - unsigned int cmode); - /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */ #define kern_addr_valid(addr) (1) Index: working-2.6/arch/powerpc/Kconfig =================================================================== --- working-2.6.orig/arch/powerpc/Kconfig 2007-06-04 13:32:53.000000000 +1000 +++ working-2.6/arch/powerpc/Kconfig 2007-06-04 13:39:22.000000000 +1000 @@ -686,9 +686,9 @@ bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \ || MPC7448HPC2 || PPC_PS3 || PPC_HOLLY - default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \ + default y if !40x && !CPM2 && !8xx && !PPC_83xx \ && !PPC_85xx && !PPC_86xx - default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS + default PCI_PERMEDIA if !4xx && !CPM2 && !8xx default PCI_QSPAN if !4xx && !CPM2 && 8xx select ARCH_SUPPORTS_MSI help Index: working-2.6/arch/powerpc/kernel/head_32.S =================================================================== --- working-2.6.orig/arch/powerpc/kernel/head_32.S 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/kernel/head_32.S 2007-06-04 13:39:22.000000000 +1000 @@ -9,7 +9,6 @@ * rewritten by Paul Mackerras. * Copyright (C) 1996 Paul Mackerras. * MPC8xx modifications Copyright (C) 1997 Dan Malek (dm...@jl...). - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * This file contains the low-level support and setup for the * PowerPC platform, including trap and interrupt dispatch. @@ -32,10 +31,6 @@ #include <asm/ppc_asm.h> #include <asm/asm-offsets.h> -#ifdef CONFIG_APUS -#include <asm/amigappc.h> -#endif - /* 601 only have IBAT; cr0.eq is set on 601 when using this macro */ #define LOAD_BAT(n, reg, RA, RB) \ /* see the comment for clear_bats() -- Cort */ \ @@ -92,11 +87,6 @@ * r4: virtual address of boot_infos_t * r5: 0 * - * APUS - * r3: 'APUS' - * r4: physical address of memory base - * Linux/m68k style BootInfo structure at &_end. - * * PREP * This is jumped to on prep systems right after the kernel is relocated * to its proper place in memory by the boot loader. The expected layout @@ -150,14 +140,6 @@ */ bl early_init -#ifdef CONFIG_APUS -/* On APUS the __va/__pa constants need to be set to the correct - * values before continuing. - */ - mr r4,r30 - bl fix_mem_constants -#endif /* CONFIG_APUS */ - /* Switch MMU off, clear BATs and flush TLB. At this point, r3 contains * the physical address we are running at, returned by early_init() */ @@ -167,7 +149,7 @@ bl flush_tlbs bl initial_bats -#if !defined(CONFIG_APUS) && defined(CONFIG_BOOTX_TEXT) +#if defined(CONFIG_BOOTX_TEXT) bl setup_disp_bat #endif @@ -183,7 +165,6 @@ #endif /* CONFIG_6xx */ -#ifndef CONFIG_APUS /* * We need to run with _start at physical address 0. * On CHRP, we are loaded at 0x10000 since OF on CHRP uses @@ -196,7 +177,6 @@ addis r4,r3,KERNELBASE@h /* current address of _start */ cmpwi 0,r4,0 /* are we already running at 0? */ bne relocate_kernel -#endif /* CONFIG_APUS */ /* * we now have the 1st 16M of ram mapped with the bats. * prep needs the mmu to be turned on here, but pmac already has it on. @@ -881,85 +861,6 @@ addi r6,r6,4 blr -#ifdef CONFIG_APUS -/* - * On APUS the physical base address of the kernel is not known at compile - * time, which means the __pa/__va constants used are incorrect. In the - * __init section is recorded the virtual addresses of instructions using - * these constants, so all that has to be done is fix these before - * continuing the kernel boot. - * - * r4 = The physical address of the kernel base. - */ -fix_mem_constants: - mr r10,r4 - addis r10,r10,-KERNELBASE@h /* virt_to_phys constant */ - neg r11,r10 /* phys_to_virt constant */ - - lis r12,__vtop_table_begin@h - ori r12,r12,__vtop_table_begin@l - add r12,r12,r10 /* table begin phys address */ - lis r13,__vtop_table_end@h - ori r13,r13,__vtop_table_end@l - add r13,r13,r10 /* table end phys address */ - subi r12,r12,4 - subi r13,r13,4 -1: lwzu r14,4(r12) /* virt address of instruction */ - add r14,r14,r10 /* phys address of instruction */ - lwz r15,0(r14) /* instruction, now insert top */ - rlwimi r15,r10,16,16,31 /* half of vp const in low half */ - stw r15,0(r14) /* of instruction and restore. */ - dcbst r0,r14 /* write it to memory */ - sync - icbi r0,r14 /* flush the icache line */ - cmpw r12,r13 - bne 1b - sync /* additional sync needed on g4 */ - isync - -/* - * Map the memory where the exception handlers will - * be copied to when hash constants have been patched. - */ -#ifdef CONFIG_APUS_FAST_EXCEPT - lis r8,0xfff0 -#else - lis r8,0 -#endif - ori r8,r8,0x2 /* 128KB, supervisor */ - mtspr SPRN_DBAT3U,r8 - mtspr SPRN_DBAT3L,r8 - - lis r12,__ptov_table_begin@h - ori r12,r12,__ptov_table_begin@l - add r12,r12,r10 /* table begin phys address */ - lis r13,__ptov_table_end@h - ori r13,r13,__ptov_table_end@l - add r13,r13,r10 /* table end phys address */ - subi r12,r12,4 - subi r13,r13,4 -1: lwzu r14,4(r12) /* virt address of instruction */ - add r14,r14,r10 /* phys address of instruction */ - lwz r15,0(r14) /* instruction, now insert top */ - rlwimi r15,r11,16,16,31 /* half of pv const in low half*/ - stw r15,0(r14) /* of instruction and restore. */ - dcbst r0,r14 /* write it to memory */ - sync - icbi r0,r14 /* flush the icache line */ - cmpw r12,r13 - bne 1b - - sync /* additional sync needed on g4 */ - isync /* No speculative loading until now */ - blr - -/*********************************************************************** - * Please note that on APUS the exception handlers are located at the - * physical address 0xfff0000. For this reason, the exception handlers - * cannot use relative branches to access the code below. - ***********************************************************************/ -#endif /* CONFIG_APUS */ - #ifdef CONFIG_SMP #ifdef CONFIG_GEMINI .globl __secondary_start_gemini @@ -1135,19 +1036,6 @@ bl __save_cpu_setup bl MMU_init -#ifdef CONFIG_APUS - /* Copy exception code to exception vector base on APUS. */ - lis r4,KERNELBASE@h -#ifdef CONFIG_APUS_FAST_EXCEPT - lis r3,0xfff0 /* Copy to 0xfff00000 */ -#else - lis r3,0 /* Copy to 0x00000000 */ -#endif - li r5,0x4000 /* # bytes of memory to copy */ - li r6,0 - bl copy_and_flush /* copy the first 0x4000 bytes */ -#endif /* CONFIG_APUS */ - /* * Go back to running unmapped so we can load up new values * for SDR1 (hash table pointer) and the segment registers @@ -1324,11 +1212,7 @@ #else ori r8,r8,2 /* R/W access */ #endif /* CONFIG_SMP */ -#ifdef CONFIG_APUS - ori r11,r11,BL_8M<<2|0x2 /* set up 8MB BAT registers for 604 */ -#else ori r11,r11,BL_256M<<2|0x2 /* set up BAT registers for 604 */ -#endif /* CONFIG_APUS */ mtspr SPRN_DBAT0L,r8 /* N.B. 6xx (not 601) have valid */ mtspr SPRN_DBAT0U,r11 /* bit in upper BAT register */ @@ -1338,7 +1222,7 @@ blr -#if !defined(CONFIG_APUS) && defined(CONFIG_BOOTX_TEXT) +#ifdef CONFIG_BOOTX_TEXT setup_disp_bat: /* * setup the display bat prepared for us in prom.c @@ -1362,7 +1246,7 @@ 1: mtspr SPRN_IBAT3L,r8 mtspr SPRN_IBAT3U,r11 blr -#endif /* !defined(CONFIG_APUS) && defined(CONFIG_BOOTX_TEXT) */ +#endif /* CONFIG_BOOTX_TEXT */ #ifdef CONFIG_8260 /* Jump into the system reset for the rom. Index: working-2.6/arch/powerpc/kernel/irq.c =================================================================== --- working-2.6.orig/arch/powerpc/kernel/irq.c 2007-06-04 13:32:53.000000000 +1000 +++ working-2.6/arch/powerpc/kernel/irq.c 2007-06-04 13:39:22.000000000 +1000 @@ -7,7 +7,6 @@ * Copyright (C) 1996-2001 Cort Dougan * Adapted for Power Macintosh by Paul Mackerras * Copyright (C) 1996 Paul Mackerras (pa...@cs...) - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License Index: working-2.6/arch/powerpc/mm/44x_mmu.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/44x_mmu.c 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/44x_mmu.c 2007-06-04 13:39:22.000000000 +1000 @@ -12,7 +12,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/4xx_mmu.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/4xx_mmu.c 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/4xx_mmu.c 2007-06-04 13:39:22.000000000 +1000 @@ -9,7 +9,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/fsl_booke_mmu.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/fsl_booke_mmu.c 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/fsl_booke_mmu.c 2007-06-04 13:39:22.000000000 +1000 @@ -14,7 +14,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/init_32.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/init_32.c 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/init_32.c 2007-06-04 13:39:22.000000000 +1000 @@ -5,7 +5,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * PPC44x/36-bit changes by Matt Porter (mp...@mv...) * * Derived from "arch/i386/mm/init.c" Index: working-2.6/arch/powerpc/mm/init_64.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/init_64.c 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/init_64.c 2007-06-04 13:39:22.000000000 +1000 @@ -5,7 +5,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/mem.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/mem.c 2007-05-24 21:31:17.000000000 +1000 +++ working-2.6/arch/powerpc/mm/mem.c 2007-06-04 13:39:22.000000000 +1000 @@ -5,7 +5,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * PPC44x/36-bit changes by Matt Porter (mp...@mv...) * * Derived from "arch/i386/mm/init.c" Index: working-2.6/arch/powerpc/mm/mmu_context_32.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/mmu_context_32.c 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/mmu_context_32.c 2007-06-04 13:39:22.000000000 +1000 @@ -11,7 +11,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/mmu_decl.h =================================================================== --- working-2.6.orig/arch/powerpc/mm/mmu_decl.h 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/mmu_decl.h 2007-06-04 13:39:22.000000000 +1000 @@ -8,7 +8,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/pgtable_64.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/pgtable_64.c 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/pgtable_64.c 2007-06-04 13:39:22.000000000 +1000 @@ -7,7 +7,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@sa...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/ppc_mmu_32.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/ppc_mmu_32.c 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/ppc_mmu_32.c 2007-06-04 13:39:22.000000000 +1000 @@ -11,7 +11,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/tlb_32.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/tlb_32.c 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/tlb_32.c 2007-06-04 13:39:22.000000000 +1000 @@ -11,7 +11,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/tlb_64.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/tlb_64.c 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/mm/tlb_64.c 2007-06-04 13:39:22.000000000 +1000 @@ -8,7 +8,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/platforms/Kconfig =================================================================== --- working-2.6.orig/arch/powerpc/platforms/Kconfig 2007-05-19 09:22:28.000000000 +1000 +++ working-2.6/arch/powerpc/platforms/Kconfig 2007-06-04 13:39:22.000000000 +1000 @@ -16,13 +16,6 @@ bool "Embedded 6xx/7xx/7xxx-based board" depends on PPC32 && (BROKEN||BROKEN_ON_SMP) -config APUS - bool "Amiga-APUS" - depends on PPC32 && BROKEN - help - Select APUS if configuring for a PowerUP Amiga. - More information is available at: - <http://linux-apus.sourceforge.net/>. endchoice source "arch/powerpc/platforms/pseries/Kconfig" Index: working-2.6/arch/powerpc/platforms/apus/Kconfig =================================================================== --- working-2.6.orig/arch/powerpc/platforms/apus/Kconfig 2007-05-19 09:22:28.000000000 +1000 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,130 +0,0 @@ - -config AMIGA - bool - depends on APUS - default y - help - This option enables support for the Amiga series of computers. - -config ZORRO - bool - depends on APUS - default y - help - This enables support for the Zorro bus in the Amiga. If you have - expansion cards in your Amiga that conform to the Amiga - AutoConfig(tm) specification, say Y, otherwise N. Note that even - expansion cards that do not fit in the Zorro slots but fit in e.g. - the CPU slot may fall in this category, so you have to say Y to let - Linux use these. - -config ABSTRACT_CONSOLE - bool - depends on APUS - default y - -config APUS_FAST_EXCEPT - bool - depends on APUS - default y - -config AMIGA_PCMCIA - bool "Amiga 1200/600 PCMCIA support" - depends on APUS && EXPERIMENTAL - help - Include support in the kernel for pcmcia on Amiga 1200 and Amiga - 600. If you intend to use pcmcia cards say Y; otherwise say N. - -config AMIGA_BUILTIN_SERIAL - tristate "Amiga builtin serial support" - depends on APUS - help - If you want to use your Amiga's built-in serial port in Linux, - answer Y. - - To compile this driver as a module, choose M here. - -config GVPIOEXT - tristate "GVP IO-Extender support" - depends on APUS - help - If you want to use a GVP IO-Extender serial card in Linux, say Y. - Otherwise, say N. - -config GVPIOEXT_LP - tristate "GVP IO-Extender parallel printer support" - depends on GVPIOEXT - help - Say Y to enable driving a printer from the parallel port on your - GVP IO-Extender card, N otherwise. - -config GVPIOEXT_PLIP - tristate "GVP IO-Extender PLIP support" - depends on GVPIOEXT - help - Say Y to enable doing IP over the parallel port on your GVP - IO-Extender card, N otherwise. - -config MULTIFACE_III_TTY - tristate "Multiface Card III serial support" - depends on APUS - help - If you want to use a Multiface III card's serial port in Linux, - answer Y. - - To compile this driver as a module, choose M here. - -config A2232 - tristate "Commodore A2232 serial support (EXPERIMENTAL)" - depends on EXPERIMENTAL && APUS - ---help--- - This option supports the 2232 7-port serial card shipped with the - Amiga 2000 and other Zorro-bus machines, dating from 1989. At - a max of 19,200 bps, the ports are served by a 6551 ACIA UART chip - each, plus a 8520 CIA, and a master 6502 CPU and buffer as well. The - ports were connected with 8 pin DIN connectors on the card bracket, - for which 8 pin to DB25 adapters were supplied. The card also had - jumpers internally to toggle various pinning configurations. - - This driver can be built as a module; but then "generic_serial" - will also be built as a module. This has to be loaded before - "ser_a2232". If you want to do this, answer M here. - -config WHIPPET_SERIAL - tristate "Hisoft Whippet PCMCIA serial support" - depends on AMIGA_PCMCIA - help - HiSoft has a web page at <http://www.hisoft.co.uk/>, but there - is no listing for the Whippet in their Amiga section. - -config APNE - tristate "PCMCIA NE2000 support" - depends on AMIGA_PCMCIA - help - If you have a PCMCIA NE2000 compatible adapter, say Y. Otherwise, - say N. - - To compile this driver as a module, choose M here: the - module will be called apne. - -config SERIAL_CONSOLE - bool "Support for serial port console" - depends on APUS && (AMIGA_BUILTIN_SERIAL=y || GVPIOEXT=y || MULTIFACE_III_TTY=y) - -config HEARTBEAT - bool "Use power LED as a heartbeat" - depends on APUS - help - Use the power-on LED on your machine as a load meter. The exact - behavior is platform-dependent, but normally the flash frequency is - a hyperbolic function of the 5-minute load average. - -config PROC_HARDWARE - bool "/proc/hardware support" - depends on APUS - -source "drivers/zorro/Kconfig" - -config PCI_PERMEDIA - bool "PCI for Permedia2" - depends on !4xx && !8xx && APUS Index: working-2.6/arch/powerpc/mm/pgtable_32.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/pgtable_32.c 2007-06-04 13:39:21.000000000 +1000 +++ working-2.6/arch/powerpc/mm/pgtable_32.c 2007-06-04 13:39:25.000000000 +1000 @@ -8,7 +8,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds _______________________________________________ Linuxppc-dev mailing list Lin...@oz... https://ozlabs.org/mailman/listinfo/linuxppc-dev |
From: <A.L...@lb...> - 2007-05-10 09:57:36
|
Hi, > arch/ppc (32 bit only) is planned to go away. > arch/powerpc (32 and 64 bit support in one tree) is where all new > development is done and where all arch/ppc platforms should be migrated to. okay - so surely moving the APUS out of powerpc is a *bad* idea? (ie that patch would need to be reverse to get the bits back in....) whats broken with APUS in the powerpc as it stands? alan |
From: Geert U. <ge...@li...> - 2007-05-10 09:41:47
|
On Thu, 10 May 2007, A.L...@lb... wrote: > > FYI... > > thanks > > > APUS (the Amiga Power-Up System) is not supported under arch/powerpc > > so it is only supported under arch/ppc ? what are the losses of not being > under powerpc ? arch/ppc (32 bit only) is planned to go away. arch/powerpc (32 and 64 bit support in one tree) is where all new development is done and where all arch/ppc platforms should be migrated to. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |
From: <A.L...@lb...> - 2007-05-10 09:34:07
|
Hi, > FYI... thanks > APUS (the Amiga Power-Up System) is not supported under arch/powerpc so it is only supported under arch/ppc ? what are the losses of not being under powerpc ? alan |
From: Geert U. <ge...@li...> - 2007-05-10 07:46:25
|
FYI... ---------- Forwarded message ---------- Date: Thu, 10 May 2007 16:05:56 +1000 (EST) From: David Gibson <da...@gi...> To: lin...@oz... Subject: [PATCH 4/7] 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 <da...@gi...> --- arch/powerpc/Kconfig | 4 - arch/powerpc/kernel/head_32.S | 122 --------------------------------- arch/powerpc/kernel/irq.c | 1 arch/powerpc/mm/44x_mmu.c | 1 arch/powerpc/mm/4xx_mmu.c | 1 arch/powerpc/mm/fsl_booke_mmu.c | 1 arch/powerpc/mm/init_32.c | 1 arch/powerpc/mm/init_64.c | 1 arch/powerpc/mm/mem.c | 1 arch/powerpc/mm/mmu_context_32.c | 1 arch/powerpc/mm/mmu_decl.h | 1 arch/powerpc/mm/pgtable_32.c | 1 arch/powerpc/mm/pgtable_64.c | 1 arch/powerpc/mm/ppc_mmu_32.c | 1 arch/powerpc/mm/tlb_32.c | 1 arch/powerpc/mm/tlb_64.c | 1 arch/powerpc/platforms/Kconfig | 7 - arch/powerpc/platforms/apus/Kconfig | 130 ------------------------------------ include/asm-powerpc/pgtable-ppc32.h | 26 ------- 19 files changed, 5 insertions(+), 298 deletions(-) Index: working-2.6/include/asm-powerpc/pgtable-ppc32.h =================================================================== --- working-2.6.orig/include/asm-powerpc/pgtable-ppc32.h 2007-05-10 13:53:47.000000000 +1000 +++ working-2.6/include/asm-powerpc/pgtable-ppc32.h 2007-05-10 13:53:47.000000000 +1000 @@ -751,32 +751,6 @@ extern void paging_init(void); #define pte_to_pgoff(pte) (pte_val(pte) >> 3) #define pgoff_to_pte(off) ((pte_t) { ((off) << 3) | _PAGE_FILE }) -/* CONFIG_APUS */ -/* For virtual address to physical address conversion */ -extern void cache_clear(__u32 addr, int length); -extern void cache_push(__u32 addr, int length); -extern int mm_end_of_chunk (unsigned long addr, int len); - -/* Values for nocacheflag and cmode */ -/* These are not used by the APUS kernel_map, but prevents - compilation errors. */ -#define KERNELMAP_FULL_CACHING 0 -#define KERNELMAP_NOCACHE_SER 1 -#define KERNELMAP_NOCACHE_NONSER 2 -#define KERNELMAP_NO_COPYBACK 3 - -/* - * Map some physical address range into the kernel address space. - */ -extern unsigned long kernel_map(unsigned long paddr, unsigned long size, - int nocacheflag, unsigned long *memavailp ); - -/* - * Set cache mode of (kernel space) address range. - */ -extern void kernel_set_cachemode (unsigned long address, unsigned long size, - unsigned int cmode); - /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */ #define kern_addr_valid(addr) (1) Index: working-2.6/arch/powerpc/Kconfig =================================================================== --- working-2.6.orig/arch/powerpc/Kconfig 2007-05-10 10:42:00.000000000 +1000 +++ working-2.6/arch/powerpc/Kconfig 2007-05-10 13:53:47.000000000 +1000 @@ -682,9 +682,9 @@ config PCI bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \ || MPC7448HPC2 || PPC_PS3 || PPC_HOLLY - default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \ + default y if !40x && !CPM2 && !8xx && !PPC_83xx \ && !PPC_85xx && !PPC_86xx - default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS + default PCI_PERMEDIA if !4xx && !CPM2 && !8xx default PCI_QSPAN if !4xx && !CPM2 && 8xx select ARCH_SUPPORTS_MSI help Index: working-2.6/arch/powerpc/kernel/head_32.S =================================================================== --- working-2.6.orig/arch/powerpc/kernel/head_32.S 2007-02-06 11:19:26.000000000 +1100 +++ working-2.6/arch/powerpc/kernel/head_32.S 2007-05-10 13:53:47.000000000 +1000 @@ -9,7 +9,6 @@ * rewritten by Paul Mackerras. * Copyright (C) 1996 Paul Mackerras. * MPC8xx modifications Copyright (C) 1997 Dan Malek (dm...@jl...). - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * This file contains the low-level support and setup for the * PowerPC platform, including trap and interrupt dispatch. @@ -32,10 +31,6 @@ #include <asm/ppc_asm.h> #include <asm/asm-offsets.h> -#ifdef CONFIG_APUS -#include <asm/amigappc.h> -#endif - /* 601 only have IBAT; cr0.eq is set on 601 when using this macro */ #define LOAD_BAT(n, reg, RA, RB) \ /* see the comment for clear_bats() -- Cort */ \ @@ -92,11 +87,6 @@ _start: * r4: virtual address of boot_infos_t * r5: 0 * - * APUS - * r3: 'APUS' - * r4: physical address of memory base - * Linux/m68k style BootInfo structure at &_end. - * * PREP * This is jumped to on prep systems right after the kernel is relocated * to its proper place in memory by the boot loader. The expected layout @@ -150,14 +140,6 @@ __start: */ bl early_init -#ifdef CONFIG_APUS -/* On APUS the __va/__pa constants need to be set to the correct - * values before continuing. - */ - mr r4,r30 - bl fix_mem_constants -#endif /* CONFIG_APUS */ - /* Switch MMU off, clear BATs and flush TLB. At this point, r3 contains * the physical address we are running at, returned by early_init() */ @@ -167,7 +149,7 @@ __after_mmu_off: bl flush_tlbs bl initial_bats -#if !defined(CONFIG_APUS) && defined(CONFIG_BOOTX_TEXT) +#if defined(CONFIG_BOOTX_TEXT) bl setup_disp_bat #endif @@ -183,7 +165,6 @@ __after_mmu_off: #endif /* CONFIG_6xx */ -#ifndef CONFIG_APUS /* * We need to run with _start at physical address 0. * On CHRP, we are loaded at 0x10000 since OF on CHRP uses @@ -196,7 +177,6 @@ __after_mmu_off: addis r4,r3,KERNELBASE@h /* current address of _start */ cmpwi 0,r4,0 /* are we already running at 0? */ bne relocate_kernel -#endif /* CONFIG_APUS */ /* * we now have the 1st 16M of ram mapped with the bats. * prep needs the mmu to be turned on here, but pmac already has it on. @@ -881,85 +861,6 @@ _GLOBAL(copy_and_flush) addi r6,r6,4 blr -#ifdef CONFIG_APUS -/* - * On APUS the physical base address of the kernel is not known at compile - * time, which means the __pa/__va constants used are incorrect. In the - * __init section is recorded the virtual addresses of instructions using - * these constants, so all that has to be done is fix these before - * continuing the kernel boot. - * - * r4 = The physical address of the kernel base. - */ -fix_mem_constants: - mr r10,r4 - addis r10,r10,-KERNELBASE@h /* virt_to_phys constant */ - neg r11,r10 /* phys_to_virt constant */ - - lis r12,__vtop_table_begin@h - ori r12,r12,__vtop_table_begin@l - add r12,r12,r10 /* table begin phys address */ - lis r13,__vtop_table_end@h - ori r13,r13,__vtop_table_end@l - add r13,r13,r10 /* table end phys address */ - subi r12,r12,4 - subi r13,r13,4 -1: lwzu r14,4(r12) /* virt address of instruction */ - add r14,r14,r10 /* phys address of instruction */ - lwz r15,0(r14) /* instruction, now insert top */ - rlwimi r15,r10,16,16,31 /* half of vp const in low half */ - stw r15,0(r14) /* of instruction and restore. */ - dcbst r0,r14 /* write it to memory */ - sync - icbi r0,r14 /* flush the icache line */ - cmpw r12,r13 - bne 1b - sync /* additional sync needed on g4 */ - isync - -/* - * Map the memory where the exception handlers will - * be copied to when hash constants have been patched. - */ -#ifdef CONFIG_APUS_FAST_EXCEPT - lis r8,0xfff0 -#else - lis r8,0 -#endif - ori r8,r8,0x2 /* 128KB, supervisor */ - mtspr SPRN_DBAT3U,r8 - mtspr SPRN_DBAT3L,r8 - - lis r12,__ptov_table_begin@h - ori r12,r12,__ptov_table_begin@l - add r12,r12,r10 /* table begin phys address */ - lis r13,__ptov_table_end@h - ori r13,r13,__ptov_table_end@l - add r13,r13,r10 /* table end phys address */ - subi r12,r12,4 - subi r13,r13,4 -1: lwzu r14,4(r12) /* virt address of instruction */ - add r14,r14,r10 /* phys address of instruction */ - lwz r15,0(r14) /* instruction, now insert top */ - rlwimi r15,r11,16,16,31 /* half of pv const in low half*/ - stw r15,0(r14) /* of instruction and restore. */ - dcbst r0,r14 /* write it to memory */ - sync - icbi r0,r14 /* flush the icache line */ - cmpw r12,r13 - bne 1b - - sync /* additional sync needed on g4 */ - isync /* No speculative loading until now */ - blr - -/*********************************************************************** - * Please note that on APUS the exception handlers are located at the - * physical address 0xfff0000. For this reason, the exception handlers - * cannot use relative branches to access the code below. - ***********************************************************************/ -#endif /* CONFIG_APUS */ - #ifdef CONFIG_SMP #ifdef CONFIG_GEMINI .globl __secondary_start_gemini @@ -1135,19 +1036,6 @@ start_here: bl __save_cpu_setup bl MMU_init -#ifdef CONFIG_APUS - /* Copy exception code to exception vector base on APUS. */ - lis r4,KERNELBASE@h -#ifdef CONFIG_APUS_FAST_EXCEPT - lis r3,0xfff0 /* Copy to 0xfff00000 */ -#else - lis r3,0 /* Copy to 0x00000000 */ -#endif - li r5,0x4000 /* # bytes of memory to copy */ - li r6,0 - bl copy_and_flush /* copy the first 0x4000 bytes */ -#endif /* CONFIG_APUS */ - /* * Go back to running unmapped so we can load up new values * for SDR1 (hash table pointer) and the segment registers @@ -1324,11 +1212,7 @@ initial_bats: #else ori r8,r8,2 /* R/W access */ #endif /* CONFIG_SMP */ -#ifdef CONFIG_APUS - ori r11,r11,BL_8M<<2|0x2 /* set up 8MB BAT registers for 604 */ -#else ori r11,r11,BL_256M<<2|0x2 /* set up BAT registers for 604 */ -#endif /* CONFIG_APUS */ mtspr SPRN_DBAT0L,r8 /* N.B. 6xx (not 601) have valid */ mtspr SPRN_DBAT0U,r11 /* bit in upper BAT register */ @@ -1338,7 +1222,7 @@ initial_bats: blr -#if !defined(CONFIG_APUS) && defined(CONFIG_BOOTX_TEXT) +#ifdef CONFIG_BOOTX_TEXT setup_disp_bat: /* * setup the display bat prepared for us in prom.c @@ -1362,7 +1246,7 @@ setup_disp_bat: 1: mtspr SPRN_IBAT3L,r8 mtspr SPRN_IBAT3U,r11 blr -#endif /* !defined(CONFIG_APUS) && defined(CONFIG_BOOTX_TEXT) */ +#endif /* CONFIG_BOOTX_TEXT */ #ifdef CONFIG_8260 /* Jump into the system reset for the rom. Index: working-2.6/arch/powerpc/kernel/irq.c =================================================================== --- working-2.6.orig/arch/powerpc/kernel/irq.c 2007-05-08 14:58:06.000000000 +1000 +++ working-2.6/arch/powerpc/kernel/irq.c 2007-05-10 13:53:47.000000000 +1000 @@ -7,7 +7,6 @@ * Copyright (C) 1996-2001 Cort Dougan * Adapted for Power Macintosh by Paul Mackerras * Copyright (C) 1996 Paul Mackerras (pa...@cs...) - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License Index: working-2.6/arch/powerpc/mm/44x_mmu.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/44x_mmu.c 2007-05-07 12:57:07.000000000 +1000 +++ working-2.6/arch/powerpc/mm/44x_mmu.c 2007-05-10 13:53:47.000000000 +1000 @@ -12,7 +12,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/4xx_mmu.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/4xx_mmu.c 2006-12-08 10:42:48.000000000 +1100 +++ working-2.6/arch/powerpc/mm/4xx_mmu.c 2007-05-10 13:53:47.000000000 +1000 @@ -9,7 +9,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/fsl_booke_mmu.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/fsl_booke_mmu.c 2006-12-08 10:42:48.000000000 +1100 +++ working-2.6/arch/powerpc/mm/fsl_booke_mmu.c 2007-05-10 13:53:47.000000000 +1000 @@ -14,7 +14,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/init_32.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/init_32.c 2007-04-26 13:57:24.000000000 +1000 +++ working-2.6/arch/powerpc/mm/init_32.c 2007-05-10 13:53:47.000000000 +1000 @@ -5,7 +5,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * PPC44x/36-bit changes by Matt Porter (mp...@mv...) * * Derived from "arch/i386/mm/init.c" Index: working-2.6/arch/powerpc/mm/init_64.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/init_64.c 2007-05-10 10:42:00.000000000 +1000 +++ working-2.6/arch/powerpc/mm/init_64.c 2007-05-10 13:53:47.000000000 +1000 @@ -5,7 +5,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/mem.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/mem.c 2007-05-10 10:42:00.000000000 +1000 +++ working-2.6/arch/powerpc/mm/mem.c 2007-05-10 13:53:47.000000000 +1000 @@ -5,7 +5,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * PPC44x/36-bit changes by Matt Porter (mp...@mv...) * * Derived from "arch/i386/mm/init.c" Index: working-2.6/arch/powerpc/mm/mmu_context_32.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/mmu_context_32.c 2006-12-08 10:42:48.000000000 +1100 +++ working-2.6/arch/powerpc/mm/mmu_context_32.c 2007-05-10 13:53:47.000000000 +1000 @@ -11,7 +11,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/mmu_decl.h =================================================================== --- working-2.6.orig/arch/powerpc/mm/mmu_decl.h 2007-05-07 12:57:07.000000000 +1000 +++ working-2.6/arch/powerpc/mm/mmu_decl.h 2007-05-10 13:53:47.000000000 +1000 @@ -8,7 +8,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/pgtable_64.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/pgtable_64.c 2007-02-19 11:05:31.000000000 +1100 +++ working-2.6/arch/powerpc/mm/pgtable_64.c 2007-05-10 13:53:47.000000000 +1000 @@ -7,7 +7,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@sa...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/ppc_mmu_32.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/ppc_mmu_32.c 2007-05-10 10:42:00.000000000 +1000 +++ working-2.6/arch/powerpc/mm/ppc_mmu_32.c 2007-05-10 13:53:47.000000000 +1000 @@ -11,7 +11,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/tlb_32.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/tlb_32.c 2007-05-10 10:42:00.000000000 +1000 +++ working-2.6/arch/powerpc/mm/tlb_32.c 2007-05-10 13:53:47.000000000 +1000 @@ -11,7 +11,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/mm/tlb_64.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/tlb_64.c 2007-05-10 10:42:00.000000000 +1000 +++ working-2.6/arch/powerpc/mm/tlb_64.c 2007-05-10 13:53:47.000000000 +1000 @@ -8,7 +8,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds Index: working-2.6/arch/powerpc/platforms/Kconfig =================================================================== --- working-2.6.orig/arch/powerpc/platforms/Kconfig 2007-05-08 15:07:45.000000000 +1000 +++ working-2.6/arch/powerpc/platforms/Kconfig 2007-05-10 13:53:47.000000000 +1000 @@ -16,13 +16,6 @@ config EMBEDDED6xx bool "Embedded 6xx/7xx/7xxx-based board" depends on PPC32 && (BROKEN||BROKEN_ON_SMP) -config APUS - bool "Amiga-APUS" - depends on PPC32 && BROKEN - help - Select APUS if configuring for a PowerUP Amiga. - More information is available at: - <http://linux-apus.sourceforge.net/>. endchoice source "arch/powerpc/platforms/pseries/Kconfig" Index: working-2.6/arch/powerpc/platforms/apus/Kconfig =================================================================== --- working-2.6.orig/arch/powerpc/platforms/apus/Kconfig 2006-12-08 10:42:48.000000000 +1100 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,130 +0,0 @@ - -config AMIGA - bool - depends on APUS - default y - help - This option enables support for the Amiga series of computers. - -config ZORRO - bool - depends on APUS - default y - help - This enables support for the Zorro bus in the Amiga. If you have - expansion cards in your Amiga that conform to the Amiga - AutoConfig(tm) specification, say Y, otherwise N. Note that even - expansion cards that do not fit in the Zorro slots but fit in e.g. - the CPU slot may fall in this category, so you have to say Y to let - Linux use these. - -config ABSTRACT_CONSOLE - bool - depends on APUS - default y - -config APUS_FAST_EXCEPT - bool - depends on APUS - default y - -config AMIGA_PCMCIA - bool "Amiga 1200/600 PCMCIA support" - depends on APUS && EXPERIMENTAL - help - Include support in the kernel for pcmcia on Amiga 1200 and Amiga - 600. If you intend to use pcmcia cards say Y; otherwise say N. - -config AMIGA_BUILTIN_SERIAL - tristate "Amiga builtin serial support" - depends on APUS - help - If you want to use your Amiga's built-in serial port in Linux, - answer Y. - - To compile this driver as a module, choose M here. - -config GVPIOEXT - tristate "GVP IO-Extender support" - depends on APUS - help - If you want to use a GVP IO-Extender serial card in Linux, say Y. - Otherwise, say N. - -config GVPIOEXT_LP - tristate "GVP IO-Extender parallel printer support" - depends on GVPIOEXT - help - Say Y to enable driving a printer from the parallel port on your - GVP IO-Extender card, N otherwise. - -config GVPIOEXT_PLIP - tristate "GVP IO-Extender PLIP support" - depends on GVPIOEXT - help - Say Y to enable doing IP over the parallel port on your GVP - IO-Extender card, N otherwise. - -config MULTIFACE_III_TTY - tristate "Multiface Card III serial support" - depends on APUS - help - If you want to use a Multiface III card's serial port in Linux, - answer Y. - - To compile this driver as a module, choose M here. - -config A2232 - tristate "Commodore A2232 serial support (EXPERIMENTAL)" - depends on EXPERIMENTAL && APUS - ---help--- - This option supports the 2232 7-port serial card shipped with the - Amiga 2000 and other Zorro-bus machines, dating from 1989. At - a max of 19,200 bps, the ports are served by a 6551 ACIA UART chip - each, plus a 8520 CIA, and a master 6502 CPU and buffer as well. The - ports were connected with 8 pin DIN connectors on the card bracket, - for which 8 pin to DB25 adapters were supplied. The card also had - jumpers internally to toggle various pinning configurations. - - This driver can be built as a module; but then "generic_serial" - will also be built as a module. This has to be loaded before - "ser_a2232". If you want to do this, answer M here. - -config WHIPPET_SERIAL - tristate "Hisoft Whippet PCMCIA serial support" - depends on AMIGA_PCMCIA - help - HiSoft has a web page at <http://www.hisoft.co.uk/>, but there - is no listing for the Whippet in their Amiga section. - -config APNE - tristate "PCMCIA NE2000 support" - depends on AMIGA_PCMCIA - help - If you have a PCMCIA NE2000 compatible adapter, say Y. Otherwise, - say N. - - To compile this driver as a module, choose M here: the - module will be called apne. - -config SERIAL_CONSOLE - bool "Support for serial port console" - depends on APUS && (AMIGA_BUILTIN_SERIAL=y || GVPIOEXT=y || MULTIFACE_III_TTY=y) - -config HEARTBEAT - bool "Use power LED as a heartbeat" - depends on APUS - help - Use the power-on LED on your machine as a load meter. The exact - behavior is platform-dependent, but normally the flash frequency is - a hyperbolic function of the 5-minute load average. - -config PROC_HARDWARE - bool "/proc/hardware support" - depends on APUS - -source "drivers/zorro/Kconfig" - -config PCI_PERMEDIA - bool "PCI for Permedia2" - depends on !4xx && !8xx && APUS Index: working-2.6/arch/powerpc/mm/pgtable_32.c =================================================================== --- working-2.6.orig/arch/powerpc/mm/pgtable_32.c 2007-05-10 13:57:21.000000000 +1000 +++ working-2.6/arch/powerpc/mm/pgtable_32.c 2007-05-10 13:57:28.000000000 +1000 @@ -8,7 +8,6 @@ * Modifications by Paul Mackerras (PowerMac) (pa...@cs...) * and Cort Dougan (PReP) (co...@cs...) * Copyright (C) 1996 Paul Mackerras - * Amiga/APUS changes by Jesper Skov (js...@cy...). * * Derived from "arch/i386/mm/init.c" * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds _______________________________________________ Linuxppc-dev mailing list Lin...@oz... https://ozlabs.org/mailman/listinfo/linuxppc-dev |
From: Geert U. <ge...@li...> - 2006-12-19 16:36:02
|
---------- Forwarded message ---------- Date: Tue, 19 Dec 2006 10:13:29 -0600 From: Kumar Gala <ga...@ke...> To: Adrian Bunk <bu...@st...> Cc: lin...@oz..., pa...@sa..., lin...@vg..., Kumar Gala <ga...@fr...> Subject: Re: [2.6 patch] powerpc: remove the broken Gemini support On Dec 18, 2006, at 10:12 PM, Adrian Bunk wrote: > On Sat, Nov 25, 2006 at 12:49:35AM +0100, Adrian Bunk wrote: >> I just saw the commit message below. >> >> There seems to have been some although unmerged work on APUS >> support by >> Roman, but I didn't find any recent work on bringing the GEMINI >> support >> back into life. >> >> Is this a wrong impression, or would a patch to remove it be OK? >> ... > > Zero feedback, patch to remove it below. > > cu > Adrian I'm good with removing GEMINI since no one seems to have raised any fuss about this and I brought the issue up over a year ago now. However, I leave the final decision up to Paul. Also, where do we stand with APUS? - k _______________________________________________ Linuxppc-dev mailing list Lin...@oz... https://ozlabs.org/mailman/listinfo/linuxppc-dev |
From: Geert U. <ge...@li...> - 2006-11-25 13:51:21
|
---------- Forwarded message ---------- Date: Sat, 25 Nov 2006 00:49:35 +0100 From: Adrian Bunk <bu...@st...> To: pa...@sa..., Kumar Gala <ga...@fr...> Cc: lin...@oz..., lin...@vg... Subject: RFC: powerpc: remove GEMINI support? I just saw the commit message below. There seems to have been some although unmerged work on APUS support by Roman, but I didn't find any recent work on bringing the GEMINI support back into life. Is this a wrong impression, or would a patch to remove it be OK? cu Adrian commit e8be1c8e065691c332fd8e9bae70c7096a69c31d Author: Kumar Gala <ga...@fr...> Date: Sun Jul 31 22:34:51 2005 -0700 [PATCH] ppc32: Mark boards that don't build as BROKEN Marked APUS and GEMINI as BROKEN since they do not build at the platform level. We have requested that the maintainers of these boards/platforms fix them by the time 2.6.15 is released or we plan on concerning them unmaintained and thus removing them. Signed-off-by: Kumar Gala <kum...@fr...> Signed-off-by: Andrew Morton <ak...@os...> Signed-off-by: Linus Torvalds <tor...@os...> diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig index 2c2da9b..f6db3b3 100644 --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig @@ -558,6 +558,7 @@ config PPC_MULTIPLATFORM config APUS bool "Amiga-APUS" + depends on BROKEN help Select APUS if configuring for a PowerUP Amiga. More information is available at: @@ -647,6 +648,7 @@ config PAL4 config GEMINI bool "Synergy-Gemini" + depends on BROKEN help Select Gemini if configuring for a Synergy Microsystems' Gemini series Single Board Computer. More information is available at: _______________________________________________ Linuxppc-dev mailing list Lin...@oz... https://ozlabs.org/mailman/listinfo/linuxppc-dev |
From: Roman Z. <zi...@li...> - 2006-11-07 16:44:18
|
Hi, On Mon, 6 Nov 2006, Geert Uytterhoeven wrote: > ---------- Forwarded message ---------- > Date: Mon, 06 Nov 2006 09:55:33 +1100 > From: Benjamin Herrenschmidt <be...@ke...> > To: lin...@oz... > Subject: APUS and IOs question > > Somebody who understands APUS around ? > > In include/asm-ppc/io.h, we have a special definition of the PCI IO > accessors readw,writew,readl and writel for APUS that don't do byteswap > and also don't do barriers. > > This seems very bogus to me. Can somebody explain me why it's done that > way so I can then explain why it's broken ? :-) > > I will remove those definitions soon, so unless I get a very convincing > argument of why it has to be done that way on APUS, things might break > (APUS-specific drivers relying on those not swapping will have to be > fixed). That stuff is quite old and I only fixed it as needed, so I'm not 100% sure how it's used completely. Anyway, AFAICT they mainly used by non-APUS specific drivers, mainly that would be the permedia fb driver. To make things worse I think this hardware is connected with some simple PCI adapter working in big endian mode. Everything else should use the zorro specific functions, where I added an eieio(). I agree that it's a mess and I haven't worked on it for a long time, everytime I attempted to clean this stuff up, patches have been welcomed with such enthusiasm, that I'd rather continued hacking on something else... bye, Roman |
From: Geert U. <ge...@li...> - 2006-11-06 05:45:03
|
---------- Forwarded message ---------- Date: Mon, 06 Nov 2006 09:55:33 +1100 From: Benjamin Herrenschmidt <be...@ke...> To: lin...@oz... Subject: APUS and IOs question Somebody who understands APUS around ? In include/asm-ppc/io.h, we have a special definition of the PCI IO accessors readw,writew,readl and writel for APUS that don't do byteswap and also don't do barriers. This seems very bogus to me. Can somebody explain me why it's done that way so I can then explain why it's broken ? :-) I will remove those definitions soon, so unless I get a very convincing argument of why it has to be done that way on APUS, things might break (APUS-specific drivers relying on those not swapping will have to be fixed). Ben. _______________________________________________ Linuxppc-dev mailing list Lin...@oz... https://ozlabs.org/mailman/listinfo/linuxppc-dev |
From: Sven L. <sve...@wa...> - 2006-09-14 12:49:22
|
On Thu, Sep 14, 2006 at 12:40:19PM +0200, Roman Zippel wrote: > Hi, > > On Wed, 13 Sep 2006, Sven Luther wrote: > > > Had you any luck trying to do the porting work to 2.6.17/2.6.18 (still using > > the ARCH=ppc subtree) ? I am trying to ressurect the apus suport in the latest > > debian kernels, and as etch will probably release with 2.6.18 ... > > Sorry, but I hadn't any time for it yet. Getting the m68k port in shape is > keeping me busy right now... Hehe, i guess so. Do you plan to have any time for it in the near future ? Do you see someone else who would do this ? Just asking before trying to get into it myself, who suffer from the same busy problem :) Friendly, Sven Luther |
From: Roman Z. <zi...@li...> - 2006-09-14 10:40:30
|
Hi, On Wed, 13 Sep 2006, Sven Luther wrote: > Had you any luck trying to do the porting work to 2.6.17/2.6.18 (still using > the ARCH=ppc subtree) ? I am trying to ressurect the apus suport in the latest > debian kernels, and as etch will probably release with 2.6.18 ... Sorry, but I hadn't any time for it yet. Getting the m68k port in shape is keeping me busy right now... bye, Roman |
From: Sven L. <sve...@wa...> - 2006-09-13 12:54:06
|
On Sun, Nov 13, 2005 at 05:34:29PM +0100, Roman Zippel wrote: > Hi, > > On Sun, 13 Nov 2005, Sven Luther wrote: > > > Mmm, the CVS archive doesn't seem to have those changes, so i wonder what > > happened here. As you can see on : > > Did you check it out anonymously? I guess it's the delay to the public CVS > servers, but you can use your sf account to check it out. Hi Roman, ... Had you any luck trying to do the porting work to 2.6.17/2.6.18 (still using the ARCH=ppc subtree) ? I am trying to ressurect the apus suport in the latest debian kernels, and as etch will probably release with 2.6.18 ... Friendly, Sven Luther |
From: Willy <wca...@no...> - 2006-07-25 14:06:21
|
hi, i want to compile the bootstrap program. To do this, i need egcs warpup. On http://user.cs.tu-berlin.de/~paladin/, all links are broken. Is there another place to find it ? can someone send it to me ? Thanks, Willy. |
From: Sven L. <sve...@wa...> - 2005-11-13 16:42:24
|
On Sun, Nov 13, 2005 at 05:34:29PM +0100, Roman Zippel wrote: > Hi, > > On Sun, 13 Nov 2005, Sven Luther wrote: > > > Mmm, the CVS archive doesn't seem to have those changes, so i wonder what > > happened here. As you can see on : > > Did you check it out anonymously? I guess it's the delay to the public CVS ah, yes. > servers, but you can use your sf account to check it out. If i remembered my password, i could indeed :) Friendly, Sven Luther |
From: Roman Z. <zi...@li...> - 2005-11-13 16:34:35
|
Hi, On Sun, 13 Nov 2005, Sven Luther wrote: > Mmm, the CVS archive doesn't seem to have those changes, so i wonder what > happened here. As you can see on : Did you check it out anonymously? I guess it's the delay to the public CVS servers, but you can use your sf account to check it out. bye, Roman |
From: Roman Z. <zi...@us...> - 2005-11-13 16:31:10
|
CVSROOT: /cvsroot/linux-apus Module name: 2.6 Repository: 2.6/include/asm-ppc/ Changes by: zi...@sc....(none) 05/11/13 08:31:04 Log message: Avoid pulling in the m68k setup.h and put the Amiga specific settings into amigahw.h for now. Modified files: 2.6/arch/ppc/amiga/: bootinfo.c 2.6/arch/ppc/platforms/: apus_setup.c 2.6/drivers/video/console/: fonts.c 2.6/include/asm-ppc/: amigahw.h Revision Changes Path 1.2 +3 -11 2.6/arch/ppc/amiga/bootinfo.c 1.5 +2 -1 2.6/arch/ppc/platforms/apus_setup.c 1.2 +13 -5 2.6/drivers/video/console/fonts.c 1.3 +16 -0 2.6/include/asm-ppc/amigahw.h |
From: Sven L. <sve...@wa...> - 2005-11-13 09:15:09
|
On Sat, Nov 12, 2005 at 11:51:30AM -0800, Roman Zippel wrote: > CVSROOT: /cvsroot/linux-apus > Module name: 2.6 > Repository: 2.6/sound/oss/ > Changes by: zi...@sc....(none) 05/11/12 11:51:30 > > Log message: > conflict fixes from import of 2.6.14 Mmm, the CVS archive doesn't seem to have those changes, so i wonder what happened here. As you can see on : http://cvs.sourceforge.net/viewcvs.py/linux-apus/2.6/ only the 2.6.13 stuff is tagged, and that 7 weeks ago, and a cvs co 2.6 shows the same kind of problems. Any idea of what did happen wrongly, and if the CVS is outdated or otherwise fucked, could you beso kind as to send me the diff ? I was planing to include the patches into debian's 2.6.14-3 kernels which will go out tomorrow or tuesday. Friendly, Sven Luther |
From: Roman Z. <zi...@us...> - 2005-11-12 19:51:39
|
CVSROOT: /cvsroot/linux-apus Module name: 2.6 Repository: 2.6/sound/oss/ Changes by: zi...@sc....(none) 05/11/12 11:51:30 Log message: conflict fixes from import of 2.6.14 Modified files: ./: Makefile 2.6/arch/ppc/: Kconfig Makefile 2.6/arch/ppc/configs/: apus_defconfig 2.6/arch/ppc/kernel/: head.S misc.S ppc_ksyms.c setup.c time.c 2.6/arch/ppc/mm/: init.c 2.6/include/asm-ppc/: io.h pgtable.h Added files: 2.6/drivers/net/: sis190.c 2.6/include/asm-arm/arch-omap/: serial.h 2.6/include/linux/netfilter_ipv6/: ip6t_REJECT.h Removed files: 2.6/arch/arm26/boot/compressed/: hw-bse.c 2.6/arch/i386/lib/: dec_and_lock.c 2.6/arch/ia64/kernel/: domain.c 2.6/arch/ia64/lib/: dec_and_lock.c 2.6/arch/m68k/lib/: memcmp.c memcpy.c memset.c 2.6/arch/m68knommu/platform/68VZ328/de2/: config.c 2.6/arch/m68knommu/platform/68VZ328/ucdimm/: config.c 2.6/arch/mips/configs/: osprey_defconfig 2.6/arch/mips/kernel/: offset.c 2.6/arch/mips/lib/: dec_and_lock.c 2.6/arch/mips/vr4181/common/: Makefile int_handler.S irq.c serial.c time.c 2.6/arch/mips/vr4181/osprey/: Makefile dbg_io.c prom.c reset.c setup.c 2.6/arch/mips/vr41xx/tanbac-tb0226/: Makefile setup.c 2.6/arch/mips/vr41xx/tanbac-tb0229/: Makefile setup.c 2.6/arch/mips/vr41xx/victor-mpc30x/: Makefile setup.c 2.6/arch/mips/vr41xx/zao-capcella/: Makefile setup.c 2.6/arch/parisc/lib/: debuglocks.c 2.6/arch/ppc/boot/utils/: addRamDisk.c 2.6/arch/ppc/configs/: SM850_defconfig SPD823TS_defconfig adir_defconfig ash_defconfig beech_defconfig cedar_defconfig k2_defconfig mcpn765_defconfig menf1_defconfig oak_defconfig pcore_defconfig rainier_defconfig redwood_defconfig 2.6/arch/ppc/kernel/: find_name.c 2.6/arch/ppc/lib/: dec_and_lock.c 2.6/arch/ppc/platforms/: adir.h adir_pci.c adir_pic.c adir_setup.c k2.c k2.h mcpn765.c mcpn765.h pcore.c pcore.h spd8xx.h 2.6/arch/ppc/platforms/4xx/: ash.c ash.h oak.c oak.h oak_setup.h 2.6/arch/ppc64/boot/: ppc32-types.h 2.6/arch/ppc64/lib/: dec_and_lock.c 2.6/arch/ppc64/oprofile/: op_impl.h 2.6/arch/sparc/lib/: debuglocks.c 2.6/arch/sparc64/lib/: debuglocks.c dec_and_lock.S 2.6/arch/sparc64/mm/: extable.c 2.6/arch/sparc64/prom/: map.S memory.c 2.6/arch/um/: Kconfig_char Kconfig_i386 Kconfig_net Kconfig_scsi Kconfig_x86_64 2.6/arch/um/include/: syscall_user.h 2.6/arch/um/kernel/: mem_user.c process.c syscall_user.c tempfile.c 2.6/arch/um/kernel/skas/: syscall_kern.c syscall_user.c 2.6/arch/um/kernel/skas/util/: Makefile mk_ptregs-i386.c mk_ptregs-x86_64.c 2.6/arch/um/os-Linux/util/: Makefile mk_user_constants.c 2.6/arch/um/sys-i386/util/: Makefile mk_sc.c mk_thread.c 2.6/arch/um/sys-x86_64/util/: Makefile mk_sc.c mk_thread.c 2.6/arch/um/util/: Makefile mk_constants.c mk_task.c 2.6/arch/v850/kernel/: asm-consts.c 2.6/arch/x86_64/kernel/: msr.c semaphore.c 2.6/arch/x86_64/lib/: dec_and_lock.c 2.6/drivers/bluetooth/: hci_vhci.h 2.6/drivers/char/drm/: gamma_context.h gamma_dma.c gamma_drm.h gamma_drv.c gamma_drv.h gamma_lists.h gamma_lock.h gamma_old_dma.h 2.6/drivers/i2c/: i2c-sensor-detect.c i2c-sensor-vid.c 2.6/drivers/infiniband/include/: ib_cache.h ib_cm.h ib_fmr_pool.h ib_mad.h ib_pack.h ib_sa.h ib_smi.h ib_user_cm.h ib_user_mad.h ib_user_verbs.h ib_verbs.h 2.6/drivers/net/: iseries_veth.h 2.6/drivers/net/wireless/: ieee802_11.h 2.6/drivers/pci/: gen-devlist.c names.c pci.ids 2.6/drivers/pci/hotplug/: rpaphp_vio.c 2.6/fs/devpts/: xattr_security.c 2.6/fs/umsdos/: notes 2.6/include/asm-alpha/: hdreg.h 2.6/include/asm-arm/: hdreg.h 2.6/include/asm-arm26/: hdreg.h 2.6/include/asm-generic/: hdreg.h 2.6/include/asm-h8300/: hdreg.h 2.6/include/asm-i386/: hdreg.h 2.6/include/asm-ia64/: hdreg.h 2.6/include/asm-m32r/: hdreg.h 2.6/include/asm-m68k/: hdreg.h 2.6/include/asm-m68knommu/: hdreg.h 2.6/include/asm-mips/: hdreg.h 2.6/include/asm-mips/hp-lj/: asic.h 2.6/include/asm-mips/mach-vr41xx/: timex.h 2.6/include/asm-mips/vr4181/: irq.h vr4181.h 2.6/include/asm-parisc/: hdreg.h 2.6/include/asm-ppc/: 8253pit.h agp.h bugs.h cputime.h div64.h emergency-restart.h errno.h fcntl.h hdreg.h ioctl.h ioctls.h ipc.h linkage.h local.h mc146818rtc.h mman.h module.h msgbuf.h namei.h param.h percpu.h poll.h resource.h segment.h sembuf.h setup.h shmbuf.h shmparam.h siginfo.h socket.h sockios.h string.h termbits.h termios.h timex.h topology.h unaligned.h user.h xor.h 2.6/include/asm-ppc64/: 8253pit.h agp.h bugs.h cputime.h div64.h emergency-restart.h errno.h fcntl.h hdreg.h ioctl.h ioctls.h ipc.h linkage.h local.h mc146818rtc.h mman.h module.h msgbuf.h namei.h param.h percpu.h poll.h resource.h segment.h sembuf.h setup.h shmbuf.h shmparam.h siginfo.h socket.h sockios.h string.h termbits.h termios.h timex.h topology.h unaligned.h user.h xor.h 2.6/include/asm-sh/: hdreg.h 2.6/include/asm-sh64/: hdreg.h 2.6/include/asm-sparc/: hdreg.h segment.h 2.6/include/asm-sparc64/: hdreg.h segment.h 2.6/include/asm-um/: hdreg.h 2.6/include/asm-x86_64/: hdreg.h 2.6/include/asm-xtensa/: hdreg.h page.h.n 2.6/include/linux/: i2c-sensor.h i2c-vid.h tcp_diag.h 2.6/include/linux/netfilter_ipv4/: ip_logging.h 2.6/include/linux/netfilter_ipv6/: ip6_logging.h 2.6/net/core/: netfilter.c 2.6/sound/oss/: skeleton.c Revision Changes Path 1.17 +110 -140 2.6/Makefile 1.3 +34 -56 2.6/arch/ppc/Kconfig 1.10 +13 -10 2.6/arch/ppc/Makefile 1.14 +220 -146 2.6/arch/ppc/configs/apus_defconfig 1.12 +14 -16 2.6/arch/ppc/kernel/head.S 1.14 +1 -1 2.6/arch/ppc/kernel/misc.S 1.14 +1 -3 2.6/arch/ppc/kernel/ppc_ksyms.c 1.14 +26 -2 2.6/arch/ppc/kernel/setup.c 1.10 +2 -6 2.6/arch/ppc/kernel/time.c 1.10 +4 -3 2.6/arch/ppc/mm/init.c 1.13 +10 -10 2.6/include/asm-ppc/io.h 1.11 +0 -11 2.6/include/asm-ppc/pgtable.h |
From: Roman Z. <zi...@us...> - 2005-11-12 19:19:50
|
CVSROOT: /cvsroot/linux-apus Module name: 2.6 Repository: ./ Changes by: zi...@sc....(none) 05/11/12 11:19:41 2.6 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23029 Log Message: import native 2.6.14 Status: Vendor Tag: linux Release Tags: linux-2_6_14 N 2.6/Kbuild N 2.6/.gitignore C 2.6/Makefile N 2.6/usr/Kconfig N 2.6/usr/.gitignore N 2.6/sound/pci/ad1889.h N 2.6/sound/pci/ad1889.c N 2.6/sound/pci/hda/patch_si3054.c N 2.6/sound/pci/ac97/ac97_bus.c N 2.6/security/inode.c N 2.6/security/keys/permission.c N 2.6/scripts/setlocalversion N 2.6/scripts/Kbuild.include N 2.6/scripts/.gitignore N 2.6/scripts/basic/.gitignore N 2.6/scripts/mod/.gitignore N 2.6/scripts/package/buildtar N 2.6/scripts/kconfig/.gitignore N 2.6/net/netfilter/nfnetlink_queue.c N 2.6/net/netfilter/nfnetlink_log.c N 2.6/net/netfilter/nfnetlink.c N 2.6/net/netfilter/nf_sockopt.c N 2.6/net/netfilter/nf_queue.c N 2.6/net/netfilter/nf_log.c N 2.6/net/netfilter/nf_internals.h N 2.6/net/netfilter/core.c N 2.6/net/netfilter/Makefile N 2.6/net/netfilter/Kconfig N 2.6/net/ieee80211/ieee80211_wx.c N 2.6/net/ieee80211/ieee80211_tx.c N 2.6/net/ieee80211/ieee80211_rx.c N 2.6/net/ieee80211/ieee80211_module.c N 2.6/net/ieee80211/ieee80211_crypt_wep.c N 2.6/net/ieee80211/ieee80211_crypt_tkip.c N 2.6/net/ieee80211/ieee80211_crypt_ccmp.c N 2.6/net/ieee80211/ieee80211_crypt.c N 2.6/net/ieee80211/Makefile N 2.6/net/ieee80211/Kconfig N 2.6/net/dccp/timer.c N 2.6/net/dccp/proto.c N 2.6/net/dccp/output.c N 2.6/net/dccp/options.c N 2.6/net/dccp/minisocks.c N 2.6/net/dccp/ipv4.c N 2.6/net/dccp/input.c N 2.6/net/dccp/diag.c N 2.6/net/dccp/dccp.h N 2.6/net/dccp/ccid.h N 2.6/net/dccp/ccid.c N 2.6/net/dccp/ackvec.h N 2.6/net/dccp/ackvec.c N 2.6/net/dccp/Makefile N 2.6/net/dccp/Kconfig N 2.6/net/dccp/ccids/ccid3.h N 2.6/net/dccp/ccids/ccid3.c N 2.6/net/dccp/ccids/Makefile N 2.6/net/dccp/ccids/Kconfig N 2.6/net/dccp/ccids/lib/tfrc_equation.c N 2.6/net/dccp/ccids/lib/tfrc.h N 2.6/net/dccp/ccids/lib/packet_history.h N 2.6/net/dccp/ccids/lib/packet_history.c N 2.6/net/dccp/ccids/lib/loss_interval.h N 2.6/net/dccp/ccids/lib/loss_interval.c N 2.6/net/dccp/ccids/lib/Makefile N 2.6/net/llc/sysctl_net_llc.c N 2.6/net/ipv6/netfilter.c N 2.6/net/ipv6/inet6_hashtables.c N 2.6/net/ipv6/netfilter/ip6t_REJECT.c N 2.6/net/ipv6/netfilter/ip6t_NFQUEUE.c N 2.6/net/ipv6/netfilter/ip6t_HL.c N 2.6/net/ipv4/netfilter.c N 2.6/net/ipv4/inet_timewait_sock.c N 2.6/net/ipv4/inet_hashtables.c N 2.6/net/ipv4/inet_connection_sock.c N 2.6/net/ipv4/inet_diag.c N 2.6/net/ipv4/netfilter/ipt_connbytes.c N 2.6/net/ipv4/netfilter/ip_nat_proto_gre.c N 2.6/net/ipv4/netfilter/ip_nat_helper_pptp.c N 2.6/net/ipv4/netfilter/ip_conntrack_proto_gre.c N 2.6/net/ipv4/netfilter/ip_conntrack_netlink.c N 2.6/net/ipv4/netfilter/ip_conntrack_netbios_ns.c N 2.6/net/ipv4/netfilter/ip_conntrack_helper_pptp.c N 2.6/net/ipv4/netfilter/ipt_NFQUEUE.c N 2.6/net/ipv4/netfilter/ipt_string.c N 2.6/net/ipv4/netfilter/ipt_dccp.c N 2.6/net/ipv4/netfilter/ipt_TTL.c N 2.6/lib/ts_bm.c N 2.6/lib/spinlock_debug.c N 2.6/lib/semaphore-sleepers.c N 2.6/lib/crc16.c N 2.6/lib/.gitignore N 2.6/kernel/softlockup.c N 2.6/include/rdma/ib_verbs.h N 2.6/include/rdma/ib_user_verbs.h N 2.6/include/rdma/ib_user_mad.h N 2.6/include/rdma/ib_user_cm.h N 2.6/include/rdma/ib_smi.h N 2.6/include/rdma/ib_sa.h N 2.6/include/rdma/ib_pack.h N 2.6/include/rdma/ib_mad.h N 2.6/include/rdma/ib_fmr_pool.h N 2.6/include/rdma/ib_cm.h N 2.6/include/rdma/ib_cache.h N 2.6/include/asm-powerpc/xor.h N 2.6/include/asm-powerpc/user.h N 2.6/include/asm-powerpc/unaligned.h N 2.6/include/asm-powerpc/topology.h N 2.6/include/asm-powerpc/timex.h N 2.6/include/asm-powerpc/termios.h N 2.6/include/asm-powerpc/termbits.h N 2.6/include/asm-powerpc/string.h N 2.6/include/asm-powerpc/sockios.h N 2.6/include/asm-powerpc/socket.h N 2.6/include/asm-powerpc/siginfo.h N 2.6/include/asm-powerpc/shmparam.h N 2.6/include/asm-powerpc/shmbuf.h N 2.6/include/asm-powerpc/setup.h N 2.6/include/asm-powerpc/sembuf.h N 2.6/include/asm-powerpc/resource.h N 2.6/include/asm-powerpc/poll.h N 2.6/include/asm-powerpc/percpu.h N 2.6/include/asm-powerpc/param.h N 2.6/include/asm-powerpc/namei.h N 2.6/include/asm-powerpc/msgbuf.h N 2.6/include/asm-powerpc/module.h N 2.6/include/asm-powerpc/mman.h N 2.6/include/asm-powerpc/mc146818rtc.h N 2.6/include/asm-powerpc/local.h N 2.6/include/asm-powerpc/linkage.h N 2.6/include/asm-powerpc/ipc.h N 2.6/include/asm-powerpc/ioctls.h N 2.6/include/asm-powerpc/ioctl.h N 2.6/include/asm-powerpc/fcntl.h N 2.6/include/asm-powerpc/errno.h N 2.6/include/asm-powerpc/emergency-restart.h N 2.6/include/asm-powerpc/div64.h N 2.6/include/asm-powerpc/cputime.h N 2.6/include/asm-powerpc/bugs.h N 2.6/include/asm-powerpc/agp.h N 2.6/include/asm-powerpc/8253pit.h N 2.6/include/asm-xtensa/auxvec.h N 2.6/include/asm-frv/futex.h N 2.6/include/asm-frv/auxvec.h N 2.6/include/asm-m32r/spinlock_types.h N 2.6/include/asm-m32r/futex.h N 2.6/include/asm-m32r/auxvec.h N 2.6/include/video/cyblafb.h N 2.6/include/scsi/scsi_transport_sas.h N 2.6/include/net/tcp_states.h N 2.6/include/net/inet_timewait_sock.h N 2.6/include/net/inet_hashtables.h N 2.6/include/net/inet_connection_sock.h N 2.6/include/net/inet6_hashtables.h N 2.6/include/net/ieee80211_crypt.h N 2.6/include/linux/spinlock_up.h N 2.6/include/linux/spinlock_types_up.h N 2.6/include/linux/spinlock_types.h N 2.6/include/linux/spinlock_api_up.h N 2.6/include/linux/spinlock_api_smp.h N 2.6/include/linux/relayfs_fs.h N 2.6/include/linux/rcuref.h N 2.6/include/linux/raid_class.h N 2.6/include/linux/phy.h N 2.6/include/linux/pci_regs.h N 2.6/include/linux/i2c-pxa.h N 2.6/include/linux/i2c-isa.h N 2.6/include/linux/hwmon.h N 2.6/include/linux/hwmon-vid.h N 2.6/include/linux/fuse.h N 2.6/include/linux/dccp.h N 2.6/include/linux/crc16.h N 2.6/include/linux/connector.h N 2.6/include/linux/bit_spinlock.h N 2.6/include/linux/tfrc.h N 2.6/include/linux/auxvec.h N 2.6/include/linux/inet_diag.h N 2.6/include/linux/netfilter/nfnetlink_queue.h N 2.6/include/linux/netfilter/nfnetlink_log.h N 2.6/include/linux/netfilter/nfnetlink_conntrack.h N 2.6/include/linux/netfilter/nfnetlink.h C 2.6/include/linux/netfilter_ipv6/ip6t_REJECT.h N 2.6/include/linux/netfilter_ipv6/ip6t_HL.h N 2.6/include/linux/netfilter_ipv4/ipt_string.h N 2.6/include/linux/netfilter_ipv4/ipt_dccp.h N 2.6/include/linux/netfilter_ipv4/ipt_connbytes.h N 2.6/include/linux/netfilter_ipv4/ipt_NFQUEUE.h N 2.6/include/linux/netfilter_ipv4/ip_conntrack_proto_gre.h N 2.6/include/linux/netfilter_ipv4/ip_nat_pptp.h N 2.6/include/linux/netfilter_ipv4/ipt_TTL.h N 2.6/include/linux/netfilter_ipv4/ip_conntrack_pptp.h N 2.6/include/asm-x86_64/spinlock_types.h N 2.6/include/asm-x86_64/futex.h N 2.6/include/asm-x86_64/auxvec.h N 2.6/include/asm-v850/futex.h N 2.6/include/asm-v850/auxvec.h N 2.6/include/asm-um/spinlock_types.h N 2.6/include/asm-um/futex.h N 2.6/include/asm-um/auxvec.h N 2.6/include/asm-sparc64/spinlock_types.h N 2.6/include/asm-sparc64/futex.h N 2.6/include/asm-sparc64/auxvec.h N 2.6/include/asm-sparc64/sfafsr.h N 2.6/include/asm-sparc/spinlock_types.h N 2.6/include/asm-sparc/futex.h N 2.6/include/asm-sparc/auxvec.h N 2.6/include/asm-sh/spinlock_types.h N 2.6/include/asm-sh/futex.h N 2.6/include/asm-sh/auxvec.h N 2.6/include/asm-s390/spinlock_types.h N 2.6/include/asm-s390/futex.h N 2.6/include/asm-s390/auxvec.h N 2.6/include/asm-ppc64/auxvec.h N 2.6/include/asm-ppc64/spinlock_types.h C 2.6/include/asm-ppc64/pmc.h N 2.6/include/asm-ppc64/oprofile_impl.h N 2.6/include/asm-ppc64/futex.h N 2.6/include/asm-ppc64/firmware.h N 2.6/include/asm-ppc/spinlock_types.h C 2.6/include/asm-ppc/pgtable.h C 2.6/include/asm-ppc/io.h N 2.6/include/asm-ppc/futex.h N 2.6/include/asm-ppc/auxvec.h N 2.6/include/asm-parisc/spinlock_types.h N 2.6/include/asm-parisc/futex.h N 2.6/include/asm-parisc/auxvec.h N 2.6/include/asm-sh64/futex.h N 2.6/include/asm-sh64/auxvec.h N 2.6/include/asm-mips/spinlock_types.h N 2.6/include/asm-mips/qemu.h N 2.6/include/asm-mips/futex.h N 2.6/include/asm-mips/auxvec.h N 2.6/include/asm-mips/mach-qemu/param.h N 2.6/include/asm-mips/mach-qemu/cpu-feature-overrides.h N 2.6/include/asm-mips/vr41xx/tb0287.h N 2.6/include/asm-m68knommu/m523xsim.h N 2.6/include/asm-m68knommu/futex.h N 2.6/include/asm-m68knommu/auxvec.h N 2.6/include/asm-m68k/futex.h N 2.6/include/asm-m68k/auxvec.h N 2.6/include/asm-ia64/spinlock_types.h N 2.6/include/asm-ia64/futex.h N 2.6/include/asm-ia64/auxvec.h N 2.6/include/asm-ia64/sn/tioce_provider.h N 2.6/include/asm-ia64/sn/tioce.h N 2.6/include/asm-ia64/sn/sn_feature_sets.h N 2.6/include/asm-i386/spinlock_types.h N 2.6/include/asm-i386/futex.h N 2.6/include/asm-i386/auxvec.h N 2.6/include/asm-i386/numa.h N 2.6/include/asm-h8300/futex.h N 2.6/include/asm-h8300/auxvec.h N 2.6/include/asm-generic/fcntl.h N 2.6/include/asm-generic/page.h N 2.6/include/asm-cris/futex.h N 2.6/include/asm-cris/auxvec.h N 2.6/include/asm-arm26/futex.h N 2.6/include/asm-arm26/auxvec.h N 2.6/include/asm-arm/spinlock_types.h N 2.6/include/asm-arm/futex.h N 2.6/include/asm-arm/auxvec.h N 2.6/include/asm-arm/arch-s3c2410/fb.h N 2.6/include/asm-arm/arch-s3c2410/anubis-map.h N 2.6/include/asm-arm/arch-s3c2410/anubis-irq.h N 2.6/include/asm-arm/arch-s3c2410/anubis-cpld.h C 2.6/include/asm-arm/arch-omap/serial.h N 2.6/include/asm-arm/arch-omap/omap24xx.h N 2.6/include/asm-arm/arch-omap/mtd-xip.h N 2.6/include/asm-arm/arch-omap/dsp_common.h N 2.6/include/asm-arm/arch-omap/dsp.h N 2.6/include/asm-arm/arch-omap/dmtimer.h N 2.6/include/asm-arm/hardware/gic.h N 2.6/include/asm-arm/hardware/arm_twd.h N 2.6/include/asm-arm/arch-sa1100/mcp.h N 2.6/include/asm-arm/arch-pxa/spitz.h N 2.6/include/asm-arm/arch-pxa/sharpsl.h N 2.6/include/asm-arm/arch-pxa/i2c.h N 2.6/include/asm-arm/arch-pxa/akita.h N 2.6/include/asm-alpha/spinlock_types.h N 2.6/include/asm-alpha/futex.h N 2.6/include/asm-alpha/barrier.h N 2.6/include/asm-alpha/auxvec.h N 2.6/fs/relayfs/relay.h N 2.6/fs/relayfs/relay.c N 2.6/fs/relayfs/inode.c N 2.6/fs/relayfs/buffers.h N 2.6/fs/relayfs/buffers.c N 2.6/fs/relayfs/Makefile N 2.6/fs/fuse/inode.c N 2.6/fs/fuse/fuse_i.h N 2.6/fs/fuse/file.c N 2.6/fs/fuse/dir.c N 2.6/fs/fuse/dev.c N 2.6/fs/fuse/Makefile N 2.6/fs/9p/vfs_super.c N 2.6/fs/9p/vfs_inode.c N 2.6/fs/9p/vfs_file.c N 2.6/fs/9p/vfs_dir.c N 2.6/fs/9p/vfs_dentry.c N 2.6/fs/9p/v9fs_vfs.h N 2.6/fs/9p/v9fs.h N 2.6/fs/9p/v9fs.c N 2.6/fs/9p/transport.h N 2.6/fs/9p/trans_sock.c N 2.6/fs/9p/trans_fd.c N 2.6/fs/9p/mux.h N 2.6/fs/9p/mux.c N 2.6/fs/9p/fid.h N 2.6/fs/9p/fid.c N 2.6/fs/9p/error.h N 2.6/fs/9p/error.c N 2.6/fs/9p/debug.h N 2.6/fs/9p/conv.h N 2.6/fs/9p/conv.c N 2.6/fs/9p/Makefile N 2.6/fs/9p/9p.h N 2.6/fs/9p/9p.c N 2.6/fs/xfs/Makefile-linux-2.6 N 2.6/fs/xfs/linux-2.6/xfs_aops.h N 2.6/fs/xfs/quota/Makefile-linux-2.6 N 2.6/fs/xfs/quota/Makefile N 2.6/drivers/mfd/ucb1x00.h N 2.6/drivers/mfd/ucb1x00-ts.c N 2.6/drivers/mfd/ucb1x00-core.c N 2.6/drivers/mfd/ucb1x00-assabet.c N 2.6/drivers/mfd/mcp.h N 2.6/drivers/mfd/mcp-sa11x0.c N 2.6/drivers/mfd/mcp-core.c N 2.6/drivers/mfd/Makefile N 2.6/drivers/mfd/Kconfig N 2.6/drivers/connector/connector.c N 2.6/drivers/connector/cn_queue.c N 2.6/drivers/connector/Makefile N 2.6/drivers/connector/Kconfig N 2.6/drivers/hwmon/w83792d.c N 2.6/drivers/hwmon/hwmon.c N 2.6/drivers/hwmon/hwmon-vid.c N 2.6/drivers/hwmon/hdaps.c N 2.6/drivers/infiniband/hw/mthca/mthca_wqe.h N 2.6/drivers/infiniband/hw/mthca/mthca_srq.c N 2.6/drivers/w1/w1_ds2433.c N 2.6/drivers/firmware/dell_rbu.c N 2.6/drivers/firmware/dcdbas.h N 2.6/drivers/firmware/dcdbas.c N 2.6/drivers/video/s3c2410fb.h N 2.6/drivers/video/s3c2410fb.c N 2.6/drivers/video/fbcvt.c N 2.6/drivers/video/cyblafb.c N 2.6/drivers/video/backlight/locomolcd.c N 2.6/drivers/video/sis/initextlfb.c N 2.6/drivers/video/logo/.gitignore N 2.6/drivers/video/i810/i810-i2c.c N 2.6/drivers/usb/mon/mon_dma.c N 2.6/drivers/usb/storage/onetouch.h N 2.6/drivers/usb/storage/onetouch.c N 2.6/drivers/usb/net/zaurus.c N 2.6/drivers/usb/net/usbnet.h N 2.6/drivers/usb/net/rndis_host.c N 2.6/drivers/usb/net/plusb.c N 2.6/drivers/usb/net/net1080.c N 2.6/drivers/usb/net/gl620a.c N 2.6/drivers/usb/net/cdc_subset.c N 2.6/drivers/usb/net/cdc_ether.c N 2.6/drivers/usb/net/asix.c N 2.6/drivers/usb/misc/sisusbvga/sisusb_struct.h N 2.6/drivers/usb/misc/sisusbvga/sisusb_init.h N 2.6/drivers/usb/misc/sisusbvga/sisusb_init.c N 2.6/drivers/usb/misc/sisusbvga/sisusb_con.c N 2.6/drivers/usb/input/yealink.h N 2.6/drivers/usb/input/yealink.c N 2.6/drivers/usb/input/map_to_7segment.h N 2.6/drivers/usb/input/appletouch.c N 2.6/drivers/scsi/scsi_transport_sas.c N 2.6/drivers/scsi/sata_mv.c N 2.6/drivers/scsi/raid_class.c N 2.6/drivers/scsi/megaraid/megaraid_sas.h N 2.6/drivers/scsi/megaraid/megaraid_sas.c N 2.6/drivers/s390/scsi/zfcp_dbf.c N 2.6/drivers/pcmcia/omap_cf.c N 2.6/drivers/pci/.gitignore N 2.6/drivers/net/spider_net_ethtool.c N 2.6/drivers/net/spider_net.h N 2.6/drivers/net/spider_net.c N 2.6/drivers/net/cassini.h C 2.6/drivers/net/sis190.c N 2.6/drivers/net/cassini.c N 2.6/drivers/net/chelsio/suni1x10gexp_regs.h N 2.6/drivers/net/chelsio/subr.c N 2.6/drivers/net/chelsio/sge.h N 2.6/drivers/net/chelsio/sge.c N 2.6/drivers/net/chelsio/regs.h N 2.6/drivers/net/chelsio/pm3393.c N 2.6/drivers/net/chelsio/mv88x201x.c N 2.6/drivers/net/chelsio/gmac.h N 2.6/drivers/net/chelsio/espi.h N 2.6/drivers/net/chelsio/espi.c N 2.6/drivers/net/chelsio/elmer0.h N 2.6/drivers/net/chelsio/cxgb2.c N 2.6/drivers/net/chelsio/cpl5_cmd.h N 2.6/drivers/net/chelsio/cphy.h N 2.6/drivers/net/chelsio/common.h N 2.6/drivers/net/chelsio/Makefile N 2.6/drivers/net/phy/qsemi.c N 2.6/drivers/net/phy/phy_device.c N 2.6/drivers/net/phy/phy.c N 2.6/drivers/net/phy/mdio_bus.c N 2.6/drivers/net/phy/marvell.c N 2.6/drivers/net/phy/lxt.c N 2.6/drivers/net/phy/davicom.c N 2.6/drivers/net/phy/cicada.c N 2.6/drivers/net/phy/Makefile N 2.6/drivers/net/phy/Kconfig N 2.6/drivers/net/wireless/spectrum_cs.c N 2.6/drivers/net/wireless/orinoco_nortel.c N 2.6/drivers/net/wireless/ipw2200.h N 2.6/drivers/net/wireless/ipw2200.c N 2.6/drivers/net/wireless/ipw2100.h N 2.6/drivers/net/wireless/ipw2100.c N 2.6/drivers/net/wireless/hostap/hostap_wlan.h N 2.6/drivers/net/wireless/hostap/hostap_proc.c N 2.6/drivers/net/wireless/hostap/hostap_plx.c N 2.6/drivers/net/wireless/hostap/hostap_pci.c N 2.6/drivers/net/wireless/hostap/hostap_ioctl.c N 2.6/drivers/net/wireless/hostap/hostap_info.c N 2.6/drivers/net/wireless/hostap/hostap_hw.c N 2.6/drivers/net/wireless/hostap/hostap_download.c N 2.6/drivers/net/wireless/hostap/hostap_cs.c N 2.6/drivers/net/wireless/hostap/hostap_config.h N 2.6/drivers/net/wireless/hostap/hostap_common.h N 2.6/drivers/net/wireless/hostap/hostap_ap.h N 2.6/drivers/net/wireless/hostap/hostap_ap.c N 2.6/drivers/net/wireless/hostap/hostap_80211_tx.c N 2.6/drivers/net/wireless/hostap/hostap_80211_rx.c N 2.6/drivers/net/wireless/hostap/hostap_80211.h N 2.6/drivers/net/wireless/hostap/hostap.h N 2.6/drivers/net/wireless/hostap/hostap.c N 2.6/drivers/net/wireless/hostap/Makefile N 2.6/drivers/net/wireless/hostap/Kconfig N 2.6/drivers/net/tulip/uli526x.c N 2.6/drivers/message/fusion/mptsas.c N 2.6/drivers/media/video/saa7191.h N 2.6/drivers/media/video/saa7191.c N 2.6/drivers/media/video/saa6588.c N 2.6/drivers/media/video/indycam.h N 2.6/drivers/media/video/indycam.c N 2.6/drivers/media/video/rds.h N 2.6/drivers/media/dvb/dvb-usb/vp702x.h N 2.6/drivers/media/dvb/dvb-usb/vp702x.c N 2.6/drivers/media/dvb/dvb-usb/vp702x-fe.c N 2.6/drivers/input/mouse/trackpoint.h N 2.6/drivers/input/mouse/trackpoint.c N 2.6/drivers/input/keyboard/spitzkbd.c N 2.6/drivers/i2c/busses/i2c-pxa.c N 2.6/drivers/i2c/busses/i2c-pmac-smu.c N 2.6/drivers/char/.gitignore N 2.6/drivers/char/watchdog/w83977f_wdt.c N 2.6/drivers/char/watchdog/sbc8360.c N 2.6/drivers/char/watchdog/mv64x60_wdt.c N 2.6/drivers/char/watchdog/mpcore_wdt.c N 2.6/drivers/char/watchdog/ibmasr.c N 2.6/drivers/char/watchdog/i6300esb.c N 2.6/drivers/char/watchdog/booke_wdt.c N 2.6/drivers/char/drm/savage_state.c N 2.6/drivers/char/drm/savage_drv.h N 2.6/drivers/char/drm/savage_drv.c N 2.6/drivers/char/drm/savage_drm.h N 2.6/drivers/char/drm/savage_bci.c N 2.6/drivers/char/drm/r300_reg.h N 2.6/drivers/char/drm/r300_cmdbuf.c N 2.6/drivers/acpi/utilities/utstate.c N 2.6/drivers/acpi/utilities/utmutex.c N 2.6/drivers/acpi/utilities/utcache.c N 2.6/drivers/acpi/parser/psloop.c N 2.6/arch/frv/kernel/asm-offsets.c N 2.6/arch/m32r/kernel/asm-offsets.c N 2.6/arch/v850/kernel/asm-offsets.c N 2.6/arch/um/Kconfig.x86_64 N 2.6/arch/um/Kconfig.scsi N 2.6/arch/um/Kconfig.net N 2.6/arch/um/Kconfig.i386 N 2.6/arch/um/Kconfig.char N 2.6/arch/um/os-Linux/tt.c N 2.6/arch/um/os-Linux/start_up.c N 2.6/arch/um/os-Linux/mem.c N 2.6/arch/um/os-Linux/aio.c N 2.6/arch/um/kernel/asm-offsets.c N 2.6/arch/um/kernel/syscall.c N 2.6/arch/um/kernel/skas/syscall.c N 2.6/arch/um/include/skas_ptregs.h N 2.6/arch/um/include/syscall.h N 2.6/arch/um/include/aio.h N 2.6/arch/um/include/task.h N 2.6/arch/um/include/sysdep-x86_64/thread.h N 2.6/arch/um/include/sysdep-x86_64/sc.h N 2.6/arch/um/include/sysdep-i386/thread.h N 2.6/arch/um/include/sysdep-i386/sc.h N 2.6/arch/sparc64/kernel/ktlb.S N 2.6/arch/sparc64/kernel/asm-offsets.c N 2.6/arch/s390/kernel/reipl_diag.c N 2.6/arch/ppc64/kernel/udbg_scc.c N 2.6/arch/ppc64/kernel/udbg_16550.c N 2.6/arch/ppc64/kernel/pSeries_vio.c N 2.6/arch/ppc64/kernel/iSeries_vio.c N 2.6/arch/ppc64/kernel/firmware.c C 2.6/arch/ppc64/kernel/pmc.c N 2.6/arch/ppc64/boot/string.h N 2.6/arch/ppc64/boot/stdio.h N 2.6/arch/ppc64/boot/prom.h N 2.6/arch/ppc64/boot/page.h N 2.6/arch/ppc64/boot/elf.h N 2.6/arch/ppc64/boot/ppc_asm.h C 2.6/arch/ppc/Makefile C 2.6/arch/ppc/Kconfig N 2.6/arch/ppc/syslib/pq2_sys.c N 2.6/arch/ppc/syslib/pq2_devices.c N 2.6/arch/ppc/syslib/ppc83xx_pci.h N 2.6/arch/ppc/syslib/mpc8xx_sys.c N 2.6/arch/ppc/syslib/mpc8xx_devices.c N 2.6/arch/ppc/platforms/ev64360.h N 2.6/arch/ppc/platforms/ev64360.c C 2.6/arch/ppc/mm/init.c C 2.6/arch/ppc/kernel/time.c C 2.6/arch/ppc/kernel/setup.c C 2.6/arch/ppc/kernel/ppc_ksyms.c C 2.6/arch/ppc/kernel/misc.S C 2.6/arch/ppc/kernel/head.S C 2.6/arch/ppc/kernel/entry.S N 2.6/arch/ppc/configs/ev64360_defconfig N 2.6/arch/ppc/boot/simple/misc-ev64360.c N 2.6/arch/mips/configs/tb0287_defconfig N 2.6/arch/mips/configs/qemu_defconfig N 2.6/arch/mips/vr41xx/common/type.c N 2.6/arch/mips/vr41xx/common/irq.c N 2.6/arch/mips/qemu/q-setup.c N 2.6/arch/mips/qemu/q-mem.c N 2.6/arch/mips/qemu/q-irq.c N 2.6/arch/mips/qemu/q-int.S N 2.6/arch/mips/qemu/q-firmware.c N 2.6/arch/mips/qemu/Makefile N 2.6/arch/mips/pci/fixup-tb0287.c N 2.6/arch/mips/kernel/asm-offsets.c N 2.6/arch/m68knommu/platform/523x/config.c N 2.6/arch/m68knommu/platform/523x/Makefile N 2.6/arch/m68knommu/platform/68VZ328/config.c N 2.6/arch/m68knommu/platform/68360/head-rom.S N 2.6/arch/m68knommu/platform/68360/head-ram.S N 2.6/arch/m68knommu/platform/68328/head-de2.S N 2.6/arch/m68knommu/platform/68328/timers.c N 2.6/arch/m68k/mm/cache.c N 2.6/arch/m68k/lib/string.c N 2.6/arch/ia64/sn/pci/tioce_provider.c N 2.6/arch/ia64/kernel/cpufreq/acpi-cpufreq.c N 2.6/arch/ia64/kernel/cpufreq/Makefile N 2.6/arch/ia64/kernel/cpufreq/Kconfig N 2.6/arch/i386/kernel/i8237.c N 2.6/arch/arm/mach-s3c2410/mach-anubis.c N 2.6/arch/arm/plat-omap/sram.h N 2.6/arch/arm/plat-omap/sram.c N 2.6/arch/arm/plat-omap/sram-fn.S N 2.6/arch/arm/plat-omap/dmtimer.c N 2.6/arch/arm/mach-omap1/devices.c N 2.6/arch/arm/configs/spitz_defconfig N 2.6/arch/arm/configs/poodle_defconfig N 2.6/arch/arm/configs/corgi_defconfig N 2.6/arch/arm/configs/collie_defconfig N 2.6/arch/arm/mach-pxa/spitz.c N 2.6/arch/arm/mach-pxa/sharpsl.h N 2.6/arch/arm/mach-pxa/corgi_lcd.c N 2.6/arch/arm/common/gic.c N 2.6/Documentation/keys-request-key.txt N 2.6/Documentation/dell_rbu.txt N 2.6/Documentation/dcdbas.txt N 2.6/Documentation/applying-patches.txt N 2.6/Documentation/DMA-ISA-LPC.txt N 2.6/Documentation/connector/connector.txt N 2.6/Documentation/connector/cn_test.c N 2.6/Documentation/hwmon/w83792d N 2.6/Documentation/RCU/whatisRCU.txt N 2.6/Documentation/RCU/rcuref.txt N 2.6/Documentation/RCU/NMI-RCU.txt N 2.6/Documentation/device-mapper/snapshot.txt N 2.6/Documentation/scsi/scsi_eh.txt N 2.6/Documentation/power/swsusp-dmcrypt.txt N 2.6/Documentation/networking/README.ipw2200 N 2.6/Documentation/networking/README.ipw2100 N 2.6/Documentation/networking/phy.txt N 2.6/Documentation/networking/cxgb.txt N 2.6/Documentation/input/yealink.txt N 2.6/Documentation/input/appletouch.txt N 2.6/Documentation/ia64/mca.txt N 2.6/Documentation/filesystems/v9fs.txt N 2.6/Documentation/filesystems/relayfs.txt N 2.6/Documentation/filesystems/fuse.txt N 2.6/Documentation/filesystems/files.txt N 2.6/Documentation/fb/cyblafb/whycyblafb N 2.6/Documentation/fb/cyblafb/usage N 2.6/Documentation/fb/cyblafb/todo N 2.6/Documentation/fb/cyblafb/performance N 2.6/Documentation/fb/cyblafb/fb.modes N 2.6/Documentation/fb/cyblafb/documentation N 2.6/Documentation/fb/cyblafb/credits N 2.6/Documentation/fb/cyblafb/bugs 17 conflicts created by this import. cvs checkout -jlinux:yesterday -jlinux 2.6 |
From: Geert U. <ge...@li...> - 2005-10-18 07:50:41
|
On Tue, 18 Oct 2005, Simon Richter wrote: > Paul Mackerras schrieb: > > Hmmm, probably should work off the merge tree. > > Good, then I'll fast-forward them there. > > > However, we decided at > > OLS that platforms would require a device tree before being merged. > > Have you looked at creating a suitable flattened device tree blob with > > dtc? (If not, you can continue to compile with ARCH=ppc for now.) > > In fact my current plan is to move away from m68k bootinfo (which APUS > borrows so you can use the same bootloader) towards a flattened dev tree Is requiring a flattened device tree really the right approach to take, for APUS? APUS borrows from/shares with m68k a lot of code. BTW, why do you want to move away from m68k bootinfo (apart from using a flattened device tree)? > passed in from the bootloader. For that, however, we need a new > bootloader first, which is dependant on AmigaOS binutils/gcc. > > So I guess it will be ARCH=ppc until the new bootloader is ready. Happy hacking! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |
From: Sven L. <sve...@wa...> - 2005-10-11 10:20:52
|
On Tue, Oct 11, 2005 at 10:49:00AM +0100, A.L...@lb... wrote: > Hi, > > > BTW, i would appreciate if someone could test the 2.6.13-2 packages once > > they > > are uploaded, and confirm that they indeed work. > > regarding compression - thats a Debian choice...or policy I guess. Well, as policy on powerpc is something i more or less set :) > regarding testing: what version of Debian would I be happy using with > 2.6.13-2 ? I think my world is a little old...any issues with mod-utils > etc? Well, i will probably provide sarge backports, but i suppose you are running some kind of woody, right ? Or maybe even older ? you need module-init-tools, the newer udev, linux-image-2.6.13-1-apus, and either choice of yaird or initramfs-tools. Maybe your best choice for this will be to wait until i build d-i images from it, which you can test without touching your hardware. Friendly, Sven Luther |