refresh kernel patches

SVN-Revision: 11214
This commit is contained in:
Gabor Juhos 2008-05-19 13:45:06 +00:00
parent dfe741470a
commit 8932b397b8
11 changed files with 194 additions and 194 deletions

View file

@ -1,8 +1,8 @@
Index: linux-2.4.35.4/arch/mips/config-shared.in Index: linux-2.4.35.4/arch/mips/config-shared.in
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/config-shared.in 2007-12-15 05:19:53.151449966 +0100 --- linux-2.4.35.4.orig/arch/mips/config-shared.in
+++ linux-2.4.35.4/arch/mips/config-shared.in 2007-12-15 05:20:13.936634447 +0100 +++ linux-2.4.35.4/arch/mips/config-shared.in
@@ -208,6 +208,14 @@ @@ -208,6 +208,14 @@ if [ "$CONFIG_SIBYTE_SB1xxx_SOC" = "y" ]
fi fi
define_bool CONFIG_MIPS_RTC y define_bool CONFIG_MIPS_RTC y
fi fi
@ -17,7 +17,7 @@ Index: linux-2.4.35.4/arch/mips/config-shared.in
bool 'Support for SNI RM200 PCI' CONFIG_SNI_RM200_PCI bool 'Support for SNI RM200 PCI' CONFIG_SNI_RM200_PCI
bool 'Support for TANBAC TB0226 (Mbase)' CONFIG_TANBAC_TB0226 bool 'Support for TANBAC TB0226 (Mbase)' CONFIG_TANBAC_TB0226
bool 'Support for TANBAC TB0229 (VR4131DIMM)' CONFIG_TANBAC_TB0229 bool 'Support for TANBAC TB0229 (VR4131DIMM)' CONFIG_TANBAC_TB0229
@@ -229,6 +237,11 @@ @@ -229,6 +237,11 @@ define_bool CONFIG_RWSEM_GENERIC_SPINLOC
define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
# #
@ -29,7 +29,7 @@ Index: linux-2.4.35.4/arch/mips/config-shared.in
# Select some configuration options automatically based on user selections. # Select some configuration options automatically based on user selections.
# #
if [ "$CONFIG_ACER_PICA_61" = "y" ]; then if [ "$CONFIG_ACER_PICA_61" = "y" ]; then
@@ -554,6 +567,12 @@ @@ -554,6 +567,12 @@ if [ "$CONFIG_SIBYTE_SB1xxx_SOC" = "y" ]
define_bool CONFIG_SWAP_IO_SPACE_L y define_bool CONFIG_SWAP_IO_SPACE_L y
define_bool CONFIG_BOOT_ELF32 y define_bool CONFIG_BOOT_ELF32 y
fi fi
@ -42,7 +42,7 @@ Index: linux-2.4.35.4/arch/mips/config-shared.in
if [ "$CONFIG_SNI_RM200_PCI" = "y" ]; then if [ "$CONFIG_SNI_RM200_PCI" = "y" ]; then
define_bool CONFIG_ARC32 y define_bool CONFIG_ARC32 y
define_bool CONFIG_ARC_MEMORY y define_bool CONFIG_ARC_MEMORY y
@@ -1042,7 +1061,11 @@ @@ -1042,7 +1061,11 @@ comment 'Kernel hacking'
bool 'Are you using a crosscompiler' CONFIG_CROSSCOMPILE bool 'Are you using a crosscompiler' CONFIG_CROSSCOMPILE
bool 'Enable run-time debugging' CONFIG_RUNTIME_DEBUG bool 'Enable run-time debugging' CONFIG_RUNTIME_DEBUG
@ -57,9 +57,9 @@ Index: linux-2.4.35.4/arch/mips/config-shared.in
define_bool CONFIG_DEBUG_INFO y define_bool CONFIG_DEBUG_INFO y
Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/kernel/cpu-probe.c 2007-12-15 05:19:44.862977633 +0100 --- linux-2.4.35.4.orig/arch/mips/kernel/cpu-probe.c
+++ linux-2.4.35.4/arch/mips/kernel/cpu-probe.c 2007-12-15 05:20:13.944634901 +0100 +++ linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
@@ -162,7 +162,7 @@ @@ -162,7 +162,7 @@ static inline int __cpu_has_fpu(void)
static inline void cpu_probe_legacy(struct cpuinfo_mips *c) static inline void cpu_probe_legacy(struct cpuinfo_mips *c)
{ {
@ -68,7 +68,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
case PRID_IMP_R2000: case PRID_IMP_R2000:
c->cputype = CPU_R2000; c->cputype = CPU_R2000;
c->isa_level = MIPS_CPU_ISA_I; c->isa_level = MIPS_CPU_ISA_I;
@@ -172,7 +172,7 @@ @@ -172,7 +172,7 @@ static inline void cpu_probe_legacy(stru
c->tlbsize = 64; c->tlbsize = 64;
break; break;
case PRID_IMP_R3000: case PRID_IMP_R3000:
@ -77,7 +77,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
if (cpu_has_confreg()) if (cpu_has_confreg())
c->cputype = CPU_R3081E; c->cputype = CPU_R3081E;
else else
@@ -187,12 +187,12 @@ @@ -187,12 +187,12 @@ static inline void cpu_probe_legacy(stru
break; break;
case PRID_IMP_R4000: case PRID_IMP_R4000:
if (read_c0_config() & CONF_SC) { if (read_c0_config() & CONF_SC) {
@ -92,7 +92,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
c->cputype = CPU_R4400SC; c->cputype = CPU_R4400SC;
else else
c->cputype = CPU_R4000SC; c->cputype = CPU_R4000SC;
@@ -438,7 +438,7 @@ @@ -438,7 +438,7 @@ static inline void decode_config1(struct
static inline void cpu_probe_mips(struct cpuinfo_mips *c) static inline void cpu_probe_mips(struct cpuinfo_mips *c)
{ {
decode_config1(c); decode_config1(c);
@ -101,7 +101,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
case PRID_IMP_4KC: case PRID_IMP_4KC:
c->cputype = CPU_4KC; c->cputype = CPU_4KC;
c->isa_level = MIPS_CPU_ISA_M32; c->isa_level = MIPS_CPU_ISA_M32;
@@ -479,10 +479,10 @@ @@ -479,10 +479,10 @@ static inline void cpu_probe_alchemy(str
{ {
decode_config1(c); decode_config1(c);
c->options |= MIPS_CPU_PREFETCH; c->options |= MIPS_CPU_PREFETCH;
@ -114,7 +114,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
case 0: case 0:
c->cputype = CPU_AU1000; c->cputype = CPU_AU1000;
break; break;
@@ -510,10 +510,34 @@ @@ -510,10 +510,34 @@ static inline void cpu_probe_alchemy(str
} }
} }
@ -150,7 +150,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
case PRID_IMP_SB1: case PRID_IMP_SB1:
c->cputype = CPU_SB1; c->cputype = CPU_SB1;
c->isa_level = MIPS_CPU_ISA_M64; c->isa_level = MIPS_CPU_ISA_M64;
@@ -535,7 +559,7 @@ @@ -535,7 +559,7 @@ static inline void cpu_probe_sibyte(stru
static inline void cpu_probe_sandcraft(struct cpuinfo_mips *c) static inline void cpu_probe_sandcraft(struct cpuinfo_mips *c)
{ {
decode_config1(c); decode_config1(c);
@ -159,7 +159,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
case PRID_IMP_SR71000: case PRID_IMP_SR71000:
c->cputype = CPU_SR71000; c->cputype = CPU_SR71000;
c->isa_level = MIPS_CPU_ISA_M64; c->isa_level = MIPS_CPU_ISA_M64;
@@ -560,7 +584,7 @@ @@ -560,7 +584,7 @@ __init void cpu_probe(void)
c->cputype = CPU_UNKNOWN; c->cputype = CPU_UNKNOWN;
c->processor_id = read_c0_prid(); c->processor_id = read_c0_prid();
@ -168,7 +168,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
case PRID_COMP_LEGACY: case PRID_COMP_LEGACY:
cpu_probe_legacy(c); cpu_probe_legacy(c);
@@ -571,6 +595,9 @@ @@ -571,6 +595,9 @@ __init void cpu_probe(void)
case PRID_COMP_ALCHEMY: case PRID_COMP_ALCHEMY:
cpu_probe_alchemy(c); cpu_probe_alchemy(c);
break; break;
@ -180,8 +180,8 @@ Index: linux-2.4.35.4/arch/mips/kernel/cpu-probe.c
break; break;
Index: linux-2.4.35.4/arch/mips/kernel/head.S Index: linux-2.4.35.4/arch/mips/kernel/head.S
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/kernel/head.S 2007-12-15 05:19:44.866977862 +0100 --- linux-2.4.35.4.orig/arch/mips/kernel/head.S
+++ linux-2.4.35.4/arch/mips/kernel/head.S 2007-12-15 05:20:13.944634901 +0100 +++ linux-2.4.35.4/arch/mips/kernel/head.S
@@ -28,12 +28,20 @@ @@ -28,12 +28,20 @@
#include <asm/mipsregs.h> #include <asm/mipsregs.h>
#include <asm/stackframe.h> #include <asm/stackframe.h>
@ -206,9 +206,9 @@ Index: linux-2.4.35.4/arch/mips/kernel/head.S
EXPORT(stext) EXPORT(stext)
Index: linux-2.4.35.4/arch/mips/kernel/proc.c Index: linux-2.4.35.4/arch/mips/kernel/proc.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/kernel/proc.c 2007-12-15 05:19:36.358492990 +0100 --- linux-2.4.35.4.orig/arch/mips/kernel/proc.c
+++ linux-2.4.35.4/arch/mips/kernel/proc.c 2007-12-15 05:20:13.944634901 +0100 +++ linux-2.4.35.4/arch/mips/kernel/proc.c
@@ -78,9 +78,10 @@ @@ -78,9 +78,10 @@ static const char *cpu_name[] = {
[CPU_AU1550] "Au1550", [CPU_AU1550] "Au1550",
[CPU_24K] "MIPS 24K", [CPU_24K] "MIPS 24K",
[CPU_AU1200] "Au1200", [CPU_AU1200] "Au1200",
@ -222,9 +222,9 @@ Index: linux-2.4.35.4/arch/mips/kernel/proc.c
unsigned int version = current_cpu_data.processor_id; unsigned int version = current_cpu_data.processor_id;
Index: linux-2.4.35.4/arch/mips/kernel/setup.c Index: linux-2.4.35.4/arch/mips/kernel/setup.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/kernel/setup.c 2007-12-15 05:19:44.866977862 +0100 --- linux-2.4.35.4.orig/arch/mips/kernel/setup.c
+++ linux-2.4.35.4/arch/mips/kernel/setup.c 2007-12-15 05:20:13.944634901 +0100 +++ linux-2.4.35.4/arch/mips/kernel/setup.c
@@ -493,6 +493,7 @@ @@ -493,6 +493,7 @@ void __init setup_arch(char **cmdline_p)
void swarm_setup(void); void swarm_setup(void);
void hp_setup(void); void hp_setup(void);
void au1x00_setup(void); void au1x00_setup(void);
@ -232,7 +232,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/setup.c
void frame_info_init(void); void frame_info_init(void);
frame_info_init(); frame_info_init();
@@ -691,6 +692,11 @@ @@ -691,6 +692,11 @@ void __init setup_arch(char **cmdline_p)
pmc_yosemite_setup(); pmc_yosemite_setup();
break; break;
#endif #endif
@ -246,9 +246,9 @@ Index: linux-2.4.35.4/arch/mips/kernel/setup.c
} }
Index: linux-2.4.35.4/arch/mips/kernel/traps.c Index: linux-2.4.35.4/arch/mips/kernel/traps.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/kernel/traps.c 2007-12-15 05:19:44.870978088 +0100 --- linux-2.4.35.4.orig/arch/mips/kernel/traps.c
+++ linux-2.4.35.4/arch/mips/kernel/traps.c 2007-12-15 05:20:13.944634901 +0100 +++ linux-2.4.35.4/arch/mips/kernel/traps.c
@@ -920,6 +920,7 @@ @@ -920,6 +920,7 @@ void __init per_cpu_trap_init(void)
void __init trap_init(void) void __init trap_init(void)
{ {
extern char except_vec1_generic; extern char except_vec1_generic;
@ -256,7 +256,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/traps.c
extern char except_vec3_generic, except_vec3_r4000; extern char except_vec3_generic, except_vec3_r4000;
extern char except_vec_ejtag_debug; extern char except_vec_ejtag_debug;
extern char except_vec4; extern char except_vec4;
@@ -927,6 +928,7 @@ @@ -927,6 +928,7 @@ void __init trap_init(void)
/* Copy the generic exception handler code to it's final destination. */ /* Copy the generic exception handler code to it's final destination. */
memcpy((void *)(KSEG0 + 0x80), &except_vec1_generic, 0x80); memcpy((void *)(KSEG0 + 0x80), &except_vec1_generic, 0x80);
@ -264,7 +264,7 @@ Index: linux-2.4.35.4/arch/mips/kernel/traps.c
/* /*
* Setup default vectors * Setup default vectors
@@ -985,6 +987,12 @@ @@ -985,6 +987,12 @@ void __init trap_init(void)
set_except_vector(13, handle_tr); set_except_vector(13, handle_tr);
set_except_vector(22, handle_mdmx); set_except_vector(22, handle_mdmx);
@ -279,9 +279,9 @@ Index: linux-2.4.35.4/arch/mips/kernel/traps.c
Index: linux-2.4.35.4/arch/mips/Makefile Index: linux-2.4.35.4/arch/mips/Makefile
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/Makefile 2007-12-15 05:19:51.215339635 +0100 --- linux-2.4.35.4.orig/arch/mips/Makefile
+++ linux-2.4.35.4/arch/mips/Makefile 2007-12-15 05:20:13.948635130 +0100 +++ linux-2.4.35.4/arch/mips/Makefile
@@ -726,6 +726,19 @@ @@ -726,6 +726,19 @@ LOADADDR += 0x80020000
endif endif
# #
@ -301,7 +301,7 @@ Index: linux-2.4.35.4/arch/mips/Makefile
# Choosing incompatible machines durings configuration will result in # Choosing incompatible machines durings configuration will result in
# error messages during linking. Select a default linkscript if # error messages during linking. Select a default linkscript if
# none has been choosen above. # none has been choosen above.
@@ -779,6 +792,7 @@ @@ -779,6 +792,7 @@ archclean:
$(MAKE) -C arch/$(ARCH)/tools clean $(MAKE) -C arch/$(ARCH)/tools clean
$(MAKE) -C arch/mips/baget clean $(MAKE) -C arch/mips/baget clean
$(MAKE) -C arch/mips/lasat clean $(MAKE) -C arch/mips/lasat clean
@ -311,9 +311,9 @@ Index: linux-2.4.35.4/arch/mips/Makefile
@$(MAKEBOOT) mrproper @$(MAKEBOOT) mrproper
Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/mm/c-r4k.c 2007-12-15 05:19:44.874978317 +0100 --- linux-2.4.35.4.orig/arch/mips/mm/c-r4k.c
+++ linux-2.4.35.4/arch/mips/mm/c-r4k.c 2007-12-15 05:20:13.948635130 +0100 +++ linux-2.4.35.4/arch/mips/mm/c-r4k.c
@@ -1118,3 +1118,47 @@ @@ -1118,3 +1118,47 @@ void __init ld_mmu_r4xx0(void)
build_clear_page(); build_clear_page();
build_copy_page(); build_copy_page();
} }
@ -363,9 +363,9 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
+ +
Index: linux-2.4.35.4/arch/mips/pci/Makefile Index: linux-2.4.35.4/arch/mips/pci/Makefile
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/pci/Makefile 2007-12-15 05:19:36.398495270 +0100 --- linux-2.4.35.4.orig/arch/mips/pci/Makefile
+++ linux-2.4.35.4/arch/mips/pci/Makefile 2007-12-15 05:20:13.948635130 +0100 +++ linux-2.4.35.4/arch/mips/pci/Makefile
@@ -13,7 +13,9 @@ @@ -13,7 +13,9 @@ obj-$(CONFIG_MIPS_GT64120) += ops-gt6412
obj-$(CONFIG_MIPS_MSC) += ops-msc.o obj-$(CONFIG_MIPS_MSC) += ops-msc.o
obj-$(CONFIG_MIPS_NILE4) += ops-nile4.o obj-$(CONFIG_MIPS_NILE4) += ops-nile4.o
obj-$(CONFIG_SNI_RM200_PCI) += ops-sni.o obj-$(CONFIG_SNI_RM200_PCI) += ops-sni.o
@ -377,9 +377,9 @@ Index: linux-2.4.35.4/arch/mips/pci/Makefile
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
Index: linux-2.4.35.4/drivers/char/serial.c Index: linux-2.4.35.4/drivers/char/serial.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/char/serial.c 2007-12-15 05:20:00.539871010 +0100 --- linux-2.4.35.4.orig/drivers/char/serial.c
+++ linux-2.4.35.4/drivers/char/serial.c 2007-12-15 05:20:13.952635360 +0100 +++ linux-2.4.35.4/drivers/char/serial.c
@@ -444,6 +444,10 @@ @@ -444,6 +444,10 @@ static _INLINE_ unsigned int serial_in(s
return inb(info->port+1); return inb(info->port+1);
#endif #endif
case SERIAL_IO_MEM: case SERIAL_IO_MEM:
@ -390,7 +390,7 @@ Index: linux-2.4.35.4/drivers/char/serial.c
return readb((unsigned long) info->iomem_base + return readb((unsigned long) info->iomem_base +
(offset<<info->iomem_reg_shift)); (offset<<info->iomem_reg_shift));
default: default:
@@ -464,6 +468,9 @@ @@ -464,6 +468,9 @@ static _INLINE_ void serial_out(struct a
case SERIAL_IO_MEM: case SERIAL_IO_MEM:
writeb(value, (unsigned long) info->iomem_base + writeb(value, (unsigned long) info->iomem_base +
(offset<<info->iomem_reg_shift)); (offset<<info->iomem_reg_shift));
@ -400,7 +400,7 @@ Index: linux-2.4.35.4/drivers/char/serial.c
break; break;
default: default:
outb(value, info->port+offset); outb(value, info->port+offset);
@@ -1728,7 +1735,7 @@ @@ -1728,7 +1735,7 @@ static void change_speed(struct async_st
/* Special case since 134 is really 134.5 */ /* Special case since 134 is really 134.5 */
quot = (2*baud_base / 269); quot = (2*baud_base / 269);
else if (baud) else if (baud)
@ -409,7 +409,7 @@ Index: linux-2.4.35.4/drivers/char/serial.c
} }
/* If the quotient is zero refuse the change */ /* If the quotient is zero refuse the change */
if (!quot && old_termios) { if (!quot && old_termios) {
@@ -1745,12 +1752,12 @@ @@ -1745,12 +1752,12 @@ static void change_speed(struct async_st
/* Special case since 134 is really 134.5 */ /* Special case since 134 is really 134.5 */
quot = (2*baud_base / 269); quot = (2*baud_base / 269);
else if (baud) else if (baud)
@ -424,7 +424,7 @@ Index: linux-2.4.35.4/drivers/char/serial.c
/* /*
* Work around a bug in the Oxford Semiconductor 952 rev B * Work around a bug in the Oxford Semiconductor 952 rev B
* chip which causes it to seriously miscalculate baud rates * chip which causes it to seriously miscalculate baud rates
@@ -5994,6 +6001,13 @@ @@ -5994,6 +6001,13 @@ static int __init serial_console_setup(s
* Divisor, bytesize and parity * Divisor, bytesize and parity
*/ */
state = rs_table + co->index; state = rs_table + co->index;
@ -438,7 +438,7 @@ Index: linux-2.4.35.4/drivers/char/serial.c
if (doflow) if (doflow)
state->flags |= ASYNC_CONS_FLOW; state->flags |= ASYNC_CONS_FLOW;
info = &async_sercons; info = &async_sercons;
@@ -6007,7 +6021,7 @@ @@ -6007,7 +6021,7 @@ static int __init serial_console_setup(s
info->io_type = state->io_type; info->io_type = state->io_type;
info->iomem_base = state->iomem_base; info->iomem_base = state->iomem_base;
info->iomem_reg_shift = state->iomem_reg_shift; info->iomem_reg_shift = state->iomem_reg_shift;
@ -449,8 +449,8 @@ Index: linux-2.4.35.4/drivers/char/serial.c
cval >>= 8; cval >>= 8;
Index: linux-2.4.35.4/drivers/net/Makefile Index: linux-2.4.35.4/drivers/net/Makefile
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/net/Makefile 2007-12-15 05:20:10.804455954 +0100 --- linux-2.4.35.4.orig/drivers/net/Makefile
+++ linux-2.4.35.4/drivers/net/Makefile 2007-12-15 05:20:13.952635360 +0100 +++ linux-2.4.35.4/drivers/net/Makefile
@@ -3,6 +3,8 @@ @@ -3,6 +3,8 @@
# Makefile for the Linux network (ethercard) device drivers. # Makefile for the Linux network (ethercard) device drivers.
# #
@ -462,9 +462,9 @@ Index: linux-2.4.35.4/drivers/net/Makefile
obj-n := obj-n :=
Index: linux-2.4.35.4/drivers/parport/Config.in Index: linux-2.4.35.4/drivers/parport/Config.in
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/parport/Config.in 2007-12-15 05:19:36.422496639 +0100 --- linux-2.4.35.4.orig/drivers/parport/Config.in
+++ linux-2.4.35.4/drivers/parport/Config.in 2007-12-15 05:20:13.956635587 +0100 +++ linux-2.4.35.4/drivers/parport/Config.in
@@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@ comment 'Parallel port support'
tristate 'Parallel port support' CONFIG_PARPORT tristate 'Parallel port support' CONFIG_PARPORT
if [ "$CONFIG_PARPORT" != "n" ]; then if [ "$CONFIG_PARPORT" != "n" ]; then
dep_tristate ' PC-style hardware' CONFIG_PARPORT_PC $CONFIG_PARPORT dep_tristate ' PC-style hardware' CONFIG_PARPORT_PC $CONFIG_PARPORT
@ -474,9 +474,9 @@ Index: linux-2.4.35.4/drivers/parport/Config.in
define_tristate CONFIG_PARPORT_PC_CML1 m define_tristate CONFIG_PARPORT_PC_CML1 m
Index: linux-2.4.35.4/drivers/parport/Makefile Index: linux-2.4.35.4/drivers/parport/Makefile
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/parport/Makefile 2007-12-15 05:19:36.430497094 +0100 --- linux-2.4.35.4.orig/drivers/parport/Makefile
+++ linux-2.4.35.4/drivers/parport/Makefile 2007-12-15 05:20:13.956635587 +0100 +++ linux-2.4.35.4/drivers/parport/Makefile
@@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@ endif
obj-$(CONFIG_PARPORT) += parport.o obj-$(CONFIG_PARPORT) += parport.o
obj-$(CONFIG_PARPORT_PC) += parport_pc.o obj-$(CONFIG_PARPORT_PC) += parport_pc.o
@ -486,8 +486,8 @@ Index: linux-2.4.35.4/drivers/parport/Makefile
obj-$(CONFIG_PARPORT_MFC3) += parport_mfc3.o obj-$(CONFIG_PARPORT_MFC3) += parport_mfc3.o
Index: linux-2.4.35.4/include/asm-mips/bootinfo.h Index: linux-2.4.35.4/include/asm-mips/bootinfo.h
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/include/asm-mips/bootinfo.h 2007-12-15 05:19:45.026986980 +0100 --- linux-2.4.35.4.orig/include/asm-mips/bootinfo.h
+++ linux-2.4.35.4/include/asm-mips/bootinfo.h 2007-12-15 05:20:13.956635587 +0100 +++ linux-2.4.35.4/include/asm-mips/bootinfo.h
@@ -37,6 +37,7 @@ @@ -37,6 +37,7 @@
#define MACH_GROUP_HP_LJ 20 /* Hewlett Packard LaserJet */ #define MACH_GROUP_HP_LJ 20 /* Hewlett Packard LaserJet */
#define MACH_GROUP_LASAT 21 #define MACH_GROUP_LASAT 21
@ -514,8 +514,8 @@ Index: linux-2.4.35.4/include/asm-mips/bootinfo.h
#define MACH_TITAN_YOSEMITE 1 /* PMC-Sierra Yosemite */ #define MACH_TITAN_YOSEMITE 1 /* PMC-Sierra Yosemite */
Index: linux-2.4.35.4/include/asm-mips/cpu.h Index: linux-2.4.35.4/include/asm-mips/cpu.h
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/include/asm-mips/cpu.h 2007-12-15 05:19:36.442497779 +0100 --- linux-2.4.35.4.orig/include/asm-mips/cpu.h
+++ linux-2.4.35.4/include/asm-mips/cpu.h 2007-12-15 05:20:13.956635587 +0100 +++ linux-2.4.35.4/include/asm-mips/cpu.h
@@ -22,6 +22,11 @@ @@ -22,6 +22,11 @@
spec. spec.
*/ */
@ -566,9 +566,9 @@ Index: linux-2.4.35.4/include/asm-mips/cpu.h
* ISA Level encodings * ISA Level encodings
Index: linux-2.4.35.4/include/asm-mips/r4kcache.h Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/include/asm-mips/r4kcache.h 2007-12-15 05:19:36.450498234 +0100 --- linux-2.4.35.4.orig/include/asm-mips/r4kcache.h
+++ linux-2.4.35.4/include/asm-mips/r4kcache.h 2007-12-15 05:20:13.960635812 +0100 +++ linux-2.4.35.4/include/asm-mips/r4kcache.h
@@ -567,4 +567,17 @@ @@ -567,4 +567,17 @@ static inline void blast_scache128_page_
cache128_unroll32(addr|ws,Index_Writeback_Inv_SD); cache128_unroll32(addr|ws,Index_Writeback_Inv_SD);
} }
@ -588,8 +588,8 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
#endif /* __ASM_R4KCACHE_H */ #endif /* __ASM_R4KCACHE_H */
Index: linux-2.4.35.4/include/asm-mips/serial.h Index: linux-2.4.35.4/include/asm-mips/serial.h
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/include/asm-mips/serial.h 2007-12-15 05:19:36.458498689 +0100 --- linux-2.4.35.4.orig/include/asm-mips/serial.h
+++ linux-2.4.35.4/include/asm-mips/serial.h 2007-12-15 05:20:13.960635812 +0100 +++ linux-2.4.35.4/include/asm-mips/serial.h
@@ -223,6 +223,13 @@ @@ -223,6 +223,13 @@
#define TXX927_SERIAL_PORT_DEFNS #define TXX927_SERIAL_PORT_DEFNS
#endif #endif
@ -614,9 +614,9 @@ Index: linux-2.4.35.4/include/asm-mips/serial.h
EV96100_SERIAL_PORT_DEFNS \ EV96100_SERIAL_PORT_DEFNS \
Index: linux-2.4.35.4/init/do_mounts.c Index: linux-2.4.35.4/init/do_mounts.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/init/do_mounts.c 2007-12-15 05:19:48.667194423 +0100 --- linux-2.4.35.4.orig/init/do_mounts.c
+++ linux-2.4.35.4/init/do_mounts.c 2007-12-15 05:20:13.960635812 +0100 +++ linux-2.4.35.4/init/do_mounts.c
@@ -254,7 +254,13 @@ @@ -254,7 +254,13 @@ static struct dev_name_struct {
{ "ftlb", 0x2c08 }, { "ftlb", 0x2c08 },
{ "ftlc", 0x2c10 }, { "ftlc", 0x2c10 },
{ "ftld", 0x2c18 }, { "ftld", 0x2c18 },

View file

@ -1,8 +1,8 @@
Index: linux-2.4.35.4/arch/mips/kernel/entry.S Index: linux-2.4.35.4/arch/mips/kernel/entry.S
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/kernel/entry.S 2007-12-15 05:19:36.266487747 +0100 --- linux-2.4.35.4.orig/arch/mips/kernel/entry.S
+++ linux-2.4.35.4/arch/mips/kernel/entry.S 2007-12-15 05:20:14.372659296 +0100 +++ linux-2.4.35.4/arch/mips/kernel/entry.S
@@ -100,6 +100,10 @@ @@ -100,6 +100,10 @@ END(except_vec1_generic)
* and R4400 SC and MC versions. * and R4400 SC and MC versions.
*/ */
NESTED(except_vec3_generic, 0, sp) NESTED(except_vec3_generic, 0, sp)
@ -15,8 +15,8 @@ Index: linux-2.4.35.4/arch/mips/kernel/entry.S
#endif #endif
Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/mm/c-r4k.c 2007-12-15 05:20:13.948635130 +0100 --- linux-2.4.35.4.orig/arch/mips/mm/c-r4k.c
+++ linux-2.4.35.4/arch/mips/mm/c-r4k.c 2007-12-15 05:20:14.376659523 +0100 +++ linux-2.4.35.4/arch/mips/mm/c-r4k.c
@@ -14,6 +14,12 @@ @@ -14,6 +14,12 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/bitops.h> #include <linux/bitops.h>
@ -30,7 +30,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
#include <asm/bcache.h> #include <asm/bcache.h>
#include <asm/bootinfo.h> #include <asm/bootinfo.h>
#include <asm/cacheops.h> #include <asm/cacheops.h>
@@ -40,6 +46,7 @@ @@ -40,6 +46,7 @@ static struct bcache_ops no_sc_ops = {
.bc_inv = (void *)no_sc_noop .bc_inv = (void *)no_sc_noop
}; };
@ -38,7 +38,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
struct bcache_ops *bcops = &no_sc_ops; struct bcache_ops *bcops = &no_sc_ops;
#define cpu_is_r4600_v1_x() ((read_c0_prid() & 0xfffffff0) == 0x2010) #define cpu_is_r4600_v1_x() ((read_c0_prid() & 0xfffffff0) == 0x2010)
@@ -64,8 +71,10 @@ @@ -64,8 +71,10 @@ static inline void r4k_blast_dcache_page
static inline void r4k_blast_dcache_page_setup(void) static inline void r4k_blast_dcache_page_setup(void)
{ {
unsigned long dc_lsize = current_cpu_data.dcache.linesz; unsigned long dc_lsize = current_cpu_data.dcache.linesz;
@ -51,7 +51,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
r4k_blast_dcache_page = blast_dcache16_page; r4k_blast_dcache_page = blast_dcache16_page;
else if (dc_lsize == 32) else if (dc_lsize == 32)
r4k_blast_dcache_page = r4k_blast_dcache_page_dc32; r4k_blast_dcache_page = r4k_blast_dcache_page_dc32;
@@ -77,7 +86,9 @@ @@ -77,7 +86,9 @@ static void r4k_blast_dcache_page_indexe
{ {
unsigned long dc_lsize = current_cpu_data.dcache.linesz; unsigned long dc_lsize = current_cpu_data.dcache.linesz;
@ -62,7 +62,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
r4k_blast_dcache_page_indexed = blast_dcache16_page_indexed; r4k_blast_dcache_page_indexed = blast_dcache16_page_indexed;
else if (dc_lsize == 32) else if (dc_lsize == 32)
r4k_blast_dcache_page_indexed = blast_dcache32_page_indexed; r4k_blast_dcache_page_indexed = blast_dcache32_page_indexed;
@@ -89,7 +100,9 @@ @@ -89,7 +100,9 @@ static inline void r4k_blast_dcache_setu
{ {
unsigned long dc_lsize = current_cpu_data.dcache.linesz; unsigned long dc_lsize = current_cpu_data.dcache.linesz;
@ -73,7 +73,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
r4k_blast_dcache = blast_dcache16; r4k_blast_dcache = blast_dcache16;
else if (dc_lsize == 32) else if (dc_lsize == 32)
r4k_blast_dcache = blast_dcache32; r4k_blast_dcache = blast_dcache32;
@@ -266,6 +279,7 @@ @@ -266,6 +279,7 @@ static void r4k___flush_cache_all(void)
r4k_blast_dcache(); r4k_blast_dcache();
r4k_blast_icache(); r4k_blast_icache();
@ -81,7 +81,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
switch (current_cpu_data.cputype) { switch (current_cpu_data.cputype) {
case CPU_R4000SC: case CPU_R4000SC:
case CPU_R4000MC: case CPU_R4000MC:
@@ -304,10 +318,10 @@ @@ -304,10 +318,10 @@ static void r4k_flush_cache_mm(struct mm
* Kludge alert. For obscure reasons R4000SC and R4400SC go nuts if we * Kludge alert. For obscure reasons R4000SC and R4400SC go nuts if we
* only flush the primary caches but R10000 and R12000 behave sane ... * only flush the primary caches but R10000 and R12000 behave sane ...
*/ */
@ -94,7 +94,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
r4k_blast_scache(); r4k_blast_scache();
} }
@@ -383,12 +397,15 @@ @@ -383,12 +397,15 @@ static void r4k_flush_icache_range(unsig
unsigned long ic_lsize = current_cpu_data.icache.linesz; unsigned long ic_lsize = current_cpu_data.icache.linesz;
unsigned long addr, aend; unsigned long addr, aend;
@ -112,7 +112,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
while (1) { while (1) {
/* Hit_Writeback_Inv_D */ /* Hit_Writeback_Inv_D */
@@ -403,8 +420,6 @@ @@ -403,8 +420,6 @@ static void r4k_flush_icache_range(unsig
if (end - start > icache_size) if (end - start > icache_size)
r4k_blast_icache(); r4k_blast_icache();
else { else {
@ -121,7 +121,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
while (1) { while (1) {
/* Hit_Invalidate_I */ /* Hit_Invalidate_I */
protected_flush_icache_line(addr); protected_flush_icache_line(addr);
@@ -413,6 +428,9 @@ @@ -413,6 +428,9 @@ static void r4k_flush_icache_range(unsig
addr += ic_lsize; addr += ic_lsize;
} }
} }
@ -131,7 +131,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
} }
/* /*
@@ -443,7 +461,8 @@ @@ -443,7 +461,8 @@ static void r4k_flush_icache_page(struct
if (cpu_has_subset_pcaches) { if (cpu_has_subset_pcaches) {
unsigned long addr = (unsigned long) page_address(page); unsigned long addr = (unsigned long) page_address(page);
@ -141,7 +141,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
ClearPageDcacheDirty(page); ClearPageDcacheDirty(page);
return; return;
@@ -451,6 +470,7 @@ @@ -451,6 +470,7 @@ static void r4k_flush_icache_page(struct
if (!cpu_has_ic_fills_f_dc) { if (!cpu_has_ic_fills_f_dc) {
unsigned long addr = (unsigned long) page_address(page); unsigned long addr = (unsigned long) page_address(page);
@ -149,7 +149,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
r4k_blast_dcache_page(addr); r4k_blast_dcache_page(addr);
ClearPageDcacheDirty(page); ClearPageDcacheDirty(page);
} }
@@ -477,7 +497,7 @@ @@ -477,7 +497,7 @@ static void r4k_dma_cache_wback_inv(unsi
/* Catch bad driver code */ /* Catch bad driver code */
BUG_ON(size == 0); BUG_ON(size == 0);
@ -158,7 +158,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
unsigned long sc_lsize = current_cpu_data.scache.linesz; unsigned long sc_lsize = current_cpu_data.scache.linesz;
if (size >= scache_size) { if (size >= scache_size) {
@@ -509,6 +529,8 @@ @@ -509,6 +529,8 @@ static void r4k_dma_cache_wback_inv(unsi
R4600_HIT_CACHEOP_WAR_IMPL; R4600_HIT_CACHEOP_WAR_IMPL;
a = addr & ~(dc_lsize - 1); a = addr & ~(dc_lsize - 1);
end = (addr + size - 1) & ~(dc_lsize - 1); end = (addr + size - 1) & ~(dc_lsize - 1);
@ -167,7 +167,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
while (1) { while (1) {
flush_dcache_line(a); /* Hit_Writeback_Inv_D */ flush_dcache_line(a); /* Hit_Writeback_Inv_D */
if (a == end) if (a == end)
@@ -527,7 +549,7 @@ @@ -527,7 +549,7 @@ static void r4k_dma_cache_inv(unsigned l
/* Catch bad driver code */ /* Catch bad driver code */
BUG_ON(size == 0); BUG_ON(size == 0);
@ -176,7 +176,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
unsigned long sc_lsize = current_cpu_data.scache.linesz; unsigned long sc_lsize = current_cpu_data.scache.linesz;
if (size >= scache_size) { if (size >= scache_size) {
@@ -554,6 +576,8 @@ @@ -554,6 +576,8 @@ static void r4k_dma_cache_inv(unsigned l
R4600_HIT_CACHEOP_WAR_IMPL; R4600_HIT_CACHEOP_WAR_IMPL;
a = addr & ~(dc_lsize - 1); a = addr & ~(dc_lsize - 1);
end = (addr + size - 1) & ~(dc_lsize - 1); end = (addr + size - 1) & ~(dc_lsize - 1);
@ -185,7 +185,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
while (1) { while (1) {
flush_dcache_line(a); /* Hit_Writeback_Inv_D */ flush_dcache_line(a); /* Hit_Writeback_Inv_D */
if (a == end) if (a == end)
@@ -577,6 +601,8 @@ @@ -577,6 +601,8 @@ static void r4k_flush_cache_sigtramp(uns
unsigned long dc_lsize = current_cpu_data.dcache.linesz; unsigned long dc_lsize = current_cpu_data.dcache.linesz;
R4600_HIT_CACHEOP_WAR_IMPL; R4600_HIT_CACHEOP_WAR_IMPL;
@ -194,7 +194,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
protected_writeback_dcache_line(addr & ~(dc_lsize - 1)); protected_writeback_dcache_line(addr & ~(dc_lsize - 1));
protected_flush_icache_line(addr & ~(ic_lsize - 1)); protected_flush_icache_line(addr & ~(ic_lsize - 1));
if (MIPS4K_ICACHE_REFILL_WAR) { if (MIPS4K_ICACHE_REFILL_WAR) {
@@ -986,10 +1012,12 @@ @@ -986,10 +1012,12 @@ static void __init setup_scache(void)
case CPU_R4000MC: case CPU_R4000MC:
case CPU_R4400SC: case CPU_R4400SC:
case CPU_R4400MC: case CPU_R4400MC:
@ -211,7 +211,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
break; break;
case CPU_R10000: case CPU_R10000:
@@ -1041,6 +1069,19 @@ @@ -1041,6 +1069,19 @@ static void __init setup_scache(void)
static inline void coherency_setup(void) static inline void coherency_setup(void)
{ {
change_c0_config(CONF_CM_CMASK, CONF_CM_DEFAULT); change_c0_config(CONF_CM_CMASK, CONF_CM_DEFAULT);
@ -231,7 +231,7 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
/* /*
* c0_status.cu=0 specifies that updates by the sc instruction use * c0_status.cu=0 specifies that updates by the sc instruction use
@@ -1073,6 +1114,12 @@ @@ -1073,6 +1114,12 @@ void __init ld_mmu_r4xx0(void)
memcpy((void *)(KSEG0 + 0x100), &except_vec2_generic, 0x80); memcpy((void *)(KSEG0 + 0x100), &except_vec2_generic, 0x80);
memcpy((void *)(KSEG1 + 0x100), &except_vec2_generic, 0x80); memcpy((void *)(KSEG1 + 0x100), &except_vec2_generic, 0x80);
@ -246,8 +246,8 @@ Index: linux-2.4.35.4/arch/mips/mm/c-r4k.c
Index: linux-2.4.35.4/arch/mips/mm/tlbex-mips32.S Index: linux-2.4.35.4/arch/mips/mm/tlbex-mips32.S
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/mm/tlbex-mips32.S 2007-12-15 05:19:44.874978317 +0100 --- linux-2.4.35.4.orig/arch/mips/mm/tlbex-mips32.S
+++ linux-2.4.35.4/arch/mips/mm/tlbex-mips32.S 2007-12-15 05:20:14.380659748 +0100 +++ linux-2.4.35.4/arch/mips/mm/tlbex-mips32.S
@@ -90,6 +90,9 @@ @@ -90,6 +90,9 @@
.set noat .set noat
LEAF(except_vec0_r4000) LEAF(except_vec0_r4000)
@ -260,8 +260,8 @@ Index: linux-2.4.35.4/arch/mips/mm/tlbex-mips32.S
la k0, pgd_current la k0, pgd_current
Index: linux-2.4.35.4/include/asm-mips/r4kcache.h Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/include/asm-mips/r4kcache.h 2007-12-15 05:20:13.960635812 +0100 --- linux-2.4.35.4.orig/include/asm-mips/r4kcache.h
+++ linux-2.4.35.4/include/asm-mips/r4kcache.h 2007-12-15 05:20:14.384659977 +0100 +++ linux-2.4.35.4/include/asm-mips/r4kcache.h
@@ -15,6 +15,18 @@ @@ -15,6 +15,18 @@
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/cacheops.h> #include <asm/cacheops.h>
@ -309,7 +309,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
} }
static inline void flush_scache_line_indexed(unsigned long addr) static inline void flush_scache_line_indexed(unsigned long addr)
@@ -47,6 +72,7 @@ @@ -47,6 +72,7 @@ static inline void flush_icache_line(uns
static inline void flush_dcache_line(unsigned long addr) static inline void flush_dcache_line(unsigned long addr)
{ {
@ -317,7 +317,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
cache_op(Hit_Writeback_Inv_D, addr); cache_op(Hit_Writeback_Inv_D, addr);
} }
@@ -91,6 +117,7 @@ @@ -91,6 +117,7 @@ static inline void protected_flush_icach
*/ */
static inline void protected_writeback_dcache_line(unsigned long addr) static inline void protected_writeback_dcache_line(unsigned long addr)
{ {
@ -325,7 +325,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
__asm__ __volatile__( __asm__ __volatile__(
".set noreorder\n\t" ".set noreorder\n\t"
".set mips3\n" ".set mips3\n"
@@ -138,6 +165,62 @@ @@ -138,6 +165,62 @@ static inline void invalidate_tcache_pag
: "r" (base), \ : "r" (base), \
"i" (op)); "i" (op));
@ -388,7 +388,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
static inline void blast_dcache16(void) static inline void blast_dcache16(void)
{ {
unsigned long start = KSEG0; unsigned long start = KSEG0;
@@ -148,8 +231,9 @@ @@ -148,8 +231,9 @@ static inline void blast_dcache16(void)
unsigned long ws, addr; unsigned long ws, addr;
for (ws = 0; ws < ws_end; ws += ws_inc) for (ws = 0; ws < ws_end; ws += ws_inc)
@ -399,7 +399,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
} }
static inline void blast_dcache16_page(unsigned long page) static inline void blast_dcache16_page(unsigned long page)
@@ -173,8 +257,9 @@ @@ -173,8 +257,9 @@ static inline void blast_dcache16_page_i
unsigned long ws, addr; unsigned long ws, addr;
for (ws = 0; ws < ws_end; ws += ws_inc) for (ws = 0; ws < ws_end; ws += ws_inc)
@ -410,7 +410,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
} }
static inline void blast_icache16(void) static inline void blast_icache16(void)
@@ -196,6 +281,7 @@ @@ -196,6 +281,7 @@ static inline void blast_icache16_page(u
unsigned long start = page; unsigned long start = page;
unsigned long end = start + PAGE_SIZE; unsigned long end = start + PAGE_SIZE;
@ -418,7 +418,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
do { do {
cache16_unroll32(start,Hit_Invalidate_I); cache16_unroll32(start,Hit_Invalidate_I);
start += 0x200; start += 0x200;
@@ -281,6 +367,7 @@ @@ -281,6 +367,7 @@ static inline void blast_scache16_page_i
: "r" (base), \ : "r" (base), \
"i" (op)); "i" (op));
@ -426,7 +426,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
static inline void blast_dcache32(void) static inline void blast_dcache32(void)
{ {
unsigned long start = KSEG0; unsigned long start = KSEG0;
@@ -291,8 +378,9 @@ @@ -291,8 +378,9 @@ static inline void blast_dcache32(void)
unsigned long ws, addr; unsigned long ws, addr;
for (ws = 0; ws < ws_end; ws += ws_inc) for (ws = 0; ws < ws_end; ws += ws_inc)
@ -437,7 +437,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
} }
static inline void blast_dcache32_page(unsigned long page) static inline void blast_dcache32_page(unsigned long page)
@@ -316,8 +404,9 @@ @@ -316,8 +404,9 @@ static inline void blast_dcache32_page_i
unsigned long ws, addr; unsigned long ws, addr;
for (ws = 0; ws < ws_end; ws += ws_inc) for (ws = 0; ws < ws_end; ws += ws_inc)
@ -448,7 +448,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
} }
static inline void blast_icache32(void) static inline void blast_icache32(void)
@@ -339,6 +428,7 @@ @@ -339,6 +428,7 @@ static inline void blast_icache32_page(u
unsigned long start = page; unsigned long start = page;
unsigned long end = start + PAGE_SIZE; unsigned long end = start + PAGE_SIZE;
@ -456,7 +456,7 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
do { do {
cache32_unroll32(start,Hit_Invalidate_I); cache32_unroll32(start,Hit_Invalidate_I);
start += 0x400; start += 0x400;
@@ -443,6 +533,7 @@ @@ -443,6 +533,7 @@ static inline void blast_icache64_page(u
unsigned long start = page; unsigned long start = page;
unsigned long end = start + PAGE_SIZE; unsigned long end = start + PAGE_SIZE;
@ -466,8 +466,8 @@ Index: linux-2.4.35.4/include/asm-mips/r4kcache.h
start += 0x800; start += 0x800;
Index: linux-2.4.35.4/include/asm-mips/stackframe.h Index: linux-2.4.35.4/include/asm-mips/stackframe.h
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/include/asm-mips/stackframe.h 2007-12-15 05:19:36.298489571 +0100 --- linux-2.4.35.4.orig/include/asm-mips/stackframe.h
+++ linux-2.4.35.4/include/asm-mips/stackframe.h 2007-12-15 05:20:14.388660206 +0100 +++ linux-2.4.35.4/include/asm-mips/stackframe.h
@@ -209,6 +209,20 @@ @@ -209,6 +209,20 @@
#endif #endif
@ -491,9 +491,9 @@ Index: linux-2.4.35.4/include/asm-mips/stackframe.h
Index: linux-2.4.35.4/mm/memory.c Index: linux-2.4.35.4/mm/memory.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/mm/memory.c 2007-12-15 05:19:36.306490026 +0100 --- linux-2.4.35.4.orig/mm/memory.c
+++ linux-2.4.35.4/mm/memory.c 2007-12-15 05:20:14.388660206 +0100 +++ linux-2.4.35.4/mm/memory.c
@@ -927,6 +927,7 @@ @@ -927,6 +927,7 @@ static inline void break_cow(struct vm_a
flush_page_to_ram(new_page); flush_page_to_ram(new_page);
flush_cache_page(vma, address); flush_cache_page(vma, address);
establish_pte(vma, address, page_table, pte_mkwrite(pte_mkdirty(mk_pte(new_page, vma->vm_page_prot)))); establish_pte(vma, address, page_table, pte_mkwrite(pte_mkdirty(mk_pte(new_page, vma->vm_page_prot))));

View file

@ -1,7 +1,7 @@
Index: linux-2.4.35.4/drivers/mtd/devices/Config.in Index: linux-2.4.35.4/drivers/mtd/devices/Config.in
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/mtd/devices/Config.in 2007-12-15 05:19:36.210484556 +0100 --- linux-2.4.35.4.orig/drivers/mtd/devices/Config.in
+++ linux-2.4.35.4/drivers/mtd/devices/Config.in 2007-12-15 05:20:14.656675480 +0100 +++ linux-2.4.35.4/drivers/mtd/devices/Config.in
@@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
mainmenu_option next_comment mainmenu_option next_comment
@ -12,8 +12,8 @@ Index: linux-2.4.35.4/drivers/mtd/devices/Config.in
bool ' PMC551 256M DRAM Bugfix' CONFIG_MTD_PMC551_BUGFIX bool ' PMC551 256M DRAM Bugfix' CONFIG_MTD_PMC551_BUGFIX
Index: linux-2.4.35.4/drivers/mtd/devices/Makefile Index: linux-2.4.35.4/drivers/mtd/devices/Makefile
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/mtd/devices/Makefile 2007-12-15 05:19:36.218485012 +0100 --- linux-2.4.35.4.orig/drivers/mtd/devices/Makefile
+++ linux-2.4.35.4/drivers/mtd/devices/Makefile 2007-12-15 05:20:14.660675705 +0100 +++ linux-2.4.35.4/drivers/mtd/devices/Makefile
@@ -3,6 +3,8 @@ @@ -3,6 +3,8 @@
# #
# $Id: Makefile,v 1.4 2001/06/26 21:10:05 spse Exp $ # $Id: Makefile,v 1.4 2001/06/26 21:10:05 spse Exp $
@ -23,7 +23,7 @@ Index: linux-2.4.35.4/drivers/mtd/devices/Makefile
O_TARGET := devlink.o O_TARGET := devlink.o
# *** BIG UGLY NOTE *** # *** BIG UGLY NOTE ***
@@ -12,6 +14,7 @@ @@ -12,6 +14,7 @@ O_TARGET := devlink.o
# here where previously there was none. We now have to ensure that # here where previously there was none. We now have to ensure that
# doc200[01].o are linked before docprobe.o # doc200[01].o are linked before docprobe.o
@ -33,9 +33,9 @@ Index: linux-2.4.35.4/drivers/mtd/devices/Makefile
obj-$(CONFIG_MTD_DOC2001) += doc2001.o obj-$(CONFIG_MTD_DOC2001) += doc2001.o
Index: linux-2.4.35.4/drivers/mtd/maps/Config.in Index: linux-2.4.35.4/drivers/mtd/maps/Config.in
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/mtd/maps/Config.in 2007-12-15 05:19:44.950982647 +0100 --- linux-2.4.35.4.orig/drivers/mtd/maps/Config.in
+++ linux-2.4.35.4/drivers/mtd/maps/Config.in 2007-12-15 05:20:14.664675934 +0100 +++ linux-2.4.35.4/drivers/mtd/maps/Config.in
@@ -48,6 +48,7 @@ @@ -48,6 +48,7 @@ if [ "$CONFIG_PPC" = "y" ]; then
fi fi
if [ "$CONFIG_MIPS" = "y" ]; then if [ "$CONFIG_MIPS" = "y" ]; then
@ -45,8 +45,8 @@ Index: linux-2.4.35.4/drivers/mtd/maps/Config.in
dep_tristate ' Pb1100 MTD support' CONFIG_MTD_PB1100 $CONFIG_MIPS_PB1100 dep_tristate ' Pb1100 MTD support' CONFIG_MTD_PB1100 $CONFIG_MIPS_PB1100
Index: linux-2.4.35.4/drivers/mtd/maps/Makefile Index: linux-2.4.35.4/drivers/mtd/maps/Makefile
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/mtd/maps/Makefile 2007-12-15 05:19:44.954982876 +0100 --- linux-2.4.35.4.orig/drivers/mtd/maps/Makefile
+++ linux-2.4.35.4/drivers/mtd/maps/Makefile 2007-12-15 05:20:14.664675934 +0100 +++ linux-2.4.35.4/drivers/mtd/maps/Makefile
@@ -3,6 +3,8 @@ @@ -3,6 +3,8 @@
# #
# $Id: Makefile,v 1.37 2003/01/24 14:26:38 dwmw2 Exp $ # $Id: Makefile,v 1.37 2003/01/24 14:26:38 dwmw2 Exp $
@ -56,7 +56,7 @@ Index: linux-2.4.35.4/drivers/mtd/maps/Makefile
BELOW25 := $(shell echo $(PATCHLEVEL) | sed s/[1234]/y/) BELOW25 := $(shell echo $(PATCHLEVEL) | sed s/[1234]/y/)
ifeq ($(BELOW25),y) ifeq ($(BELOW25),y)
@@ -10,6 +12,7 @@ @@ -10,6 +12,7 @@ O_TARGET := mapslink.o
endif endif
# Chip mappings # Chip mappings

View file

@ -1,8 +1,8 @@
Index: linux-2.4.35.4/drivers/bluetooth/hci_usb.c Index: linux-2.4.35.4/drivers/bluetooth/hci_usb.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/bluetooth/hci_usb.c 2007-12-15 05:19:36.182482961 +0100 --- linux-2.4.35.4.orig/drivers/bluetooth/hci_usb.c
+++ linux-2.4.35.4/drivers/bluetooth/hci_usb.c 2007-12-15 05:20:14.964693031 +0100 +++ linux-2.4.35.4/drivers/bluetooth/hci_usb.c
@@ -259,6 +259,9 @@ @@ -259,6 +259,9 @@ static int hci_usb_isoc_rx_submit(struct
void *buf; void *buf;
mtu = husb->isoc_in_ep->wMaxPacketSize; mtu = husb->isoc_in_ep->wMaxPacketSize;

View file

@ -1,8 +1,8 @@
Index: linux-2.4.35.4/arch/mips/lib/ide-std.c Index: linux-2.4.35.4/arch/mips/lib/ide-std.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/arch/mips/lib/ide-std.c 2007-12-15 05:19:36.146480908 +0100 --- linux-2.4.35.4.orig/arch/mips/lib/ide-std.c
+++ linux-2.4.35.4/arch/mips/lib/ide-std.c 2007-12-15 05:20:15.796740447 +0100 +++ linux-2.4.35.4/arch/mips/lib/ide-std.c
@@ -31,12 +31,14 @@ @@ -31,12 +31,14 @@ static int std_ide_default_irq(ide_ioreg
static ide_ioreg_t std_ide_default_io_base(int index) static ide_ioreg_t std_ide_default_io_base(int index)
{ {
switch (index) { switch (index) {

View file

@ -1,7 +1,7 @@
Index: linux-2.4.35.4/drivers/net/b44.c Index: linux-2.4.35.4/drivers/net/b44.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/net/b44.c 2007-12-15 05:19:36.094477944 +0100 --- linux-2.4.35.4.orig/drivers/net/b44.c
+++ linux-2.4.35.4/drivers/net/b44.c 2007-12-15 05:20:16.020753214 +0100 +++ linux-2.4.35.4/drivers/net/b44.c
@@ -1,7 +1,9 @@ @@ -1,7 +1,9 @@
/* b44.c: Broadcom 4400 device driver. /* b44.c: Broadcom 4400 device driver.
* *
@ -53,7 +53,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
#define DRV_MODULE_NAME "b44" #define DRV_MODULE_NAME "b44"
#define PFX DRV_MODULE_NAME ": " #define PFX DRV_MODULE_NAME ": "
#define DRV_MODULE_VERSION "0.93" #define DRV_MODULE_VERSION "0.93"
@@ -75,7 +112,7 @@ @@ -75,7 +110,7 @@ static char version[] __devinitdata =
DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";
MODULE_AUTHOR("David S. Miller (davem@redhat.com)"); MODULE_AUTHOR("David S. Miller (davem@redhat.com)");
@ -62,7 +62,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_PARM(b44_debug, "i"); MODULE_PARM(b44_debug, "i");
MODULE_PARM_DESC(b44_debug, "B44 bitmapped debugging message enable value"); MODULE_PARM_DESC(b44_debug, "B44 bitmapped debugging message enable value");
@@ -89,6 +126,8 @@ @@ -89,6 +124,8 @@ static struct pci_device_id b44_pci_tbl[
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_BCM4401B1, { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_BCM4401B1,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
@ -71,7 +71,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
{ } /* terminate list with empty entry */ { } /* terminate list with empty entry */
}; };
@@ -113,11 +152,13 @@ @@ -113,11 +150,13 @@ static int b44_wait_bit(struct b44 *bp,
udelay(10); udelay(10);
} }
if (i == timeout) { if (i == timeout) {
@ -85,7 +85,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
return -ENODEV; return -ENODEV;
} }
return 0; return 0;
@@ -236,6 +277,8 @@ @@ -236,6 +275,8 @@ static void ssb_core_reset(struct b44 *b
udelay(1); udelay(1);
} }
@ -94,7 +94,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
static int ssb_core_unit(struct b44 *bp) static int ssb_core_unit(struct b44 *bp)
{ {
#if 0 #if 0
@@ -258,6 +301,9 @@ @@ -258,6 +299,9 @@ static int ssb_core_unit(struct b44 *bp)
break; break;
}; };
#endif #endif
@ -104,7 +104,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
return 0; return 0;
} }
@@ -267,6 +313,28 @@ @@ -267,6 +311,28 @@ static int ssb_is_core_up(struct b44 *bp
== SBTMSLOW_CLOCK); == SBTMSLOW_CLOCK);
} }
@ -133,7 +133,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
static void __b44_cam_write(struct b44 *bp, unsigned char *data, int index) static void __b44_cam_write(struct b44 *bp, unsigned char *data, int index)
{ {
u32 val; u32 val;
@@ -287,7 +355,7 @@ @@ -287,7 +353,7 @@ static void __b44_cam_write(struct b44 *
static inline void __b44_disable_ints(struct b44 *bp) static inline void __b44_disable_ints(struct b44 *bp)
{ {
@ -142,7 +142,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
} }
static void b44_disable_ints(struct b44 *bp) static void b44_disable_ints(struct b44 *bp)
@@ -303,14 +371,14 @@ @@ -303,14 +369,14 @@ static void b44_enable_ints(struct b44 *
bw32(B44_IMASK, bp->imask); bw32(B44_IMASK, bp->imask);
} }
@ -159,7 +159,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
(reg << MDIO_DATA_RA_SHIFT) | (reg << MDIO_DATA_RA_SHIFT) |
(MDIO_TA_VALID << MDIO_DATA_TA_SHIFT))); (MDIO_TA_VALID << MDIO_DATA_TA_SHIFT)));
err = b44_wait_bit(bp, B44_EMAC_ISTAT, EMAC_INT_MII, 100, 0); err = b44_wait_bit(bp, B44_EMAC_ISTAT, EMAC_INT_MII, 100, 0);
@@ -319,23 +387,42 @@ @@ -319,23 +385,42 @@ static int b44_readphy(struct b44 *bp, i
return err; return err;
} }
@ -204,7 +204,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
err = b44_writephy(bp, MII_BMCR, BMCR_RESET); err = b44_writephy(bp, MII_BMCR, BMCR_RESET);
if (err) if (err)
return err; return err;
@@ -406,6 +493,23 @@ @@ -406,6 +491,23 @@ static int b44_setup_phy(struct b44 *bp)
u32 val; u32 val;
int err; int err;
@ -228,7 +228,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
if ((err = b44_readphy(bp, B44_MII_ALEDCTRL, &val)) != 0) if ((err = b44_readphy(bp, B44_MII_ALEDCTRL, &val)) != 0)
goto out; goto out;
if ((err = b44_writephy(bp, B44_MII_ALEDCTRL, if ((err = b44_writephy(bp, B44_MII_ALEDCTRL,
@@ -498,6 +602,19 @@ @@ -498,6 +600,19 @@ static void b44_check_phy(struct b44 *bp
{ {
u32 bmsr, aux; u32 bmsr, aux;
@ -248,7 +248,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
if (!b44_readphy(bp, MII_BMSR, &bmsr) && if (!b44_readphy(bp, MII_BMSR, &bmsr) &&
!b44_readphy(bp, B44_MII_AUXCTRL, &aux) && !b44_readphy(bp, B44_MII_AUXCTRL, &aux) &&
(bmsr != 0xffff)) { (bmsr != 0xffff)) {
@@ -765,6 +882,25 @@ @@ -765,6 +880,25 @@ static int b44_rx(struct b44 *bp, int bu
return received; return received;
} }
@ -274,7 +274,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
static int b44_poll(struct net_device *netdev, int *budget) static int b44_poll(struct net_device *netdev, int *budget)
{ {
struct b44 *bp = netdev->priv; struct b44 *bp = netdev->priv;
@@ -772,13 +908,13 @@ @@ -772,13 +906,13 @@ static int b44_poll(struct net_device *n
spin_lock_irq(&bp->lock); spin_lock_irq(&bp->lock);
@ -290,7 +290,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
done = 1; done = 1;
if (bp->istat & ISTAT_RX) { if (bp->istat & ISTAT_RX) {
int orig_budget = *budget; int orig_budget = *budget;
@@ -796,24 +932,18 @@ @@ -796,24 +930,18 @@ static int b44_poll(struct net_device *n
done = 0; done = 0;
} }
@ -319,7 +319,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
static irqreturn_t b44_interrupt(int irq, void *dev_id, struct pt_regs *regs) static irqreturn_t b44_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{ {
struct net_device *dev = dev_id; struct net_device *dev = dev_id;
@@ -832,6 +962,18 @@ @@ -832,6 +960,18 @@ static irqreturn_t b44_interrupt(int irq
*/ */
istat &= imask; istat &= imask;
if (istat) { if (istat) {
@ -338,7 +338,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
handled = 1; handled = 1;
if (netif_rx_schedule_prep(dev)) { if (netif_rx_schedule_prep(dev)) {
/* NOTE: These writes are posted by the readback of /* NOTE: These writes are posted by the readback of
@@ -848,6 +990,7 @@ @@ -848,6 +988,7 @@ static irqreturn_t b44_interrupt(int irq
bw32(B44_ISTAT, istat); bw32(B44_ISTAT, istat);
br32(B44_ISTAT); br32(B44_ISTAT);
} }
@ -346,7 +346,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
spin_unlock_irqrestore(&bp->lock, flags); spin_unlock_irqrestore(&bp->lock, flags);
return IRQ_RETVAL(handled); return IRQ_RETVAL(handled);
} }
@@ -859,16 +1002,7 @@ @@ -859,16 +1000,7 @@ static void b44_tx_timeout(struct net_de
printk(KERN_ERR PFX "%s: transmit timed out, resetting\n", printk(KERN_ERR PFX "%s: transmit timed out, resetting\n",
dev->name); dev->name);
@ -364,7 +364,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
netif_wake_queue(dev); netif_wake_queue(dev);
} }
@@ -1092,6 +1226,8 @@ @@ -1092,6 +1224,8 @@ static void b44_clear_stats(struct b44 *
/* bp->lock is held. */ /* bp->lock is held. */
static void b44_chip_reset(struct b44 *bp) static void b44_chip_reset(struct b44 *bp)
{ {
@ -373,7 +373,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
if (ssb_is_core_up(bp)) { if (ssb_is_core_up(bp)) {
bw32(B44_RCV_LAZY, 0); bw32(B44_RCV_LAZY, 0);
bw32(B44_ENET_CTRL, ENET_CTRL_DISABLE); bw32(B44_ENET_CTRL, ENET_CTRL_DISABLE);
@@ -1105,9 +1241,10 @@ @@ -1105,9 +1239,10 @@ static void b44_chip_reset(struct b44 *b
bw32(B44_DMARX_CTRL, 0); bw32(B44_DMARX_CTRL, 0);
bp->rx_prod = bp->rx_cons = 0; bp->rx_prod = bp->rx_cons = 0;
} else { } else {
@ -387,7 +387,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
} }
ssb_core_reset(bp); ssb_core_reset(bp);
@@ -1115,6 +1252,11 @@ @@ -1115,6 +1250,11 @@ static void b44_chip_reset(struct b44 *b
b44_clear_stats(bp); b44_clear_stats(bp);
/* Make PHY accessible. */ /* Make PHY accessible. */
@ -399,7 +399,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
bw32(B44_MDIO_CTRL, (MDIO_CTRL_PREAMBLE | bw32(B44_MDIO_CTRL, (MDIO_CTRL_PREAMBLE |
(0x0d & MDIO_CTRL_MAXF_MASK))); (0x0d & MDIO_CTRL_MAXF_MASK)));
br32(B44_MDIO_CTRL); br32(B44_MDIO_CTRL);
@@ -1216,6 +1358,8 @@ @@ -1216,6 +1356,8 @@ static int b44_open(struct net_device *d
struct b44 *bp = dev->priv; struct b44 *bp = dev->priv;
int err; int err;
@ -408,7 +408,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
err = b44_alloc_consistent(bp); err = b44_alloc_consistent(bp);
if (err) if (err)
return err; return err;
@@ -1236,9 +1380,10 @@ @@ -1236,9 +1378,10 @@ static int b44_open(struct net_device *d
bp->timer.expires = jiffies + HZ; bp->timer.expires = jiffies + HZ;
bp->timer.data = (unsigned long) bp; bp->timer.data = (unsigned long) bp;
bp->timer.function = b44_timer; bp->timer.function = b44_timer;
@ -420,7 +420,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
return 0; return 0;
@@ -1638,7 +1783,7 @@ @@ -1638,7 +1781,7 @@ static int b44_ioctl(struct net_device *
u32 mii_regval; u32 mii_regval;
spin_lock_irq(&bp->lock); spin_lock_irq(&bp->lock);
@ -429,7 +429,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
spin_unlock_irq(&bp->lock); spin_unlock_irq(&bp->lock);
data->val_out = mii_regval; data->val_out = mii_regval;
@@ -1651,7 +1796,7 @@ @@ -1651,7 +1794,7 @@ static int b44_ioctl(struct net_device *
return -EPERM; return -EPERM;
spin_lock_irq(&bp->lock); spin_lock_irq(&bp->lock);
@ -438,7 +438,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
spin_unlock_irq(&bp->lock); spin_unlock_irq(&bp->lock);
return err; return err;
@@ -1678,21 +1823,52 @@ @@ -1678,21 +1821,52 @@ static int b44_read_eeprom(struct b44 *b
static int __devinit b44_get_invariants(struct b44 *bp) static int __devinit b44_get_invariants(struct b44 *bp)
{ {
u8 eeprom[128]; u8 eeprom[128];
@ -504,7 +504,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
/* With this, plus the rx_header prepended to the data by the /* With this, plus the rx_header prepended to the data by the
* hardware, we'll land the ethernet header on a 2-byte boundary. * hardware, we'll land the ethernet header on a 2-byte boundary.
@@ -1702,13 +1878,12 @@ @@ -1702,13 +1876,12 @@ static int __devinit b44_get_invariants(
bp->imask = IMASK_DEF; bp->imask = IMASK_DEF;
bp->core_unit = ssb_core_unit(bp); bp->core_unit = ssb_core_unit(bp);
@ -520,7 +520,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
} }
static int __devinit b44_init_one(struct pci_dev *pdev, static int __devinit b44_init_one(struct pci_dev *pdev,
@@ -1720,6 +1895,10 @@ @@ -1720,6 +1893,10 @@ static int __devinit b44_init_one(struct
struct b44 *bp; struct b44 *bp;
int err, i; int err, i;
@ -531,7 +531,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
if (b44_version_printed++ == 0) if (b44_version_printed++ == 0)
printk(KERN_INFO "%s", version); printk(KERN_INFO "%s", version);
@@ -1834,11 +2013,17 @@ @@ -1834,11 +2011,17 @@ static int __devinit b44_init_one(struct
*/ */
b44_chip_reset(bp); b44_chip_reset(bp);
@ -552,8 +552,8 @@ Index: linux-2.4.35.4/drivers/net/b44.c
err_out_iounmap: err_out_iounmap:
Index: linux-2.4.35.4/drivers/net/b44.h Index: linux-2.4.35.4/drivers/net/b44.h
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/net/b44.h 2007-12-15 05:19:36.102478402 +0100 --- linux-2.4.35.4.orig/drivers/net/b44.h
+++ linux-2.4.35.4/drivers/net/b44.h 2007-12-15 05:20:16.028753670 +0100 +++ linux-2.4.35.4/drivers/net/b44.h
@@ -229,8 +229,6 @@ @@ -229,8 +229,6 @@
#define SBIPSFLAG_IMASK4 0x3f000000 /* Which sbflags --> mips interrupt 4 */ #define SBIPSFLAG_IMASK4 0x3f000000 /* Which sbflags --> mips interrupt 4 */
#define SBIPSFLAG_ISHIFT4 24 #define SBIPSFLAG_ISHIFT4 24
@ -563,7 +563,7 @@ Index: linux-2.4.35.4/drivers/net/b44.h
#define B44_SBADMATCH3 0x0F60UL /* SB Address Match 3 */ #define B44_SBADMATCH3 0x0F60UL /* SB Address Match 3 */
#define B44_SBADMATCH2 0x0F68UL /* SB Address Match 2 */ #define B44_SBADMATCH2 0x0F68UL /* SB Address Match 2 */
#define B44_SBADMATCH1 0x0F70UL /* SB Address Match 1 */ #define B44_SBADMATCH1 0x0F70UL /* SB Address Match 1 */
@@ -461,6 +459,8 @@ @@ -461,6 +459,8 @@ struct ring_info {
}; };
#define B44_MCAST_TABLE_SIZE 32 #define B44_MCAST_TABLE_SIZE 32
@ -574,8 +574,8 @@ Index: linux-2.4.35.4/drivers/net/b44.h
* which probes HW values. Must have same relative layout as HW * which probes HW values. Must have same relative layout as HW
Index: linux-2.4.35.4/include/linux/pci_ids.h Index: linux-2.4.35.4/include/linux/pci_ids.h
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/include/linux/pci_ids.h 2007-12-15 05:19:36.114479084 +0100 --- linux-2.4.35.4.orig/include/linux/pci_ids.h
+++ linux-2.4.35.4/include/linux/pci_ids.h 2007-12-15 05:20:16.032753896 +0100 +++ linux-2.4.35.4/include/linux/pci_ids.h
@@ -1756,6 +1756,7 @@ @@ -1756,6 +1756,7 @@
#define PCI_DEVICE_ID_TIGON3_5901_2 0x170e #define PCI_DEVICE_ID_TIGON3_5901_2 0x170e
#define PCI_DEVICE_ID_BCM4401 0x4401 #define PCI_DEVICE_ID_BCM4401 0x4401

View file

@ -1,8 +1,8 @@
Index: linux-2.4.35.4/drivers/pcmcia/yenta.c Index: linux-2.4.35.4/drivers/pcmcia/yenta.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/pcmcia/yenta.c 2007-12-15 05:19:36.066476349 +0100 --- linux-2.4.35.4.orig/drivers/pcmcia/yenta.c
+++ linux-2.4.35.4/drivers/pcmcia/yenta.c 2007-12-15 05:20:16.268767348 +0100 +++ linux-2.4.35.4/drivers/pcmcia/yenta.c
@@ -543,6 +543,9 @@ @@ -543,6 +543,9 @@ static unsigned int yenta_probe_irq(pci_
* Probe for usable interrupts using the force * Probe for usable interrupts using the force
* register to generate bogus card status events. * register to generate bogus card status events.
*/ */
@ -12,7 +12,7 @@ Index: linux-2.4.35.4/drivers/pcmcia/yenta.c
cb_writel(socket, CB_SOCKET_EVENT, -1); cb_writel(socket, CB_SOCKET_EVENT, -1);
cb_writel(socket, CB_SOCKET_MASK, CB_CSTSMASK); cb_writel(socket, CB_SOCKET_MASK, CB_CSTSMASK);
exca_writeb(socket, I365_CSCINT, 0); exca_writeb(socket, I365_CSCINT, 0);
@@ -557,7 +560,8 @@ @@ -557,7 +560,8 @@ static unsigned int yenta_probe_irq(pci_
} }
cb_writel(socket, CB_SOCKET_MASK, 0); cb_writel(socket, CB_SOCKET_MASK, 0);
exca_writeb(socket, I365_CSCINT, 0); exca_writeb(socket, I365_CSCINT, 0);
@ -22,7 +22,7 @@ Index: linux-2.4.35.4/drivers/pcmcia/yenta.c
mask = probe_irq_mask(val) & 0xffff; mask = probe_irq_mask(val) & 0xffff;
bridge_ctrl &= ~CB_BRIDGE_INTR; bridge_ctrl &= ~CB_BRIDGE_INTR;
@@ -578,6 +582,12 @@ @@ -578,6 +582,12 @@ static void yenta_get_socket_capabilitie
socket->cap.cb_dev = socket->dev; socket->cap.cb_dev = socket->dev;
socket->cap.bus = NULL; socket->cap.bus = NULL;
@ -35,7 +35,7 @@ Index: linux-2.4.35.4/drivers/pcmcia/yenta.c
printk(KERN_INFO "Yenta ISA IRQ mask 0x%04x, PCI irq %d\n", printk(KERN_INFO "Yenta ISA IRQ mask 0x%04x, PCI irq %d\n",
socket->cap.irq_mask, socket->cb_irq); socket->cap.irq_mask, socket->cb_irq);
} }
@@ -609,6 +619,15 @@ @@ -609,6 +619,15 @@ static void yenta_open_bh(void * data)
printk(KERN_INFO "Socket status: %08x\n", printk(KERN_INFO "Socket status: %08x\n",
cb_readl(socket, CB_SOCKET_STATE)); cb_readl(socket, CB_SOCKET_STATE));
@ -51,7 +51,7 @@ Index: linux-2.4.35.4/drivers/pcmcia/yenta.c
/* Register it with the pcmcia layer.. */ /* Register it with the pcmcia layer.. */
cardbus_register(socket); cardbus_register(socket);
@@ -731,7 +750,7 @@ @@ -731,7 +750,7 @@ static void yenta_allocate_res(pci_socke
{ {
struct pci_bus *bus; struct pci_bus *bus;
struct resource *root, *res; struct resource *root, *res;
@ -60,7 +60,7 @@ Index: linux-2.4.35.4/drivers/pcmcia/yenta.c
u32 align, size, min, max; u32 align, size, min, max;
unsigned offset; unsigned offset;
unsigned mask; unsigned mask;
@@ -750,6 +769,15 @@ @@ -750,6 +769,15 @@ static void yenta_allocate_res(pci_socke
res->end = 0; res->end = 0;
root = pci_find_parent_resource(socket->dev, res); root = pci_find_parent_resource(socket->dev, res);
@ -76,7 +76,7 @@ Index: linux-2.4.35.4/drivers/pcmcia/yenta.c
if (!root) if (!root)
return; return;
@@ -794,6 +822,7 @@ @@ -794,6 +822,7 @@ static void yenta_allocate_res(pci_socke
res->start = res->end = 0; res->start = res->end = 0;
return; return;
} }

View file

@ -1,7 +1,7 @@
Index: linux-2.4.35.4/drivers/net/b44.h Index: linux-2.4.35.4/drivers/net/b44.h
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/net/b44.h 2007-12-15 05:20:16.028753670 +0100 --- linux-2.4.35.4.orig/drivers/net/b44.h
+++ linux-2.4.35.4/drivers/net/b44.h 2007-12-15 05:20:16.480779429 +0100 +++ linux-2.4.35.4/drivers/net/b44.h
@@ -122,6 +122,7 @@ @@ -122,6 +122,7 @@
#define RXCONFIG_FLOW 0x00000020 /* Flow Control Enable */ #define RXCONFIG_FLOW 0x00000020 /* Flow Control Enable */
#define RXCONFIG_FLOW_ACCEPT 0x00000040 /* Accept Unicast Flow Control Frame */ #define RXCONFIG_FLOW_ACCEPT 0x00000040 /* Accept Unicast Flow Control Frame */
@ -12,9 +12,9 @@ Index: linux-2.4.35.4/drivers/net/b44.h
#define B44_MDIO_CTRL 0x0410UL /* EMAC MDIO Control */ #define B44_MDIO_CTRL 0x0410UL /* EMAC MDIO Control */
Index: linux-2.4.35.4/drivers/net/b44.c Index: linux-2.4.35.4/drivers/net/b44.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/net/b44.c 2007-12-15 05:20:16.020753214 +0100 --- linux-2.4.35.4.orig/drivers/net/b44.c
+++ linux-2.4.35.4/drivers/net/b44.c 2007-12-15 05:20:16.480779429 +0100 +++ linux-2.4.35.4/drivers/net/b44.c
@@ -1301,6 +1301,7 @@ @@ -1299,6 +1299,7 @@ static int b44_set_mac_addr(struct net_d
{ {
struct b44 *bp = dev->priv; struct b44 *bp = dev->priv;
struct sockaddr *addr = p; struct sockaddr *addr = p;
@ -22,7 +22,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
if (netif_running(dev)) if (netif_running(dev))
return -EBUSY; return -EBUSY;
@@ -1308,7 +1309,11 @@ @@ -1306,7 +1307,11 @@ static int b44_set_mac_addr(struct net_d
memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); memcpy(dev->dev_addr, addr->sa_data, dev->addr_len);
spin_lock_irq(&bp->lock); spin_lock_irq(&bp->lock);
@ -35,7 +35,7 @@ Index: linux-2.4.35.4/drivers/net/b44.c
spin_unlock_irq(&bp->lock); spin_unlock_irq(&bp->lock);
return 0; return 0;
@@ -1495,7 +1500,7 @@ @@ -1493,7 +1498,7 @@ static void __b44_set_rx_mode(struct net
val = br32(B44_RXCONFIG); val = br32(B44_RXCONFIG);
val &= ~(RXCONFIG_PROMISC | RXCONFIG_ALLMULTI); val &= ~(RXCONFIG_PROMISC | RXCONFIG_ALLMULTI);

View file

@ -1,8 +1,8 @@
Index: linux-2.4.35.4/net/sched/sch_generic.c Index: linux-2.4.35.4/net/sched/sch_generic.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/net/sched/sch_generic.c 2007-12-15 05:20:10.816456638 +0100 --- linux-2.4.35.4.orig/net/sched/sch_generic.c
+++ linux-2.4.35.4/net/sched/sch_generic.c 2007-12-15 05:20:16.704792197 +0100 +++ linux-2.4.35.4/net/sched/sch_generic.c
@@ -84,6 +84,11 @@ @@ -84,6 +84,11 @@ int qdisc_restart(struct net_device *dev
struct sk_buff *skb; struct sk_buff *skb;
/* Dequeue packet */ /* Dequeue packet */

View file

@ -1,7 +1,7 @@
Index: linux-2.4.35.4/drivers/ide/pci/aec62xx.c Index: linux-2.4.35.4/drivers/ide/pci/aec62xx.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/ide/pci/aec62xx.c 2007-12-15 05:19:35.958470194 +0100 --- linux-2.4.35.4.orig/drivers/ide/pci/aec62xx.c
+++ linux-2.4.35.4/drivers/ide/pci/aec62xx.c 2007-12-15 05:20:16.928804961 +0100 +++ linux-2.4.35.4/drivers/ide/pci/aec62xx.c
@@ -3,6 +3,8 @@ @@ -3,6 +3,8 @@
* *
* Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org> * Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org>
@ -11,7 +11,7 @@ Index: linux-2.4.35.4/drivers/ide/pci/aec62xx.c
*/ */
#include <linux/module.h> #include <linux/module.h>
@@ -329,7 +331,11 @@ @@ -329,7 +331,11 @@ static int aec62xx_config_drive_xfer_rat
ide_hwif_t *hwif = HWIF(drive); ide_hwif_t *hwif = HWIF(drive);
struct hd_driveid *id = drive->id; struct hd_driveid *id = drive->id;
@ -23,7 +23,7 @@ Index: linux-2.4.35.4/drivers/ide/pci/aec62xx.c
/* Consult the list of known "bad" drives */ /* Consult the list of known "bad" drives */
if (hwif->ide_dma_bad_drive(drive)) if (hwif->ide_dma_bad_drive(drive))
goto fast_ata_pio; goto fast_ata_pio;
@@ -414,10 +420,60 @@ @@ -414,10 +420,60 @@ static unsigned int __init init_chipset_
{ {
int bus_speed = system_bus_clock(); int bus_speed = system_bus_clock();
@ -84,7 +84,7 @@ Index: linux-2.4.35.4/drivers/ide/pci/aec62xx.c
#if defined(DISPLAY_AEC62XX_TIMINGS) && defined(CONFIG_PROC_FS) #if defined(DISPLAY_AEC62XX_TIMINGS) && defined(CONFIG_PROC_FS)
aec_devs[n_aec_devs++] = dev; aec_devs[n_aec_devs++] = dev;
@@ -500,6 +556,7 @@ @@ -500,6 +556,7 @@ static void __init init_setup_aec62xx (s
static void __init init_setup_aec6x80 (struct pci_dev *dev, ide_pci_device_t *d) static void __init init_setup_aec6x80 (struct pci_dev *dev, ide_pci_device_t *d)
{ {
@ -92,7 +92,7 @@ Index: linux-2.4.35.4/drivers/ide/pci/aec62xx.c
unsigned long bar4reg = pci_resource_start(dev, 4); unsigned long bar4reg = pci_resource_start(dev, 4);
if (inb(bar4reg+2) & 0x10) { if (inb(bar4reg+2) & 0x10) {
@@ -512,6 +569,7 @@ @@ -512,6 +569,7 @@ static void __init init_setup_aec6x80 (s
strcpy(d->name, "AEC6280R"); strcpy(d->name, "AEC6280R");
} }

View file

@ -1,8 +1,8 @@
Index: linux-2.4.35.4/drivers/ide/pci/pdc202xx_old.c Index: linux-2.4.35.4/drivers/ide/pci/pdc202xx_old.c
=================================================================== ===================================================================
--- linux-2.4.35.4.orig/drivers/ide/pci/pdc202xx_old.c 2007-12-15 05:19:35.922468144 +0100 --- linux-2.4.35.4.orig/drivers/ide/pci/pdc202xx_old.c
+++ linux-2.4.35.4/drivers/ide/pci/pdc202xx_old.c 2007-12-15 05:20:17.136816813 +0100 +++ linux-2.4.35.4/drivers/ide/pci/pdc202xx_old.c
@@ -253,23 +253,23 @@ @@ -253,23 +253,23 @@ static int pdc202xx_tune_chipset (ide_dr
pci_read_config_byte(dev, (drive_pci)|0x03, &DP); pci_read_config_byte(dev, (drive_pci)|0x03, &DP);
if (speed < XFER_SW_DMA_0) { if (speed < XFER_SW_DMA_0) {
@ -30,7 +30,7 @@ Index: linux-2.4.35.4/drivers/ide/pci/pdc202xx_old.c
pci_read_config_byte(dev, (drive_pci)|0x01, &BP); pci_read_config_byte(dev, (drive_pci)|0x01, &BP);
/* clear DMA modes of lower 8421 bits of C Register */ /* clear DMA modes of lower 8421 bits of C Register */
@@ -373,6 +373,9 @@ @@ -373,6 +373,9 @@ static int config_chipset_for_dma (ide_d
u8 ultra_66 = ((id->dma_ultra & 0x0010) || u8 ultra_66 = ((id->dma_ultra & 0x0010) ||
(id->dma_ultra & 0x0008)) ? 1 : 0; (id->dma_ultra & 0x0008)) ? 1 : 0;