upgrade to 2.6.25.7, and refresh patches
SVN-Revision: 11523
This commit is contained in:
parent
3415b8c044
commit
4af6ac74fb
61 changed files with 435 additions and 683 deletions
|
@ -25,8 +25,8 @@ endif
|
||||||
ifeq ($(LINUX_VERSION),2.6.24.7)
|
ifeq ($(LINUX_VERSION),2.6.24.7)
|
||||||
LINUX_KERNEL_MD5SUM:=40a73780d51525d28d36dec852c680c4
|
LINUX_KERNEL_MD5SUM:=40a73780d51525d28d36dec852c680c4
|
||||||
endif
|
endif
|
||||||
ifeq ($(LINUX_VERSION),2.6.25.6)
|
ifeq ($(LINUX_VERSION),2.6.25.7)
|
||||||
LINUX_KERNEL_MD5SUM:=82f641f5774221bbc27dbd83a31c88f6
|
LINUX_KERNEL_MD5SUM:=783551769cd104de0eac19bd78dc5ad7
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# disable the md5sum check for unknown kernel versions
|
# disable the md5sum check for unknown kernel versions
|
||||||
|
|
|
@ -11,7 +11,7 @@ BOARD:=ar7
|
||||||
BOARDNAME:=TI AR7
|
BOARDNAME:=TI AR7
|
||||||
FEATURES:=squashfs jffs2 atm
|
FEATURES:=squashfs jffs2 atm
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/drivers/net/cpmac.c
|
--- a/drivers/net/cpmac.c
|
||||||
+++ b/drivers/net/cpmac.c
|
+++ b/drivers/net/cpmac.c
|
||||||
@@ -947,7 +947,8 @@
|
@@ -936,7 +936,8 @@
|
||||||
int new_state = 0;
|
int new_state = 0;
|
||||||
|
|
||||||
spin_lock(&priv->lock);
|
spin_lock(&priv->lock);
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
netif_start_queue(dev);
|
netif_start_queue(dev);
|
||||||
if (priv->phy->duplex != priv->oldduplex) {
|
if (priv->phy->duplex != priv->oldduplex) {
|
||||||
new_state = 1;
|
new_state = 1;
|
||||||
@@ -959,11 +960,11 @@
|
@@ -948,11 +949,11 @@
|
||||||
priv->oldspeed = priv->phy->speed;
|
priv->oldspeed = priv->phy->speed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ BOARD:=au1000
|
||||||
BOARDNAME:=RMI/AMD AU1x00
|
BOARDNAME:=RMI/AMD AU1x00
|
||||||
FEATURES:=jffs2 usb pci
|
FEATURES:=jffs2 usb pci
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
DEFAULT_PACKAGES += yamonenv
|
DEFAULT_PACKAGES += yamonenv
|
||||||
|
|
|
@ -10,11 +10,9 @@ Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
|
||||||
arch/mips/au1000/Kconfig | 1 +
|
arch/mips/au1000/Kconfig | 1 +
|
||||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/au1000/Kconfig
|
--- a/arch/mips/au1000/Kconfig
|
||||||
===================================================================
|
+++ b/arch/mips/au1000/Kconfig
|
||||||
--- linux-2.6.25.4.orig/arch/mips/au1000/Kconfig
|
@@ -135,3 +135,4 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/au1000/Kconfig
|
|
||||||
@@ -135,3 +135,4 @@ config SOC_AU1X00
|
|
||||||
select SYS_SUPPORTS_32BIT_KERNEL
|
select SYS_SUPPORTS_32BIT_KERNEL
|
||||||
select SYS_SUPPORTS_APM_EMULATION
|
select SYS_SUPPORTS_APM_EMULATION
|
||||||
select SYS_SUPPORTS_KGDB
|
select SYS_SUPPORTS_KGDB
|
||||||
|
|
|
@ -2,10 +2,8 @@ This patch adds support for the GPIO connected system button on the MTX-1 boards
|
||||||
|
|
||||||
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
|
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
|
||||||
---
|
---
|
||||||
Index: linux-2.6.25.4/arch/mips/au1000/mtx-1/platform.c
|
--- a/arch/mips/au1000/mtx-1/platform.c
|
||||||
===================================================================
|
+++ b/arch/mips/au1000/mtx-1/platform.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/au1000/mtx-1/platform.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/au1000/mtx-1/platform.c
|
|
||||||
@@ -23,9 +23,32 @@
|
@@ -23,9 +23,32 @@
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
|
@ -39,7 +37,7 @@ Index: linux-2.6.25.4/arch/mips/au1000/mtx-1/platform.c
|
||||||
static struct resource mtx1_wdt_res[] = {
|
static struct resource mtx1_wdt_res[] = {
|
||||||
[0] = {
|
[0] = {
|
||||||
.start = 15,
|
.start = 15,
|
||||||
@@ -62,11 +85,13 @@ static struct platform_device mtx1_gpio_
|
@@ -62,11 +85,13 @@
|
||||||
|
|
||||||
static struct platform_device *mtx1_devs[] = {
|
static struct platform_device *mtx1_devs[] = {
|
||||||
&mtx1_gpio_leds,
|
&mtx1_gpio_leds,
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: linux-2.6.25.4/drivers/net/au1000_eth.c
|
--- a/drivers/net/au1000_eth.c
|
||||||
===================================================================
|
+++ b/drivers/net/au1000_eth.c
|
||||||
--- linux-2.6.25.4.orig/drivers/net/au1000_eth.c
|
|
||||||
+++ linux-2.6.25.4/drivers/net/au1000_eth.c
|
|
||||||
@@ -15,6 +15,9 @@
|
@@ -15,6 +15,9 @@
|
||||||
* Author: MontaVista Software, Inc.
|
* Author: MontaVista Software, Inc.
|
||||||
* ppopov@mvista.com or source@mvista.com
|
* ppopov@mvista.com or source@mvista.com
|
||||||
|
@ -12,7 +10,7 @@ Index: linux-2.6.25.4/drivers/net/au1000_eth.c
|
||||||
* ########################################################################
|
* ########################################################################
|
||||||
*
|
*
|
||||||
* This program is free software; you can distribute it and/or modify it
|
* This program is free software; you can distribute it and/or modify it
|
||||||
@@ -835,6 +838,10 @@ static int au1000_init(struct net_device
|
@@ -835,6 +838,10 @@
|
||||||
|
|
||||||
control = MAC_RX_ENABLE | MAC_TX_ENABLE;
|
control = MAC_RX_ENABLE | MAC_TX_ENABLE;
|
||||||
#ifndef CONFIG_CPU_LITTLE_ENDIAN
|
#ifndef CONFIG_CPU_LITTLE_ENDIAN
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/arch/mips/au1000/mtx-1/init.c
|
--- a/arch/mips/au1000/mtx-1/init.c
|
||||||
===================================================================
|
+++ b/arch/mips/au1000/mtx-1/init.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/au1000/mtx-1/init.c
|
@@ -54,7 +54,7 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/au1000/mtx-1/init.c
|
|
||||||
@@ -54,7 +54,7 @@ void __init prom_init(void)
|
|
||||||
prom_argv = (char **) fw_arg1;
|
prom_argv = (char **) fw_arg1;
|
||||||
prom_envp = (char **) fw_arg2;
|
prom_envp = (char **) fw_arg2;
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/mtd/maps/mtx-1_flash.c
|
--- a/drivers/mtd/maps/mtx-1_flash.c
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/mtx-1_flash.c
|
||||||
--- linux-2.6.25.4.orig/drivers/mtd/maps/mtx-1_flash.c
|
@@ -28,7 +28,7 @@
|
||||||
+++ linux-2.6.25.4/drivers/mtd/maps/mtx-1_flash.c
|
|
||||||
@@ -28,7 +28,7 @@ static struct map_info mtx1_map = {
|
|
||||||
|
|
||||||
static struct mtd_partition mtx1_partitions[] = {
|
static struct mtd_partition mtx1_partitions[] = {
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/net/au1000_eth.c
|
--- a/drivers/net/au1000_eth.c
|
||||||
===================================================================
|
+++ b/drivers/net/au1000_eth.c
|
||||||
--- linux-2.6.25.4.orig/drivers/net/au1000_eth.c
|
@@ -1306,9 +1306,12 @@
|
||||||
+++ linux-2.6.25.4/drivers/net/au1000_eth.c
|
|
||||||
@@ -1306,9 +1306,12 @@ static void set_rx_mode(struct net_devic
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: linux-2.6.25.4/arch/mips/au1000/common/pci.c
|
--- a/arch/mips/au1000/common/pci.c
|
||||||
===================================================================
|
+++ b/arch/mips/au1000/common/pci.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/au1000/common/pci.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/au1000/common/pci.c
|
|
||||||
@@ -39,15 +39,15 @@
|
@@ -39,15 +39,15 @@
|
||||||
|
|
||||||
/* TBD */
|
/* TBD */
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: linux-2.6.25.4/include/asm-mips/mach-au1x00/au1000.h
|
--- a/include/asm-mips/mach-au1x00/au1000.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/mach-au1x00/au1000.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/mach-au1x00/au1000.h 2008-06-06 20:51:08.000000000 +0100
|
|
||||||
+++ linux-2.6.25.4/include/asm-mips/mach-au1x00/au1000.h 2008-06-06 20:51:48.000000000 +0100
|
|
||||||
@@ -623,6 +623,7 @@
|
@@ -623,6 +623,7 @@
|
||||||
AU1000_RTC_MATCH1_INT,
|
AU1000_RTC_MATCH1_INT,
|
||||||
AU1000_RTC_MATCH2_INT,
|
AU1000_RTC_MATCH2_INT,
|
||||||
|
|
|
@ -10,7 +10,7 @@ ARCH:=avr32
|
||||||
BOARD:=avr32
|
BOARD:=avr32
|
||||||
BOARDNAME:=Atmel AVR32
|
BOARDNAME:=Atmel AVR32
|
||||||
FEATURES:=squashfs
|
FEATURES:=squashfs
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ BOARD:=brcm47xx
|
||||||
BOARDNAME:=Broadcom BCM947xx/953xx
|
BOARDNAME:=Broadcom BCM947xx/953xx
|
||||||
FEATURES:=squashfs usb
|
FEATURES:=squashfs usb
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
DEFAULT_PACKAGES += kmod-switch kmod-diag
|
DEFAULT_PACKAGES += kmod-switch kmod-diag
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/arch/mips/Kconfig
|
--- a/arch/mips/Kconfig
|
||||||
===================================================================
|
+++ b/arch/mips/Kconfig
|
||||||
--- linux-2.6.25.4.orig/arch/mips/Kconfig
|
@@ -50,8 +50,10 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/Kconfig
|
|
||||||
@@ -50,8 +50,10 @@ config BCM47XX
|
|
||||||
select SYS_SUPPORTS_32BIT_KERNEL
|
select SYS_SUPPORTS_32BIT_KERNEL
|
||||||
select SYS_SUPPORTS_LITTLE_ENDIAN
|
select SYS_SUPPORTS_LITTLE_ENDIAN
|
||||||
select SSB
|
select SSB
|
||||||
|
@ -13,7 +11,7 @@ Index: linux-2.6.25.4/arch/mips/Kconfig
|
||||||
select SSB_PCICORE_HOSTMODE if PCI
|
select SSB_PCICORE_HOSTMODE if PCI
|
||||||
select GENERIC_GPIO
|
select GENERIC_GPIO
|
||||||
select SYS_HAS_EARLY_PRINTK
|
select SYS_HAS_EARLY_PRINTK
|
||||||
@@ -790,6 +792,7 @@ config CSRC_SB1250
|
@@ -790,6 +792,7 @@
|
||||||
|
|
||||||
config CFE
|
config CFE
|
||||||
bool
|
bool
|
||||||
|
@ -21,10 +19,8 @@ Index: linux-2.6.25.4/arch/mips/Kconfig
|
||||||
|
|
||||||
config DMA_COHERENT
|
config DMA_COHERENT
|
||||||
bool
|
bool
|
||||||
Index: linux-2.6.25.4/include/asm-mips/bootinfo.h
|
--- a/include/asm-mips/bootinfo.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/bootinfo.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/bootinfo.h
|
|
||||||
+++ linux-2.6.25.4/include/asm-mips/bootinfo.h
|
|
||||||
@@ -94,6 +94,12 @@
|
@@ -94,6 +94,12 @@
|
||||||
#define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
|
#define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
|
||||||
#define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
|
#define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
|
||||||
|
@ -38,11 +34,9 @@ Index: linux-2.6.25.4/include/asm-mips/bootinfo.h
|
||||||
#define CL_SIZE COMMAND_LINE_SIZE
|
#define CL_SIZE COMMAND_LINE_SIZE
|
||||||
|
|
||||||
extern char *system_type;
|
extern char *system_type;
|
||||||
Index: linux-2.6.25.4/include/linux/pci_ids.h
|
--- a/include/linux/pci_ids.h
|
||||||
===================================================================
|
+++ b/include/linux/pci_ids.h
|
||||||
--- linux-2.6.25.4.orig/include/linux/pci_ids.h
|
@@ -2001,6 +2001,7 @@
|
||||||
+++ linux-2.6.25.4/include/linux/pci_ids.h
|
|
||||||
@@ -2000,6 +2000,7 @@
|
|
||||||
#define PCI_DEVICE_ID_TIGON3_5906M 0x1713
|
#define PCI_DEVICE_ID_TIGON3_5906M 0x1713
|
||||||
#define PCI_DEVICE_ID_BCM4401 0x4401
|
#define PCI_DEVICE_ID_BCM4401 0x4401
|
||||||
#define PCI_DEVICE_ID_BCM4401B0 0x4402
|
#define PCI_DEVICE_ID_BCM4401B0 0x4402
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/mtd/maps/Kconfig
|
--- a/drivers/mtd/maps/Kconfig
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/Kconfig
|
||||||
--- linux-2.6.25.4.orig/drivers/mtd/maps/Kconfig
|
@@ -337,6 +337,12 @@
|
||||||
+++ linux-2.6.25.4/drivers/mtd/maps/Kconfig
|
|
||||||
@@ -337,6 +337,12 @@ config MTD_CFI_FLAGADM
|
|
||||||
Mapping for the Flaga digital module. If you don't have one, ignore
|
Mapping for the Flaga digital module. If you don't have one, ignore
|
||||||
this setting.
|
this setting.
|
||||||
|
|
||||||
|
@ -15,11 +13,9 @@ Index: linux-2.6.25.4/drivers/mtd/maps/Kconfig
|
||||||
config MTD_WALNUT
|
config MTD_WALNUT
|
||||||
tristate "Flash device mapped on IBM 405GP Walnut"
|
tristate "Flash device mapped on IBM 405GP Walnut"
|
||||||
depends on MTD_JEDECPROBE && WALNUT && !PPC_MERGE
|
depends on MTD_JEDECPROBE && WALNUT && !PPC_MERGE
|
||||||
Index: linux-2.6.25.4/drivers/mtd/maps/Makefile
|
--- a/drivers/mtd/maps/Makefile
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/Makefile
|
||||||
--- linux-2.6.25.4.orig/drivers/mtd/maps/Makefile
|
@@ -31,6 +31,7 @@
|
||||||
+++ linux-2.6.25.4/drivers/mtd/maps/Makefile
|
|
||||||
@@ -31,6 +31,7 @@ obj-$(CONFIG_MTD_PMC_MSP_RAMROOT)+= pmcm
|
|
||||||
obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
|
obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
|
||||||
obj-$(CONFIG_MTD_RPXLITE) += rpxlite.o
|
obj-$(CONFIG_MTD_RPXLITE) += rpxlite.o
|
||||||
obj-$(CONFIG_MTD_TQM8XXL) += tqm8xxl.o
|
obj-$(CONFIG_MTD_TQM8XXL) += tqm8xxl.o
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/arch/mips/Kconfig
|
--- a/arch/mips/Kconfig
|
||||||
===================================================================
|
+++ b/arch/mips/Kconfig
|
||||||
--- linux-2.6.25.4.orig/arch/mips/Kconfig
|
@@ -228,7 +228,6 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/Kconfig
|
|
||||||
@@ -228,7 +228,6 @@ config MIPS_MALTA
|
|
||||||
select I8259
|
select I8259
|
||||||
select MIPS_BOARDS_GEN
|
select MIPS_BOARDS_GEN
|
||||||
select MIPS_BONITO64
|
select MIPS_BONITO64
|
||||||
|
@ -10,7 +8,7 @@ Index: linux-2.6.25.4/arch/mips/Kconfig
|
||||||
select PCI_GT64XXX_PCI0
|
select PCI_GT64XXX_PCI0
|
||||||
select MIPS_MSC
|
select MIPS_MSC
|
||||||
select SWAP_IO_SPACE
|
select SWAP_IO_SPACE
|
||||||
@@ -1421,13 +1420,6 @@ config IP22_CPU_SCACHE
|
@@ -1421,13 +1420,6 @@
|
||||||
bool
|
bool
|
||||||
select BOARD_SCACHE
|
select BOARD_SCACHE
|
||||||
|
|
||||||
|
@ -24,11 +22,9 @@ Index: linux-2.6.25.4/arch/mips/Kconfig
|
||||||
config R5000_CPU_SCACHE
|
config R5000_CPU_SCACHE
|
||||||
bool
|
bool
|
||||||
select BOARD_SCACHE
|
select BOARD_SCACHE
|
||||||
Index: linux-2.6.25.4/arch/mips/kernel/cpu-probe.c
|
--- a/arch/mips/kernel/cpu-probe.c
|
||||||
===================================================================
|
+++ b/arch/mips/kernel/cpu-probe.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/kernel/cpu-probe.c
|
@@ -704,6 +704,8 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/kernel/cpu-probe.c
|
|
||||||
@@ -704,6 +704,8 @@ static inline void cpu_probe_mips(struct
|
|
||||||
break;
|
break;
|
||||||
case PRID_IMP_25KF:
|
case PRID_IMP_25KF:
|
||||||
c->cputype = CPU_25KF;
|
c->cputype = CPU_25KF;
|
||||||
|
@ -37,11 +33,9 @@ Index: linux-2.6.25.4/arch/mips/kernel/cpu-probe.c
|
||||||
break;
|
break;
|
||||||
case PRID_IMP_34K:
|
case PRID_IMP_34K:
|
||||||
c->cputype = CPU_34K;
|
c->cputype = CPU_34K;
|
||||||
Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
--- a/arch/mips/mm/c-r4k.c
|
||||||
===================================================================
|
+++ b/arch/mips/mm/c-r4k.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/mm/c-r4k.c
|
@@ -1103,7 +1103,6 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
|
||||||
@@ -1103,7 +1103,6 @@ static void __init loongson2_sc_init(voi
|
|
||||||
|
|
||||||
extern int r5k_sc_init(void);
|
extern int r5k_sc_init(void);
|
||||||
extern int rm7k_sc_init(void);
|
extern int rm7k_sc_init(void);
|
||||||
|
@ -49,7 +43,7 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
|
|
||||||
static void __cpuinit setup_scache(void)
|
static void __cpuinit setup_scache(void)
|
||||||
{
|
{
|
||||||
@@ -1157,29 +1156,17 @@ static void __cpuinit setup_scache(void)
|
@@ -1157,29 +1156,17 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -84,11 +78,9 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
/* compute a couple of other cache variables */
|
/* compute a couple of other cache variables */
|
||||||
c->scache.waysize = scache_size / c->scache.ways;
|
c->scache.waysize = scache_size / c->scache.ways;
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/mm/Makefile
|
--- a/arch/mips/mm/Makefile
|
||||||
===================================================================
|
+++ b/arch/mips/mm/Makefile
|
||||||
--- linux-2.6.25.4.orig/arch/mips/mm/Makefile
|
@@ -32,6 +32,5 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/mm/Makefile
|
|
||||||
@@ -32,6 +32,5 @@ obj-$(CONFIG_CPU_VR41XX) += c-r4k.o cex-
|
|
||||||
obj-$(CONFIG_IP22_CPU_SCACHE) += sc-ip22.o
|
obj-$(CONFIG_IP22_CPU_SCACHE) += sc-ip22.o
|
||||||
obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o
|
obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o
|
||||||
obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o
|
obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/arch/mips/kernel/genex.S
|
--- a/arch/mips/kernel/genex.S
|
||||||
===================================================================
|
+++ b/arch/mips/kernel/genex.S
|
||||||
--- linux-2.6.25.4.orig/arch/mips/kernel/genex.S
|
@@ -51,6 +51,10 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/kernel/genex.S
|
|
||||||
@@ -51,6 +51,10 @@ NESTED(except_vec1_generic, 0, sp)
|
|
||||||
NESTED(except_vec3_generic, 0, sp)
|
NESTED(except_vec3_generic, 0, sp)
|
||||||
.set push
|
.set push
|
||||||
.set noat
|
.set noat
|
||||||
|
@ -13,10 +11,8 @@ Index: linux-2.6.25.4/arch/mips/kernel/genex.S
|
||||||
#if R5432_CP0_INTERRUPT_WAR
|
#if R5432_CP0_INTERRUPT_WAR
|
||||||
mfc0 k0, CP0_INDEX
|
mfc0 k0, CP0_INDEX
|
||||||
#endif
|
#endif
|
||||||
Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
--- a/arch/mips/mm/c-r4k.c
|
||||||
===================================================================
|
+++ b/arch/mips/mm/c-r4k.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/mm/c-r4k.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
|
||||||
@@ -33,6 +33,9 @@
|
@@ -33,6 +33,9 @@
|
||||||
#include <asm/cacheflush.h> /* for run_uncached() */
|
#include <asm/cacheflush.h> /* for run_uncached() */
|
||||||
|
|
||||||
|
@ -27,7 +23,7 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
/*
|
/*
|
||||||
* Special Variant of smp_call_function for use by cache functions:
|
* Special Variant of smp_call_function for use by cache functions:
|
||||||
*
|
*
|
||||||
@@ -97,6 +100,9 @@ static void __cpuinit r4k_blast_dcache_p
|
@@ -97,6 +100,9 @@
|
||||||
{
|
{
|
||||||
unsigned long dc_lsize = cpu_dcache_line_size();
|
unsigned long dc_lsize = cpu_dcache_line_size();
|
||||||
|
|
||||||
|
@ -37,7 +33,7 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
if (dc_lsize == 0)
|
if (dc_lsize == 0)
|
||||||
r4k_blast_dcache_page = (void *)cache_noop;
|
r4k_blast_dcache_page = (void *)cache_noop;
|
||||||
else if (dc_lsize == 16)
|
else if (dc_lsize == 16)
|
||||||
@@ -111,6 +117,9 @@ static void __cpuinit r4k_blast_dcache_p
|
@@ -111,6 +117,9 @@
|
||||||
{
|
{
|
||||||
unsigned long dc_lsize = cpu_dcache_line_size();
|
unsigned long dc_lsize = cpu_dcache_line_size();
|
||||||
|
|
||||||
|
@ -47,7 +43,7 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
if (dc_lsize == 0)
|
if (dc_lsize == 0)
|
||||||
r4k_blast_dcache_page_indexed = (void *)cache_noop;
|
r4k_blast_dcache_page_indexed = (void *)cache_noop;
|
||||||
else if (dc_lsize == 16)
|
else if (dc_lsize == 16)
|
||||||
@@ -125,6 +134,9 @@ static void __cpuinit r4k_blast_dcache_s
|
@@ -125,6 +134,9 @@
|
||||||
{
|
{
|
||||||
unsigned long dc_lsize = cpu_dcache_line_size();
|
unsigned long dc_lsize = cpu_dcache_line_size();
|
||||||
|
|
||||||
|
@ -57,7 +53,7 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
if (dc_lsize == 0)
|
if (dc_lsize == 0)
|
||||||
r4k_blast_dcache = (void *)cache_noop;
|
r4k_blast_dcache = (void *)cache_noop;
|
||||||
else if (dc_lsize == 16)
|
else if (dc_lsize == 16)
|
||||||
@@ -630,6 +642,8 @@ static void local_r4k_flush_cache_sigtra
|
@@ -630,6 +642,8 @@
|
||||||
unsigned long addr = (unsigned long) arg;
|
unsigned long addr = (unsigned long) arg;
|
||||||
|
|
||||||
R4600_HIT_CACHEOP_WAR_IMPL;
|
R4600_HIT_CACHEOP_WAR_IMPL;
|
||||||
|
@ -66,7 +62,7 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
if (dc_lsize)
|
if (dc_lsize)
|
||||||
protected_writeback_dcache_line(addr & ~(dc_lsize - 1));
|
protected_writeback_dcache_line(addr & ~(dc_lsize - 1));
|
||||||
if (!cpu_icache_snoops_remote_store && scache_size)
|
if (!cpu_icache_snoops_remote_store && scache_size)
|
||||||
@@ -1215,6 +1229,17 @@ static void __cpuinit coherency_setup(vo
|
@@ -1215,6 +1229,17 @@
|
||||||
* silly idea of putting something else there ...
|
* silly idea of putting something else there ...
|
||||||
*/
|
*/
|
||||||
switch (current_cpu_type()) {
|
switch (current_cpu_type()) {
|
||||||
|
@ -84,7 +80,7 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
case CPU_R4000PC:
|
case CPU_R4000PC:
|
||||||
case CPU_R4000SC:
|
case CPU_R4000SC:
|
||||||
case CPU_R4000MC:
|
case CPU_R4000MC:
|
||||||
@@ -1254,6 +1279,15 @@ void __cpuinit r4k_cache_init(void)
|
@@ -1254,6 +1279,15 @@
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,7 +96,7 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
probe_pcache();
|
probe_pcache();
|
||||||
setup_scache();
|
setup_scache();
|
||||||
|
|
||||||
@@ -1303,5 +1337,13 @@ void __cpuinit r4k_cache_init(void)
|
@@ -1303,5 +1337,13 @@
|
||||||
build_clear_page();
|
build_clear_page();
|
||||||
build_copy_page();
|
build_copy_page();
|
||||||
local_r4k___flush_cache_all(NULL);
|
local_r4k___flush_cache_all(NULL);
|
||||||
|
@ -114,11 +110,9 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
coherency_setup();
|
coherency_setup();
|
||||||
+#endif
|
+#endif
|
||||||
}
|
}
|
||||||
Index: linux-2.6.25.4/arch/mips/mm/tlbex.c
|
--- a/arch/mips/mm/tlbex.c
|
||||||
===================================================================
|
+++ b/arch/mips/mm/tlbex.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/mm/tlbex.c
|
@@ -677,6 +677,9 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/mm/tlbex.c
|
|
||||||
@@ -677,6 +677,9 @@ static void __cpuinit build_r4000_tlb_re
|
|
||||||
/* No need for uasm_i_nop */
|
/* No need for uasm_i_nop */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,7 +122,7 @@ Index: linux-2.6.25.4/arch/mips/mm/tlbex.c
|
||||||
#ifdef CONFIG_64BIT
|
#ifdef CONFIG_64BIT
|
||||||
build_get_pmde64(&p, &l, &r, K0, K1); /* get pmd in K1 */
|
build_get_pmde64(&p, &l, &r, K0, K1); /* get pmd in K1 */
|
||||||
#else
|
#else
|
||||||
@@ -1084,6 +1087,9 @@ build_r4000_tlbchange_handler_head(u32 *
|
@@ -1084,6 +1087,9 @@
|
||||||
struct uasm_reloc **r, unsigned int pte,
|
struct uasm_reloc **r, unsigned int pte,
|
||||||
unsigned int ptr)
|
unsigned int ptr)
|
||||||
{
|
{
|
||||||
|
@ -138,10 +132,8 @@ Index: linux-2.6.25.4/arch/mips/mm/tlbex.c
|
||||||
#ifdef CONFIG_64BIT
|
#ifdef CONFIG_64BIT
|
||||||
build_get_pmde64(p, l, r, pte, ptr); /* get pmd in ptr */
|
build_get_pmde64(p, l, r, pte, ptr); /* get pmd in ptr */
|
||||||
#else
|
#else
|
||||||
Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
--- a/include/asm-mips/r4kcache.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/r4kcache.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/r4kcache.h
|
|
||||||
+++ linux-2.6.25.4/include/asm-mips/r4kcache.h
|
|
||||||
@@ -17,6 +17,20 @@
|
@@ -17,6 +17,20 @@
|
||||||
#include <asm/cpu-features.h>
|
#include <asm/cpu-features.h>
|
||||||
#include <asm/mipsmtregs.h>
|
#include <asm/mipsmtregs.h>
|
||||||
|
@ -163,7 +155,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
/*
|
/*
|
||||||
* This macro return a properly sign-extended address suitable as base address
|
* This macro return a properly sign-extended address suitable as base address
|
||||||
* for indexed cache operations. Two issues here:
|
* for indexed cache operations. Two issues here:
|
||||||
@@ -150,6 +164,7 @@ static inline void flush_icache_line_ind
|
@@ -150,6 +164,7 @@
|
||||||
static inline void flush_dcache_line_indexed(unsigned long addr)
|
static inline void flush_dcache_line_indexed(unsigned long addr)
|
||||||
{
|
{
|
||||||
__dflush_prologue
|
__dflush_prologue
|
||||||
|
@ -171,7 +163,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
cache_op(Index_Writeback_Inv_D, addr);
|
cache_op(Index_Writeback_Inv_D, addr);
|
||||||
__dflush_epilogue
|
__dflush_epilogue
|
||||||
}
|
}
|
||||||
@@ -169,6 +184,7 @@ static inline void flush_icache_line(uns
|
@@ -169,6 +184,7 @@
|
||||||
static inline void flush_dcache_line(unsigned long addr)
|
static inline void flush_dcache_line(unsigned long addr)
|
||||||
{
|
{
|
||||||
__dflush_prologue
|
__dflush_prologue
|
||||||
|
@ -179,7 +171,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
cache_op(Hit_Writeback_Inv_D, addr);
|
cache_op(Hit_Writeback_Inv_D, addr);
|
||||||
__dflush_epilogue
|
__dflush_epilogue
|
||||||
}
|
}
|
||||||
@@ -176,6 +192,7 @@ static inline void flush_dcache_line(uns
|
@@ -176,6 +192,7 @@
|
||||||
static inline void invalidate_dcache_line(unsigned long addr)
|
static inline void invalidate_dcache_line(unsigned long addr)
|
||||||
{
|
{
|
||||||
__dflush_prologue
|
__dflush_prologue
|
||||||
|
@ -187,7 +179,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
cache_op(Hit_Invalidate_D, addr);
|
cache_op(Hit_Invalidate_D, addr);
|
||||||
__dflush_epilogue
|
__dflush_epilogue
|
||||||
}
|
}
|
||||||
@@ -208,6 +225,7 @@ static inline void flush_scache_line(uns
|
@@ -208,6 +225,7 @@
|
||||||
*/
|
*/
|
||||||
static inline void protected_flush_icache_line(unsigned long addr)
|
static inline void protected_flush_icache_line(unsigned long addr)
|
||||||
{
|
{
|
||||||
|
@ -195,7 +187,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
protected_cache_op(Hit_Invalidate_I, addr);
|
protected_cache_op(Hit_Invalidate_I, addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -219,6 +237,7 @@ static inline void protected_flush_icach
|
@@ -219,6 +237,7 @@
|
||||||
*/
|
*/
|
||||||
static inline void protected_writeback_dcache_line(unsigned long addr)
|
static inline void protected_writeback_dcache_line(unsigned long addr)
|
||||||
{
|
{
|
||||||
|
@ -203,7 +195,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
protected_cache_op(Hit_Writeback_Inv_D, addr);
|
protected_cache_op(Hit_Writeback_Inv_D, addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -339,8 +358,52 @@ static inline void invalidate_tcache_pag
|
@@ -339,8 +358,52 @@
|
||||||
: "r" (base), \
|
: "r" (base), \
|
||||||
"i" (op));
|
"i" (op));
|
||||||
|
|
||||||
|
@ -257,7 +249,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
static inline void blast_##pfx##cache##lsize(void) \
|
static inline void blast_##pfx##cache##lsize(void) \
|
||||||
{ \
|
{ \
|
||||||
unsigned long start = INDEX_BASE; \
|
unsigned long start = INDEX_BASE; \
|
||||||
@@ -352,6 +415,7 @@ static inline void blast_##pfx##cache##l
|
@@ -352,6 +415,7 @@
|
||||||
\
|
\
|
||||||
__##pfx##flush_prologue \
|
__##pfx##flush_prologue \
|
||||||
\
|
\
|
||||||
|
@ -265,7 +257,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
for (ws = 0; ws < ws_end; ws += ws_inc) \
|
for (ws = 0; ws < ws_end; ws += ws_inc) \
|
||||||
for (addr = start; addr < end; addr += lsize * 32) \
|
for (addr = start; addr < end; addr += lsize * 32) \
|
||||||
cache##lsize##_unroll32(addr|ws, indexop); \
|
cache##lsize##_unroll32(addr|ws, indexop); \
|
||||||
@@ -366,6 +430,7 @@ static inline void blast_##pfx##cache##l
|
@@ -366,6 +430,7 @@
|
||||||
\
|
\
|
||||||
__##pfx##flush_prologue \
|
__##pfx##flush_prologue \
|
||||||
\
|
\
|
||||||
|
@ -273,7 +265,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
do { \
|
do { \
|
||||||
cache##lsize##_unroll32(start, hitop); \
|
cache##lsize##_unroll32(start, hitop); \
|
||||||
start += lsize * 32; \
|
start += lsize * 32; \
|
||||||
@@ -384,6 +449,8 @@ static inline void blast_##pfx##cache##l
|
@@ -384,6 +449,8 @@
|
||||||
current_cpu_data.desc.waybit; \
|
current_cpu_data.desc.waybit; \
|
||||||
unsigned long ws, addr; \
|
unsigned long ws, addr; \
|
||||||
\
|
\
|
||||||
|
@ -282,7 +274,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
__##pfx##flush_prologue \
|
__##pfx##flush_prologue \
|
||||||
\
|
\
|
||||||
for (ws = 0; ws < ws_end; ws += ws_inc) \
|
for (ws = 0; ws < ws_end; ws += ws_inc) \
|
||||||
@@ -393,35 +460,37 @@ static inline void blast_##pfx##cache##l
|
@@ -393,35 +460,37 @@
|
||||||
__##pfx##flush_epilogue \
|
__##pfx##flush_epilogue \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -337,7 +329,7 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
prot##cache_op(hitop, addr); \
|
prot##cache_op(hitop, addr); \
|
||||||
if (addr == aend) \
|
if (addr == aend) \
|
||||||
break; \
|
break; \
|
||||||
@@ -431,13 +500,13 @@ static inline void prot##blast_##pfx##ca
|
@@ -431,13 +500,13 @@
|
||||||
__##pfx##flush_epilogue \
|
__##pfx##flush_epilogue \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -358,10 +350,8 @@ Index: linux-2.6.25.4/include/asm-mips/r4kcache.h
|
||||||
+__BUILD_BLAST_CACHE_RANGE(inv_s, scache, Hit_Invalidate_SD,,, )
|
+__BUILD_BLAST_CACHE_RANGE(inv_s, scache, Hit_Invalidate_SD,,, )
|
||||||
|
|
||||||
#endif /* _ASM_R4KCACHE_H */
|
#endif /* _ASM_R4KCACHE_H */
|
||||||
Index: linux-2.6.25.4/include/asm-mips/stackframe.h
|
--- a/include/asm-mips/stackframe.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/stackframe.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/stackframe.h
|
|
||||||
+++ linux-2.6.25.4/include/asm-mips/stackframe.h
|
|
||||||
@@ -359,6 +359,10 @@
|
@@ -359,6 +359,10 @@
|
||||||
.macro RESTORE_SP_AND_RET
|
.macro RESTORE_SP_AND_RET
|
||||||
LONG_L sp, PT_R29(sp)
|
LONG_L sp, PT_R29(sp)
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/arch/mips/mm/init.c
|
--- a/arch/mips/mm/init.c
|
||||||
===================================================================
|
+++ b/arch/mips/mm/init.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/mm/init.c
|
@@ -211,7 +211,7 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/mm/init.c
|
|
||||||
@@ -211,7 +211,7 @@ void copy_user_highpage(struct page *to,
|
|
||||||
void *vfrom, *vto;
|
void *vfrom, *vto;
|
||||||
|
|
||||||
vto = kmap_atomic(to, KM_USER1);
|
vto = kmap_atomic(to, KM_USER1);
|
||||||
|
@ -11,7 +9,7 @@ Index: linux-2.6.25.4/arch/mips/mm/init.c
|
||||||
page_mapped(from) && !Page_dcache_dirty(from)) {
|
page_mapped(from) && !Page_dcache_dirty(from)) {
|
||||||
vfrom = kmap_coherent(from, vaddr);
|
vfrom = kmap_coherent(from, vaddr);
|
||||||
copy_page(vto, vfrom);
|
copy_page(vto, vfrom);
|
||||||
@@ -235,7 +235,7 @@ void copy_to_user_page(struct vm_area_st
|
@@ -235,7 +235,7 @@
|
||||||
struct page *page, unsigned long vaddr, void *dst, const void *src,
|
struct page *page, unsigned long vaddr, void *dst, const void *src,
|
||||||
unsigned long len)
|
unsigned long len)
|
||||||
{
|
{
|
||||||
|
@ -20,7 +18,7 @@ Index: linux-2.6.25.4/arch/mips/mm/init.c
|
||||||
page_mapped(page) && !Page_dcache_dirty(page)) {
|
page_mapped(page) && !Page_dcache_dirty(page)) {
|
||||||
void *vto = kmap_coherent(page, vaddr) + (vaddr & ~PAGE_MASK);
|
void *vto = kmap_coherent(page, vaddr) + (vaddr & ~PAGE_MASK);
|
||||||
memcpy(vto, src, len);
|
memcpy(vto, src, len);
|
||||||
@@ -255,7 +255,7 @@ void copy_from_user_page(struct vm_area_
|
@@ -255,7 +255,7 @@
|
||||||
struct page *page, unsigned long vaddr, void *dst, const void *src,
|
struct page *page, unsigned long vaddr, void *dst, const void *src,
|
||||||
unsigned long len)
|
unsigned long len)
|
||||||
{
|
{
|
||||||
|
@ -29,10 +27,8 @@ Index: linux-2.6.25.4/arch/mips/mm/init.c
|
||||||
page_mapped(page) && !Page_dcache_dirty(page)) {
|
page_mapped(page) && !Page_dcache_dirty(page)) {
|
||||||
void *vfrom = kmap_coherent(page, vaddr) + (vaddr & ~PAGE_MASK);
|
void *vfrom = kmap_coherent(page, vaddr) + (vaddr & ~PAGE_MASK);
|
||||||
memcpy(dst, vfrom, len);
|
memcpy(dst, vfrom, len);
|
||||||
Index: linux-2.6.25.4/include/asm-mips/mach-bcm47xx/cpu-feature-overrides.h
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.25.4/include/asm-mips/mach-bcm47xx/cpu-feature-overrides.h
|
+++ b/include/asm-mips/mach-bcm47xx/cpu-feature-overrides.h
|
||||||
@@ -0,0 +1,13 @@
|
@@ -0,0 +1,13 @@
|
||||||
+/*
|
+/*
|
||||||
+ * This file is subject to the terms and conditions of the GNU General Public
|
+ * This file is subject to the terms and conditions of the GNU General Public
|
||||||
|
@ -47,10 +43,8 @@ Index: linux-2.6.25.4/include/asm-mips/mach-bcm47xx/cpu-feature-overrides.h
|
||||||
+#define cpu_use_kmap_coherent 0
|
+#define cpu_use_kmap_coherent 0
|
||||||
+
|
+
|
||||||
+#endif /* __ASM_MACH_BCM47XX_CPU_FEATURE_OVERRIDES_H */
|
+#endif /* __ASM_MACH_BCM47XX_CPU_FEATURE_OVERRIDES_H */
|
||||||
Index: linux-2.6.25.4/include/asm-mips/cpu-features.h
|
--- a/include/asm-mips/cpu-features.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/cpu-features.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/cpu-features.h
|
|
||||||
+++ linux-2.6.25.4/include/asm-mips/cpu-features.h
|
|
||||||
@@ -101,6 +101,9 @@
|
@@ -101,6 +101,9 @@
|
||||||
#ifndef cpu_has_pindexed_dcache
|
#ifndef cpu_has_pindexed_dcache
|
||||||
#define cpu_has_pindexed_dcache (cpu_data[0].dcache.flags & MIPS_CACHE_PINDEX)
|
#define cpu_has_pindexed_dcache (cpu_data[0].dcache.flags & MIPS_CACHE_PINDEX)
|
||||||
|
@ -61,11 +55,9 @@ Index: linux-2.6.25.4/include/asm-mips/cpu-features.h
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* I-Cache snoops remote store. This only matters on SMP. Some multiprocessors
|
* I-Cache snoops remote store. This only matters on SMP. Some multiprocessors
|
||||||
Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
--- a/arch/mips/mm/c-r4k.c
|
||||||
===================================================================
|
+++ b/arch/mips/mm/c-r4k.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/mm/c-r4k.c
|
@@ -484,7 +484,7 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
|
||||||
@@ -484,7 +484,7 @@ static inline void local_r4k_flush_cache
|
|
||||||
* Use kmap_coherent or kmap_atomic to do flushes for
|
* Use kmap_coherent or kmap_atomic to do flushes for
|
||||||
* another ASID than the current one.
|
* another ASID than the current one.
|
||||||
*/
|
*/
|
||||||
|
@ -74,7 +66,7 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
vaddr = kmap_coherent(page, addr);
|
vaddr = kmap_coherent(page, addr);
|
||||||
else
|
else
|
||||||
vaddr = kmap_atomic(page, KM_USER0);
|
vaddr = kmap_atomic(page, KM_USER0);
|
||||||
@@ -505,7 +505,7 @@ static inline void local_r4k_flush_cache
|
@@ -505,7 +505,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vaddr) {
|
if (vaddr) {
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/ssb/driver_chipcommon.c
|
--- a/drivers/ssb/driver_chipcommon.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/driver_chipcommon.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/driver_chipcommon.c
|
@@ -270,6 +270,8 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/driver_chipcommon.c
|
|
||||||
@@ -270,6 +270,8 @@ void ssb_chipco_resume(struct ssb_chipco
|
|
||||||
void ssb_chipco_get_clockcpu(struct ssb_chipcommon *cc,
|
void ssb_chipco_get_clockcpu(struct ssb_chipcommon *cc,
|
||||||
u32 *plltype, u32 *n, u32 *m)
|
u32 *plltype, u32 *n, u32 *m)
|
||||||
{
|
{
|
||||||
|
@ -11,7 +9,7 @@ Index: linux-2.6.25.4/drivers/ssb/driver_chipcommon.c
|
||||||
*n = chipco_read32(cc, SSB_CHIPCO_CLOCK_N);
|
*n = chipco_read32(cc, SSB_CHIPCO_CLOCK_N);
|
||||||
*plltype = (cc->capabilities & SSB_CHIPCO_CAP_PLLT);
|
*plltype = (cc->capabilities & SSB_CHIPCO_CAP_PLLT);
|
||||||
switch (*plltype) {
|
switch (*plltype) {
|
||||||
@@ -293,6 +295,8 @@ void ssb_chipco_get_clockcpu(struct ssb_
|
@@ -293,6 +295,8 @@
|
||||||
void ssb_chipco_get_clockcontrol(struct ssb_chipcommon *cc,
|
void ssb_chipco_get_clockcontrol(struct ssb_chipcommon *cc,
|
||||||
u32 *plltype, u32 *n, u32 *m)
|
u32 *plltype, u32 *n, u32 *m)
|
||||||
{
|
{
|
||||||
|
@ -20,11 +18,9 @@ Index: linux-2.6.25.4/drivers/ssb/driver_chipcommon.c
|
||||||
*n = chipco_read32(cc, SSB_CHIPCO_CLOCK_N);
|
*n = chipco_read32(cc, SSB_CHIPCO_CLOCK_N);
|
||||||
*plltype = (cc->capabilities & SSB_CHIPCO_CAP_PLLT);
|
*plltype = (cc->capabilities & SSB_CHIPCO_CAP_PLLT);
|
||||||
switch (*plltype) {
|
switch (*plltype) {
|
||||||
Index: linux-2.6.25.4/drivers/ssb/driver_mipscore.c
|
--- a/drivers/ssb/driver_mipscore.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/driver_mipscore.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/driver_mipscore.c
|
@@ -161,6 +161,8 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/driver_mipscore.c
|
|
||||||
@@ -161,6 +161,8 @@ u32 ssb_cpu_clock(struct ssb_mipscore *m
|
|
||||||
|
|
||||||
if ((pll_type == SSB_PLLTYPE_5) || (bus->chip_id == 0x5365)) {
|
if ((pll_type == SSB_PLLTYPE_5) || (bus->chip_id == 0x5365)) {
|
||||||
rate = 200000000;
|
rate = 200000000;
|
||||||
|
@ -33,11 +29,9 @@ Index: linux-2.6.25.4/drivers/ssb/driver_mipscore.c
|
||||||
} else {
|
} else {
|
||||||
rate = ssb_calc_clock_rate(pll_type, n, m);
|
rate = ssb_calc_clock_rate(pll_type, n, m);
|
||||||
}
|
}
|
||||||
Index: linux-2.6.25.4/drivers/ssb/main.c
|
--- a/drivers/ssb/main.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/main.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/main.c
|
@@ -867,6 +867,8 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/main.c
|
|
||||||
@@ -867,6 +867,8 @@ u32 ssb_clockspeed(struct ssb_bus *bus)
|
|
||||||
|
|
||||||
if (bus->chip_id == 0x5365) {
|
if (bus->chip_id == 0x5365) {
|
||||||
rate = 100000000;
|
rate = 100000000;
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/usb/host/ohci-ssb.c
|
--- a/drivers/usb/host/ohci-ssb.c
|
||||||
===================================================================
|
+++ b/drivers/usb/host/ohci-ssb.c
|
||||||
--- linux-2.6.25.4.orig/drivers/usb/host/ohci-ssb.c
|
@@ -142,10 +142,59 @@
|
||||||
+++ linux-2.6.25.4/drivers/usb/host/ohci-ssb.c
|
|
||||||
@@ -142,10 +142,59 @@ static int ssb_ohci_attach(struct ssb_de
|
|
||||||
int err = -ENOMEM;
|
int err = -ENOMEM;
|
||||||
u32 tmp, flags = 0;
|
u32 tmp, flags = 0;
|
||||||
|
|
||||||
|
@ -64,7 +62,7 @@ Index: linux-2.6.25.4/drivers/usb/host/ohci-ssb.c
|
||||||
|
|
||||||
hcd = usb_create_hcd(&ssb_ohci_hc_driver, dev->dev,
|
hcd = usb_create_hcd(&ssb_ohci_hc_driver, dev->dev,
|
||||||
dev->dev->bus_id);
|
dev->dev->bus_id);
|
||||||
@@ -236,6 +285,7 @@ static int ssb_ohci_resume(struct ssb_de
|
@@ -236,6 +285,7 @@
|
||||||
static const struct ssb_device_id ssb_ohci_table[] = {
|
static const struct ssb_device_id ssb_ohci_table[] = {
|
||||||
SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_USB11_HOSTDEV, SSB_ANY_REV),
|
SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_USB11_HOSTDEV, SSB_ANY_REV),
|
||||||
SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_USB11_HOST, SSB_ANY_REV),
|
SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_USB11_HOST, SSB_ANY_REV),
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/usb/host/ohci-ssb.c
|
--- a/drivers/usb/host/ohci-ssb.c
|
||||||
===================================================================
|
+++ b/drivers/usb/host/ohci-ssb.c
|
||||||
--- linux-2.6.25.4.orig/drivers/usb/host/ohci-ssb.c
|
@@ -195,6 +195,11 @@
|
||||||
+++ linux-2.6.25.4/drivers/usb/host/ohci-ssb.c
|
|
||||||
@@ -195,6 +195,11 @@ static int ssb_ohci_attach(struct ssb_de
|
|
||||||
else
|
else
|
||||||
ssb_device_enable(dev, 0);
|
ssb_device_enable(dev, 0);
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: linux-2.6.25.4/include/asm-mips/cacheflush.h
|
--- a/include/asm-mips/cacheflush.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/cacheflush.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/cacheflush.h
|
|
||||||
+++ linux-2.6.25.4/include/asm-mips/cacheflush.h
|
|
||||||
@@ -32,7 +32,7 @@
|
@@ -32,7 +32,7 @@
|
||||||
extern void (*flush_cache_all)(void);
|
extern void (*flush_cache_all)(void);
|
||||||
extern void (*__flush_cache_all)(void);
|
extern void (*__flush_cache_all)(void);
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/arch/mips/mm/init.c
|
--- a/arch/mips/mm/init.c
|
||||||
===================================================================
|
+++ b/arch/mips/mm/init.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/mm/init.c
|
@@ -205,32 +205,6 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/mm/init.c
|
|
||||||
@@ -205,32 +205,6 @@ void kunmap_coherent(void)
|
|
||||||
preempt_check_resched();
|
preempt_check_resched();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,10 +33,8 @@ Index: linux-2.6.25.4/arch/mips/mm/init.c
|
||||||
void copy_to_user_page(struct vm_area_struct *vma,
|
void copy_to_user_page(struct vm_area_struct *vma,
|
||||||
struct page *page, unsigned long vaddr, void *dst, const void *src,
|
struct page *page, unsigned long vaddr, void *dst, const void *src,
|
||||||
unsigned long len)
|
unsigned long len)
|
||||||
Index: linux-2.6.25.4/include/asm-mips/page.h
|
--- a/include/asm-mips/page.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/page.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/page.h
|
|
||||||
+++ linux-2.6.25.4/include/asm-mips/page.h
|
|
||||||
@@ -32,6 +32,7 @@
|
@@ -32,6 +32,7 @@
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
|
@ -47,7 +43,7 @@ Index: linux-2.6.25.4/include/asm-mips/page.h
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -64,13 +65,16 @@ static inline void clear_user_page(void
|
@@ -64,13 +65,16 @@
|
||||||
flush_data_cache_page((unsigned long)addr);
|
flush_data_cache_page((unsigned long)addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm47xx/irq.c
|
--- a/arch/mips/bcm47xx/irq.c
|
||||||
===================================================================
|
+++ b/arch/mips/bcm47xx/irq.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm47xx/irq.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm47xx/irq.c
|
|
||||||
@@ -1,5 +1,6 @@
|
@@ -1,5 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org>
|
* Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org>
|
||||||
|
@ -29,7 +27,7 @@ Index: linux-2.6.25.4/arch/mips/bcm47xx/irq.c
|
||||||
void plat_irq_dispatch(void)
|
void plat_irq_dispatch(void)
|
||||||
{
|
{
|
||||||
u32 cause;
|
u32 cause;
|
||||||
@@ -53,3 +63,19 @@ void __init arch_init_irq(void)
|
@@ -53,3 +63,19 @@
|
||||||
{
|
{
|
||||||
mips_cpu_irq_init();
|
mips_cpu_irq_init();
|
||||||
}
|
}
|
||||||
|
@ -49,10 +47,8 @@ Index: linux-2.6.25.4/arch/mips/bcm47xx/irq.c
|
||||||
+
|
+
|
||||||
+ return res;
|
+ return res;
|
||||||
+}
|
+}
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm47xx/setup.c
|
--- a/arch/mips/bcm47xx/setup.c
|
||||||
===================================================================
|
+++ b/arch/mips/bcm47xx/setup.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm47xx/setup.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm47xx/setup.c
|
|
||||||
@@ -2,7 +2,7 @@
|
@@ -2,7 +2,7 @@
|
||||||
* Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org>
|
* Copyright (C) 2004 Florian Schirmer <jolt@tuxbox.org>
|
||||||
* Copyright (C) 2005 Waldemar Brodkorb <wbx@openwrt.org>
|
* Copyright (C) 2005 Waldemar Brodkorb <wbx@openwrt.org>
|
||||||
|
@ -119,7 +115,7 @@ Index: linux-2.6.25.4/arch/mips/bcm47xx/setup.c
|
||||||
while (1)
|
while (1)
|
||||||
cpu_relax();
|
cpu_relax();
|
||||||
}
|
}
|
||||||
@@ -50,12 +79,13 @@ static void bcm47xx_machine_halt(void)
|
@@ -50,12 +79,13 @@
|
||||||
{
|
{
|
||||||
/* Disable interrupts and watchdog and spin forever */
|
/* Disable interrupts and watchdog and spin forever */
|
||||||
local_irq_disable();
|
local_irq_disable();
|
||||||
|
@ -135,7 +131,7 @@ Index: linux-2.6.25.4/arch/mips/bcm47xx/setup.c
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
@@ -72,52 +102,141 @@ static void str2eaddr(char *str, char *d
|
@@ -72,52 +102,141 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -310,10 +306,8 @@ Index: linux-2.6.25.4/arch/mips/bcm47xx/setup.c
|
||||||
+ return 0;
|
+ return 0;
|
||||||
+}
|
+}
|
||||||
+device_initcall(bcm47xx_register_gpiodev);
|
+device_initcall(bcm47xx_register_gpiodev);
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm47xx/time.c
|
--- a/arch/mips/bcm47xx/time.c
|
||||||
===================================================================
|
+++ b/arch/mips/bcm47xx/time.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm47xx/time.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm47xx/time.c
|
|
||||||
@@ -22,11 +22,17 @@
|
@@ -22,11 +22,17 @@
|
||||||
* 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
@ -334,10 +328,8 @@ Index: linux-2.6.25.4/arch/mips/bcm47xx/time.c
|
||||||
|
|
||||||
void __init plat_time_init(void)
|
void __init plat_time_init(void)
|
||||||
{
|
{
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm47xx/nvram.c
|
--- a/arch/mips/bcm47xx/nvram.c
|
||||||
===================================================================
|
+++ b/arch/mips/bcm47xx/nvram.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm47xx/nvram.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm47xx/nvram.c
|
|
||||||
@@ -24,10 +24,10 @@
|
@@ -24,10 +24,10 @@
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/uaccess.h>
|
#include <asm/uaccess.h>
|
||||||
|
@ -351,7 +343,7 @@ Index: linux-2.6.25.4/arch/mips/bcm47xx/nvram.c
|
||||||
|
|
||||||
static char nvram_buf[NVRAM_SPACE];
|
static char nvram_buf[NVRAM_SPACE];
|
||||||
static int cfe_env;
|
static int cfe_env;
|
||||||
@@ -36,7 +36,7 @@ extern char *cfe_env_get(char *nv_buf, c
|
@@ -36,7 +36,7 @@
|
||||||
/* Probe for NVRAM header */
|
/* Probe for NVRAM header */
|
||||||
static void __init early_nvram_init(void)
|
static void __init early_nvram_init(void)
|
||||||
{
|
{
|
||||||
|
@ -360,21 +352,17 @@ Index: linux-2.6.25.4/arch/mips/bcm47xx/nvram.c
|
||||||
struct nvram_header *header;
|
struct nvram_header *header;
|
||||||
int i;
|
int i;
|
||||||
u32 base, lim, off;
|
u32 base, lim, off;
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm47xx/Makefile
|
--- a/arch/mips/bcm47xx/Makefile
|
||||||
===================================================================
|
+++ b/arch/mips/bcm47xx/Makefile
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm47xx/Makefile
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm47xx/Makefile
|
|
||||||
@@ -3,4 +3,4 @@
|
@@ -3,4 +3,4 @@
|
||||||
# under Linux.
|
# under Linux.
|
||||||
#
|
#
|
||||||
|
|
||||||
-obj-y := gpio.o irq.o prom.o serial.o setup.o time.o wgt634u.o
|
-obj-y := gpio.o irq.o prom.o serial.o setup.o time.o wgt634u.o
|
||||||
+obj-y := cfe_env.o gpio.o irq.o nvram.o prom.o serial.o setup.o time.o wgt634u.o
|
+obj-y := cfe_env.o gpio.o irq.o nvram.o prom.o serial.o setup.o time.o wgt634u.o
|
||||||
Index: linux-2.6.25.4/arch/mips/Kconfig
|
--- a/arch/mips/Kconfig
|
||||||
===================================================================
|
+++ b/arch/mips/Kconfig
|
||||||
--- linux-2.6.25.4.orig/arch/mips/Kconfig
|
@@ -54,6 +54,7 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/Kconfig
|
|
||||||
@@ -54,6 +54,7 @@ config BCM47XX
|
|
||||||
select SSB_DRIVER_MIPS
|
select SSB_DRIVER_MIPS
|
||||||
select SSB_DRIVER_EXTIF
|
select SSB_DRIVER_EXTIF
|
||||||
select SSB_DRIVER_PCICORE
|
select SSB_DRIVER_PCICORE
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/scripts/gen_initramfs_list.sh
|
--- a/scripts/gen_initramfs_list.sh
|
||||||
===================================================================
|
+++ b/scripts/gen_initramfs_list.sh
|
||||||
--- linux-2.6.25.4.orig/scripts/gen_initramfs_list.sh
|
@@ -287,7 +287,7 @@
|
||||||
+++ linux-2.6.25.4/scripts/gen_initramfs_list.sh
|
|
||||||
@@ -287,7 +287,7 @@ if [ ! -z ${output_file} ]; then
|
|
||||||
if [ "${is_cpio_compressed}" = "compressed" ]; then
|
if [ "${is_cpio_compressed}" = "compressed" ]; then
|
||||||
cat ${cpio_tfile} > ${output_file}
|
cat ${cpio_tfile} > ${output_file}
|
||||||
else
|
else
|
||||||
|
@ -11,11 +9,9 @@ Index: linux-2.6.25.4/scripts/gen_initramfs_list.sh
|
||||||
fi
|
fi
|
||||||
[ -z ${cpio_file} ] && rm ${cpio_tfile}
|
[ -z ${cpio_file} ] && rm ${cpio_tfile}
|
||||||
fi
|
fi
|
||||||
Index: linux-2.6.25.4/init/initramfs.c
|
--- a/init/initramfs.c
|
||||||
===================================================================
|
+++ b/init/initramfs.c
|
||||||
--- linux-2.6.25.4.orig/init/initramfs.c
|
@@ -441,6 +441,69 @@
|
||||||
+++ linux-2.6.25.4/init/initramfs.c
|
|
||||||
@@ -441,6 +441,69 @@ static void __init flush_window(void)
|
|
||||||
outcnt = 0;
|
outcnt = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,7 +81,7 @@ Index: linux-2.6.25.4/init/initramfs.c
|
||||||
static char * __init unpack_to_rootfs(char *buf, unsigned len, int check_only)
|
static char * __init unpack_to_rootfs(char *buf, unsigned len, int check_only)
|
||||||
{
|
{
|
||||||
int written;
|
int written;
|
||||||
@@ -475,12 +538,28 @@ static char * __init unpack_to_rootfs(ch
|
@@ -475,12 +538,28 @@
|
||||||
inptr = 0;
|
inptr = 0;
|
||||||
outcnt = 0; /* bytes in output buffer */
|
outcnt = 0; /* bytes in output buffer */
|
||||||
bytes_out = 0;
|
bytes_out = 0;
|
||||||
|
|
|
@ -2,11 +2,9 @@ The SSB pcicore driver does create some MMIO resource collisions.
|
||||||
However, the pcicore PCI-fixup routine fixes these collisions afterwards.
|
However, the pcicore PCI-fixup routine fixes these collisions afterwards.
|
||||||
Remove this sanity check for now until we find a better solution.
|
Remove this sanity check for now until we find a better solution.
|
||||||
--mb
|
--mb
|
||||||
Index: linux-2.6.25.4/arch/mips/pci/pci.c
|
--- a/arch/mips/pci/pci.c
|
||||||
===================================================================
|
+++ b/arch/mips/pci/pci.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/pci/pci.c
|
@@ -182,12 +182,10 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/pci/pci.c
|
|
||||||
@@ -182,12 +182,10 @@ static int pcibios_enable_resources(stru
|
|
||||||
if ((idx == PCI_ROM_RESOURCE) &&
|
if ((idx == PCI_ROM_RESOURCE) &&
|
||||||
(!(r->flags & IORESOURCE_ROM_ENABLE)))
|
(!(r->flags & IORESOURCE_ROM_ENABLE)))
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/ssb/main.c
|
--- a/drivers/ssb/main.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/main.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/main.c
|
@@ -1173,7 +1173,9 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/main.c
|
|
||||||
@@ -1173,7 +1173,9 @@ static int __init ssb_modinit(void)
|
|
||||||
/* ssb must be initialized after PCI but before the ssb drivers.
|
/* ssb must be initialized after PCI but before the ssb drivers.
|
||||||
* That means we must use some initcall between subsys_initcall
|
* That means we must use some initcall between subsys_initcall
|
||||||
* and device_initcall. */
|
* and device_initcall. */
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
Add support for 8bit reads/writes to SSB.
|
Add support for 8bit reads/writes to SSB.
|
||||||
Index: linux-2.6.25.4/drivers/ssb/main.c
|
--- a/drivers/ssb/main.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/main.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/main.c
|
@@ -508,6 +508,14 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/main.c
|
|
||||||
@@ -508,6 +508,14 @@ error:
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +16,7 @@ Index: linux-2.6.25.4/drivers/ssb/main.c
|
||||||
static u16 ssb_ssb_read16(struct ssb_device *dev, u16 offset)
|
static u16 ssb_ssb_read16(struct ssb_device *dev, u16 offset)
|
||||||
{
|
{
|
||||||
struct ssb_bus *bus = dev->bus;
|
struct ssb_bus *bus = dev->bus;
|
||||||
@@ -524,6 +532,14 @@ static u32 ssb_ssb_read32(struct ssb_dev
|
@@ -524,6 +532,14 @@
|
||||||
return readl(bus->mmio + offset);
|
return readl(bus->mmio + offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +31,7 @@ Index: linux-2.6.25.4/drivers/ssb/main.c
|
||||||
static void ssb_ssb_write16(struct ssb_device *dev, u16 offset, u16 value)
|
static void ssb_ssb_write16(struct ssb_device *dev, u16 offset, u16 value)
|
||||||
{
|
{
|
||||||
struct ssb_bus *bus = dev->bus;
|
struct ssb_bus *bus = dev->bus;
|
||||||
@@ -542,8 +558,10 @@ static void ssb_ssb_write32(struct ssb_d
|
@@ -542,8 +558,10 @@
|
||||||
|
|
||||||
/* Ops for the plain SSB bus without a host-device (no PCI or PCMCIA). */
|
/* Ops for the plain SSB bus without a host-device (no PCI or PCMCIA). */
|
||||||
static const struct ssb_bus_ops ssb_ssb_ops = {
|
static const struct ssb_bus_ops ssb_ssb_ops = {
|
||||||
|
@ -44,11 +42,9 @@ Index: linux-2.6.25.4/drivers/ssb/main.c
|
||||||
.write16 = ssb_ssb_write16,
|
.write16 = ssb_ssb_write16,
|
||||||
.write32 = ssb_ssb_write32,
|
.write32 = ssb_ssb_write32,
|
||||||
};
|
};
|
||||||
Index: linux-2.6.25.4/drivers/ssb/pci.c
|
--- a/drivers/ssb/pci.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/pci.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/pci.c
|
@@ -577,6 +577,19 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/pci.c
|
|
||||||
@@ -577,6 +577,19 @@ static inline int ssb_pci_assert_buspowe
|
|
||||||
}
|
}
|
||||||
#endif /* DEBUG */
|
#endif /* DEBUG */
|
||||||
|
|
||||||
|
@ -68,7 +64,7 @@ Index: linux-2.6.25.4/drivers/ssb/pci.c
|
||||||
static u16 ssb_pci_read16(struct ssb_device *dev, u16 offset)
|
static u16 ssb_pci_read16(struct ssb_device *dev, u16 offset)
|
||||||
{
|
{
|
||||||
struct ssb_bus *bus = dev->bus;
|
struct ssb_bus *bus = dev->bus;
|
||||||
@@ -603,6 +616,19 @@ static u32 ssb_pci_read32(struct ssb_dev
|
@@ -603,6 +616,19 @@
|
||||||
return ioread32(bus->mmio + offset);
|
return ioread32(bus->mmio + offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,7 +84,7 @@ Index: linux-2.6.25.4/drivers/ssb/pci.c
|
||||||
static void ssb_pci_write16(struct ssb_device *dev, u16 offset, u16 value)
|
static void ssb_pci_write16(struct ssb_device *dev, u16 offset, u16 value)
|
||||||
{
|
{
|
||||||
struct ssb_bus *bus = dev->bus;
|
struct ssb_bus *bus = dev->bus;
|
||||||
@@ -631,8 +657,10 @@ static void ssb_pci_write32(struct ssb_d
|
@@ -631,8 +657,10 @@
|
||||||
|
|
||||||
/* Not "static", as it's used in main.c */
|
/* Not "static", as it's used in main.c */
|
||||||
const struct ssb_bus_ops ssb_pci_ops = {
|
const struct ssb_bus_ops ssb_pci_ops = {
|
||||||
|
@ -99,11 +95,9 @@ Index: linux-2.6.25.4/drivers/ssb/pci.c
|
||||||
.write16 = ssb_pci_write16,
|
.write16 = ssb_pci_write16,
|
||||||
.write32 = ssb_pci_write32,
|
.write32 = ssb_pci_write32,
|
||||||
};
|
};
|
||||||
Index: linux-2.6.25.4/drivers/ssb/pcmcia.c
|
--- a/drivers/ssb/pcmcia.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/pcmcia.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/pcmcia.c
|
@@ -172,6 +172,22 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/pcmcia.c
|
|
||||||
@@ -172,6 +172,22 @@ static int select_core_and_segment(struc
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,7 +120,7 @@ Index: linux-2.6.25.4/drivers/ssb/pcmcia.c
|
||||||
static u16 ssb_pcmcia_read16(struct ssb_device *dev, u16 offset)
|
static u16 ssb_pcmcia_read16(struct ssb_device *dev, u16 offset)
|
||||||
{
|
{
|
||||||
struct ssb_bus *bus = dev->bus;
|
struct ssb_bus *bus = dev->bus;
|
||||||
@@ -206,6 +222,20 @@ static u32 ssb_pcmcia_read32(struct ssb_
|
@@ -206,6 +222,20 @@
|
||||||
return (lo | (hi << 16));
|
return (lo | (hi << 16));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -147,7 +141,7 @@ Index: linux-2.6.25.4/drivers/ssb/pcmcia.c
|
||||||
static void ssb_pcmcia_write16(struct ssb_device *dev, u16 offset, u16 value)
|
static void ssb_pcmcia_write16(struct ssb_device *dev, u16 offset, u16 value)
|
||||||
{
|
{
|
||||||
struct ssb_bus *bus = dev->bus;
|
struct ssb_bus *bus = dev->bus;
|
||||||
@@ -238,8 +268,10 @@ static void ssb_pcmcia_write32(struct ss
|
@@ -238,8 +268,10 @@
|
||||||
|
|
||||||
/* Not "static", as it's used in main.c */
|
/* Not "static", as it's used in main.c */
|
||||||
const struct ssb_bus_ops ssb_pcmcia_ops = {
|
const struct ssb_bus_ops ssb_pcmcia_ops = {
|
||||||
|
@ -158,11 +152,9 @@ Index: linux-2.6.25.4/drivers/ssb/pcmcia.c
|
||||||
.write16 = ssb_pcmcia_write16,
|
.write16 = ssb_pcmcia_write16,
|
||||||
.write32 = ssb_pcmcia_write32,
|
.write32 = ssb_pcmcia_write32,
|
||||||
};
|
};
|
||||||
Index: linux-2.6.25.4/include/linux/ssb/ssb.h
|
--- a/include/linux/ssb/ssb.h
|
||||||
===================================================================
|
+++ b/include/linux/ssb/ssb.h
|
||||||
--- linux-2.6.25.4.orig/include/linux/ssb/ssb.h
|
@@ -72,8 +72,10 @@
|
||||||
+++ linux-2.6.25.4/include/linux/ssb/ssb.h
|
|
||||||
@@ -72,8 +72,10 @@ struct ssb_device;
|
|
||||||
/* Lowlevel read/write operations on the device MMIO.
|
/* Lowlevel read/write operations on the device MMIO.
|
||||||
* Internal, don't use that outside of ssb. */
|
* Internal, don't use that outside of ssb. */
|
||||||
struct ssb_bus_ops {
|
struct ssb_bus_ops {
|
||||||
|
@ -173,7 +165,7 @@ Index: linux-2.6.25.4/include/linux/ssb/ssb.h
|
||||||
void (*write16)(struct ssb_device *dev, u16 offset, u16 value);
|
void (*write16)(struct ssb_device *dev, u16 offset, u16 value);
|
||||||
void (*write32)(struct ssb_device *dev, u16 offset, u32 value);
|
void (*write32)(struct ssb_device *dev, u16 offset, u32 value);
|
||||||
};
|
};
|
||||||
@@ -348,6 +350,10 @@ void ssb_device_disable(struct ssb_devic
|
@@ -348,6 +350,10 @@
|
||||||
|
|
||||||
|
|
||||||
/* Device MMIO register read/write functions. */
|
/* Device MMIO register read/write functions. */
|
||||||
|
@ -184,7 +176,7 @@ Index: linux-2.6.25.4/include/linux/ssb/ssb.h
|
||||||
static inline u16 ssb_read16(struct ssb_device *dev, u16 offset)
|
static inline u16 ssb_read16(struct ssb_device *dev, u16 offset)
|
||||||
{
|
{
|
||||||
return dev->ops->read16(dev, offset);
|
return dev->ops->read16(dev, offset);
|
||||||
@@ -356,6 +362,10 @@ static inline u32 ssb_read32(struct ssb_
|
@@ -356,6 +362,10 @@
|
||||||
{
|
{
|
||||||
return dev->ops->read32(dev, offset);
|
return dev->ops->read32(dev, offset);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
Allow registering PCI devices after early boot.
|
Allow registering PCI devices after early boot.
|
||||||
|
|
||||||
This is an ugly hack and needs to be rewritten before going upstream.
|
This is an ugly hack and needs to be rewritten before going upstream.
|
||||||
Index: linux-2.6.25.4/arch/mips/pci/pci.c
|
--- a/arch/mips/pci/pci.c
|
||||||
===================================================================
|
+++ b/arch/mips/pci/pci.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/pci/pci.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/pci/pci.c
|
|
||||||
@@ -21,6 +21,17 @@
|
@@ -21,6 +21,17 @@
|
||||||
*/
|
*/
|
||||||
int pci_probe_only;
|
int pci_probe_only;
|
||||||
|
@ -23,7 +21,7 @@ Index: linux-2.6.25.4/arch/mips/pci/pci.c
|
||||||
#define PCI_ASSIGN_ALL_BUSSES 1
|
#define PCI_ASSIGN_ALL_BUSSES 1
|
||||||
|
|
||||||
unsigned int pci_probe = PCI_ASSIGN_ALL_BUSSES;
|
unsigned int pci_probe = PCI_ASSIGN_ALL_BUSSES;
|
||||||
@@ -75,8 +86,32 @@ pcibios_align_resource(void *data, struc
|
@@ -75,8 +86,32 @@
|
||||||
res->start = start;
|
res->start = start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,7 +55,7 @@ Index: linux-2.6.25.4/arch/mips/pci/pci.c
|
||||||
if (request_resource(&iomem_resource, hose->mem_resource) < 0)
|
if (request_resource(&iomem_resource, hose->mem_resource) < 0)
|
||||||
goto out;
|
goto out;
|
||||||
if (request_resource(&ioport_resource, hose->io_resource) < 0) {
|
if (request_resource(&ioport_resource, hose->io_resource) < 0) {
|
||||||
@@ -84,9 +119,6 @@ void __devinit register_pci_controller(s
|
@@ -84,9 +119,6 @@
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,7 +65,7 @@ Index: linux-2.6.25.4/arch/mips/pci/pci.c
|
||||||
/*
|
/*
|
||||||
* Do not panic here but later - this might hapen before console init.
|
* Do not panic here but later - this might hapen before console init.
|
||||||
*/
|
*/
|
||||||
@@ -94,41 +126,47 @@ void __devinit register_pci_controller(s
|
@@ -94,41 +126,47 @@
|
||||||
printk(KERN_WARNING
|
printk(KERN_WARNING
|
||||||
"registering PCI controller with io_map_base unset\n");
|
"registering PCI controller with io_map_base unset\n");
|
||||||
}
|
}
|
||||||
|
@ -138,7 +136,7 @@ Index: linux-2.6.25.4/arch/mips/pci/pci.c
|
||||||
|
|
||||||
/* Scan all of the recorded PCI controllers. */
|
/* Scan all of the recorded PCI controllers. */
|
||||||
for (next_busno = 0, hose = hose_head; hose; hose = hose->next) {
|
for (next_busno = 0, hose = hose_head; hose; hose = hose->next) {
|
||||||
@@ -157,6 +195,7 @@ static int __init pcibios_init(void)
|
@@ -157,6 +195,7 @@
|
||||||
if (!pci_probe_only)
|
if (!pci_probe_only)
|
||||||
pci_assign_unassigned_resources();
|
pci_assign_unassigned_resources();
|
||||||
pci_fixup_irqs(common_swizzle, pcibios_map_irq);
|
pci_fixup_irqs(common_swizzle, pcibios_map_irq);
|
||||||
|
@ -146,11 +144,9 @@ Index: linux-2.6.25.4/arch/mips/pci/pci.c
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Index: linux-2.6.25.4/drivers/ssb/main.c
|
--- a/drivers/ssb/main.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/main.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/main.c
|
@@ -1191,9 +1191,7 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/main.c
|
|
||||||
@@ -1191,9 +1191,7 @@ static int __init ssb_modinit(void)
|
|
||||||
/* ssb must be initialized after PCI but before the ssb drivers.
|
/* ssb must be initialized after PCI but before the ssb drivers.
|
||||||
* That means we must use some initcall between subsys_initcall
|
* That means we must use some initcall between subsys_initcall
|
||||||
* and device_initcall. */
|
* and device_initcall. */
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/ssb/Kconfig
|
--- a/drivers/ssb/Kconfig
|
||||||
===================================================================
|
+++ b/drivers/ssb/Kconfig
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/Kconfig
|
@@ -125,4 +125,13 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/Kconfig
|
|
||||||
@@ -125,4 +125,13 @@ config SSB_DRIVER_EXTIF
|
|
||||||
|
|
||||||
If unsure, say N
|
If unsure, say N
|
||||||
|
|
||||||
|
@ -16,11 +14,9 @@ Index: linux-2.6.25.4/drivers/ssb/Kconfig
|
||||||
+ If unsure, say N
|
+ If unsure, say N
|
||||||
+
|
+
|
||||||
endmenu
|
endmenu
|
||||||
Index: linux-2.6.25.4/drivers/ssb/Makefile
|
--- a/drivers/ssb/Makefile
|
||||||
===================================================================
|
+++ b/drivers/ssb/Makefile
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/Makefile
|
@@ -11,6 +11,7 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/Makefile
|
|
||||||
@@ -11,6 +11,7 @@ ssb-y += driver_chipcommon.o
|
|
||||||
ssb-$(CONFIG_SSB_DRIVER_MIPS) += driver_mipscore.o
|
ssb-$(CONFIG_SSB_DRIVER_MIPS) += driver_mipscore.o
|
||||||
ssb-$(CONFIG_SSB_DRIVER_EXTIF) += driver_extif.o
|
ssb-$(CONFIG_SSB_DRIVER_EXTIF) += driver_extif.o
|
||||||
ssb-$(CONFIG_SSB_DRIVER_PCICORE) += driver_pcicore.o
|
ssb-$(CONFIG_SSB_DRIVER_PCICORE) += driver_pcicore.o
|
||||||
|
@ -28,10 +24,8 @@ Index: linux-2.6.25.4/drivers/ssb/Makefile
|
||||||
|
|
||||||
# b43 pci-ssb-bridge driver
|
# b43 pci-ssb-bridge driver
|
||||||
# Not strictly a part of SSB, but kept here for convenience
|
# Not strictly a part of SSB, but kept here for convenience
|
||||||
Index: linux-2.6.25.4/drivers/ssb/driver_gige.c
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.25.4/drivers/ssb/driver_gige.c
|
+++ b/drivers/ssb/driver_gige.c
|
||||||
@@ -0,0 +1,294 @@
|
@@ -0,0 +1,294 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Sonics Silicon Backplane
|
+ * Sonics Silicon Backplane
|
||||||
|
@ -327,10 +321,8 @@ Index: linux-2.6.25.4/drivers/ssb/driver_gige.c
|
||||||
+{
|
+{
|
||||||
+ return ssb_driver_register(&ssb_gige_driver);
|
+ return ssb_driver_register(&ssb_gige_driver);
|
||||||
+}
|
+}
|
||||||
Index: linux-2.6.25.4/include/linux/ssb/ssb_driver_gige.h
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.25.4/include/linux/ssb/ssb_driver_gige.h
|
+++ b/include/linux/ssb/ssb_driver_gige.h
|
||||||
@@ -0,0 +1,174 @@
|
@@ -0,0 +1,174 @@
|
||||||
+#ifndef LINUX_SSB_DRIVER_GIGE_H_
|
+#ifndef LINUX_SSB_DRIVER_GIGE_H_
|
||||||
+#define LINUX_SSB_DRIVER_GIGE_H_
|
+#define LINUX_SSB_DRIVER_GIGE_H_
|
||||||
|
@ -506,11 +498,9 @@ Index: linux-2.6.25.4/include/linux/ssb/ssb_driver_gige.h
|
||||||
+
|
+
|
||||||
+#endif /* CONFIG_SSB_DRIVER_GIGE */
|
+#endif /* CONFIG_SSB_DRIVER_GIGE */
|
||||||
+#endif /* LINUX_SSB_DRIVER_GIGE_H_ */
|
+#endif /* LINUX_SSB_DRIVER_GIGE_H_ */
|
||||||
Index: linux-2.6.25.4/drivers/ssb/driver_pcicore.c
|
--- a/drivers/ssb/driver_pcicore.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/driver_pcicore.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/driver_pcicore.c
|
@@ -60,78 +60,6 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/driver_pcicore.c
|
|
||||||
@@ -60,78 +60,6 @@ static DEFINE_SPINLOCK(cfgspace_lock);
|
|
||||||
/* Core to access the external PCI config space. Can only have one. */
|
/* Core to access the external PCI config space. Can only have one. */
|
||||||
static struct ssb_pcicore *extpci_core;
|
static struct ssb_pcicore *extpci_core;
|
||||||
|
|
||||||
|
@ -589,7 +579,7 @@ Index: linux-2.6.25.4/drivers/ssb/driver_pcicore.c
|
||||||
static u32 get_cfgspace_addr(struct ssb_pcicore *pc,
|
static u32 get_cfgspace_addr(struct ssb_pcicore *pc,
|
||||||
unsigned int bus, unsigned int dev,
|
unsigned int bus, unsigned int dev,
|
||||||
unsigned int func, unsigned int off)
|
unsigned int func, unsigned int off)
|
||||||
@@ -320,6 +248,95 @@ static struct pci_controller ssb_pcicore
|
@@ -320,6 +248,95 @@
|
||||||
.mem_offset = 0x24000000,
|
.mem_offset = 0x24000000,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -685,10 +675,8 @@ Index: linux-2.6.25.4/drivers/ssb/driver_pcicore.c
|
||||||
static void ssb_pcicore_init_hostmode(struct ssb_pcicore *pc)
|
static void ssb_pcicore_init_hostmode(struct ssb_pcicore *pc)
|
||||||
{
|
{
|
||||||
u32 val;
|
u32 val;
|
||||||
Index: linux-2.6.25.4/drivers/ssb/embedded.c
|
--- a/drivers/ssb/embedded.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/embedded.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/embedded.c
|
|
||||||
+++ linux-2.6.25.4/drivers/ssb/embedded.c
|
|
||||||
@@ -10,6 +10,9 @@
|
@@ -10,6 +10,9 @@
|
||||||
|
|
||||||
#include <linux/ssb/ssb.h>
|
#include <linux/ssb/ssb.h>
|
||||||
|
@ -699,7 +687,7 @@ Index: linux-2.6.25.4/drivers/ssb/embedded.c
|
||||||
|
|
||||||
#include "ssb_private.h"
|
#include "ssb_private.h"
|
||||||
|
|
||||||
@@ -130,3 +133,90 @@ u32 ssb_gpio_polarity(struct ssb_bus *bu
|
@@ -130,3 +133,90 @@
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(ssb_gpio_polarity);
|
EXPORT_SYMBOL(ssb_gpio_polarity);
|
||||||
|
@ -790,11 +778,9 @@ Index: linux-2.6.25.4/drivers/ssb/embedded.c
|
||||||
+
|
+
|
||||||
+ return -ENODEV;
|
+ return -ENODEV;
|
||||||
+}
|
+}
|
||||||
Index: linux-2.6.25.4/include/linux/ssb/ssb.h
|
--- a/include/linux/ssb/ssb.h
|
||||||
===================================================================
|
+++ b/include/linux/ssb/ssb.h
|
||||||
--- linux-2.6.25.4.orig/include/linux/ssb/ssb.h
|
@@ -426,5 +426,12 @@
|
||||||
+++ linux-2.6.25.4/include/linux/ssb/ssb.h
|
|
||||||
@@ -426,5 +426,12 @@ extern int ssb_bus_powerup(struct ssb_bu
|
|
||||||
extern u32 ssb_admatch_base(u32 adm);
|
extern u32 ssb_admatch_base(u32 adm);
|
||||||
extern u32 ssb_admatch_size(u32 adm);
|
extern u32 ssb_admatch_size(u32 adm);
|
||||||
|
|
||||||
|
@ -807,10 +793,8 @@ Index: linux-2.6.25.4/include/linux/ssb/ssb.h
|
||||||
+#endif /* CONFIG_SSB_EMBEDDED */
|
+#endif /* CONFIG_SSB_EMBEDDED */
|
||||||
|
|
||||||
#endif /* LINUX_SSB_H_ */
|
#endif /* LINUX_SSB_H_ */
|
||||||
Index: linux-2.6.25.4/include/linux/ssb/ssb_driver_pci.h
|
--- a/include/linux/ssb/ssb_driver_pci.h
|
||||||
===================================================================
|
+++ b/include/linux/ssb/ssb_driver_pci.h
|
||||||
--- linux-2.6.25.4.orig/include/linux/ssb/ssb_driver_pci.h
|
|
||||||
+++ linux-2.6.25.4/include/linux/ssb/ssb_driver_pci.h
|
|
||||||
@@ -1,6 +1,11 @@
|
@@ -1,6 +1,11 @@
|
||||||
#ifndef LINUX_SSB_PCICORE_H_
|
#ifndef LINUX_SSB_PCICORE_H_
|
||||||
#define LINUX_SSB_PCICORE_H_
|
#define LINUX_SSB_PCICORE_H_
|
||||||
|
@ -823,7 +807,7 @@ Index: linux-2.6.25.4/include/linux/ssb/ssb_driver_pci.h
|
||||||
#ifdef CONFIG_SSB_DRIVER_PCICORE
|
#ifdef CONFIG_SSB_DRIVER_PCICORE
|
||||||
|
|
||||||
/* PCI core registers. */
|
/* PCI core registers. */
|
||||||
@@ -88,6 +93,9 @@ extern void ssb_pcicore_init(struct ssb_
|
@@ -88,6 +93,9 @@
|
||||||
extern int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc,
|
extern int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc,
|
||||||
struct ssb_device *dev);
|
struct ssb_device *dev);
|
||||||
|
|
||||||
|
@ -833,7 +817,7 @@ Index: linux-2.6.25.4/include/linux/ssb/ssb_driver_pci.h
|
||||||
|
|
||||||
#else /* CONFIG_SSB_DRIVER_PCICORE */
|
#else /* CONFIG_SSB_DRIVER_PCICORE */
|
||||||
|
|
||||||
@@ -107,5 +115,16 @@ int ssb_pcicore_dev_irqvecs_enable(struc
|
@@ -107,5 +115,16 @@
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -850,10 +834,8 @@ Index: linux-2.6.25.4/include/linux/ssb/ssb_driver_pci.h
|
||||||
+
|
+
|
||||||
#endif /* CONFIG_SSB_DRIVER_PCICORE */
|
#endif /* CONFIG_SSB_DRIVER_PCICORE */
|
||||||
#endif /* LINUX_SSB_PCICORE_H_ */
|
#endif /* LINUX_SSB_PCICORE_H_ */
|
||||||
Index: linux-2.6.25.4/drivers/ssb/main.c
|
--- a/drivers/ssb/main.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/main.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/main.c
|
|
||||||
+++ linux-2.6.25.4/drivers/ssb/main.c
|
|
||||||
@@ -14,6 +14,7 @@
|
@@ -14,6 +14,7 @@
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <linux/ssb/ssb.h>
|
#include <linux/ssb/ssb.h>
|
||||||
|
@ -862,7 +844,7 @@ Index: linux-2.6.25.4/drivers/ssb/main.c
|
||||||
#include <linux/dma-mapping.h>
|
#include <linux/dma-mapping.h>
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
|
|
||||||
@@ -68,6 +69,25 @@ found:
|
@@ -68,6 +69,25 @@
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_SSB_PCIHOST */
|
#endif /* CONFIG_SSB_PCIHOST */
|
||||||
|
|
||||||
|
@ -888,7 +870,7 @@ Index: linux-2.6.25.4/drivers/ssb/main.c
|
||||||
static struct ssb_device *ssb_device_get(struct ssb_device *dev)
|
static struct ssb_device *ssb_device_get(struct ssb_device *dev)
|
||||||
{
|
{
|
||||||
if (dev)
|
if (dev)
|
||||||
@@ -1181,7 +1201,14 @@ static int __init ssb_modinit(void)
|
@@ -1181,7 +1201,14 @@
|
||||||
err = b43_pci_ssb_bridge_init();
|
err = b43_pci_ssb_bridge_init();
|
||||||
if (err) {
|
if (err) {
|
||||||
ssb_printk(KERN_ERR "Broadcom 43xx PCI-SSB-bridge "
|
ssb_printk(KERN_ERR "Broadcom 43xx PCI-SSB-bridge "
|
||||||
|
@ -904,7 +886,7 @@ Index: linux-2.6.25.4/drivers/ssb/main.c
|
||||||
/* don't fail SSB init because of this */
|
/* don't fail SSB init because of this */
|
||||||
err = 0;
|
err = 0;
|
||||||
}
|
}
|
||||||
@@ -1195,6 +1222,7 @@ fs_initcall(ssb_modinit);
|
@@ -1195,6 +1222,7 @@
|
||||||
|
|
||||||
static void __exit ssb_modexit(void)
|
static void __exit ssb_modexit(void)
|
||||||
{
|
{
|
||||||
|
@ -912,11 +894,9 @@ Index: linux-2.6.25.4/drivers/ssb/main.c
|
||||||
b43_pci_ssb_bridge_exit();
|
b43_pci_ssb_bridge_exit();
|
||||||
bus_unregister(&ssb_bustype);
|
bus_unregister(&ssb_bustype);
|
||||||
}
|
}
|
||||||
Index: linux-2.6.25.4/drivers/ssb/ssb_private.h
|
--- a/drivers/ssb/ssb_private.h
|
||||||
===================================================================
|
+++ b/drivers/ssb/ssb_private.h
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/ssb_private.h
|
@@ -118,6 +118,8 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/ssb_private.h
|
|
||||||
@@ -118,6 +118,8 @@ extern u32 ssb_calc_clock_rate(u32 pllty
|
|
||||||
extern int ssb_devices_freeze(struct ssb_bus *bus);
|
extern int ssb_devices_freeze(struct ssb_bus *bus);
|
||||||
extern int ssb_devices_thaw(struct ssb_bus *bus);
|
extern int ssb_devices_thaw(struct ssb_bus *bus);
|
||||||
extern struct ssb_bus *ssb_pci_dev_to_bus(struct pci_dev *pdev);
|
extern struct ssb_bus *ssb_pci_dev_to_bus(struct pci_dev *pdev);
|
||||||
|
@ -925,10 +905,8 @@ Index: linux-2.6.25.4/drivers/ssb/ssb_private.h
|
||||||
|
|
||||||
/* b43_pci_bridge.c */
|
/* b43_pci_bridge.c */
|
||||||
#ifdef CONFIG_SSB_B43_PCI_BRIDGE
|
#ifdef CONFIG_SSB_B43_PCI_BRIDGE
|
||||||
Index: linux-2.6.25.4/drivers/net/tg3.c
|
--- a/drivers/net/tg3.c
|
||||||
===================================================================
|
+++ b/drivers/net/tg3.c
|
||||||
--- linux-2.6.25.4.orig/drivers/net/tg3.c
|
|
||||||
+++ linux-2.6.25.4/drivers/net/tg3.c
|
|
||||||
@@ -38,6 +38,7 @@
|
@@ -38,6 +38,7 @@
|
||||||
#include <linux/workqueue.h>
|
#include <linux/workqueue.h>
|
||||||
#include <linux/prefetch.h>
|
#include <linux/prefetch.h>
|
||||||
|
@ -937,7 +915,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
|
|
||||||
#include <net/checksum.h>
|
#include <net/checksum.h>
|
||||||
#include <net/ip.h>
|
#include <net/ip.h>
|
||||||
@@ -425,8 +426,9 @@ static void _tw32_flush(struct tg3 *tp,
|
@@ -425,8 +426,9 @@
|
||||||
static inline void tw32_mailbox_flush(struct tg3 *tp, u32 off, u32 val)
|
static inline void tw32_mailbox_flush(struct tg3 *tp, u32 off, u32 val)
|
||||||
{
|
{
|
||||||
tp->write32_mbox(tp, off, val);
|
tp->write32_mbox(tp, off, val);
|
||||||
|
@ -949,7 +927,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
tp->read32_mbox(tp, off);
|
tp->read32_mbox(tp, off);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -706,7 +708,7 @@ static void tg3_switch_clocks(struct tg3
|
@@ -706,7 +708,7 @@
|
||||||
|
|
||||||
#define PHY_BUSY_LOOPS 5000
|
#define PHY_BUSY_LOOPS 5000
|
||||||
|
|
||||||
|
@ -958,7 +936,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
{
|
{
|
||||||
u32 frame_val;
|
u32 frame_val;
|
||||||
unsigned int loops;
|
unsigned int loops;
|
||||||
@@ -720,7 +722,7 @@ static int tg3_readphy(struct tg3 *tp, i
|
@@ -720,7 +722,7 @@
|
||||||
|
|
||||||
*val = 0x0;
|
*val = 0x0;
|
||||||
|
|
||||||
|
@ -967,7 +945,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
MI_COM_PHY_ADDR_MASK);
|
MI_COM_PHY_ADDR_MASK);
|
||||||
frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) &
|
frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) &
|
||||||
MI_COM_REG_ADDR_MASK);
|
MI_COM_REG_ADDR_MASK);
|
||||||
@@ -755,7 +757,12 @@ static int tg3_readphy(struct tg3 *tp, i
|
@@ -755,7 +757,12 @@
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -981,7 +959,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
{
|
{
|
||||||
u32 frame_val;
|
u32 frame_val;
|
||||||
unsigned int loops;
|
unsigned int loops;
|
||||||
@@ -771,7 +778,7 @@ static int tg3_writephy(struct tg3 *tp,
|
@@ -771,7 +778,7 @@
|
||||||
udelay(80);
|
udelay(80);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -990,7 +968,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
MI_COM_PHY_ADDR_MASK);
|
MI_COM_PHY_ADDR_MASK);
|
||||||
frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) &
|
frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) &
|
||||||
MI_COM_REG_ADDR_MASK);
|
MI_COM_REG_ADDR_MASK);
|
||||||
@@ -804,6 +811,11 @@ static int tg3_writephy(struct tg3 *tp,
|
@@ -804,6 +811,11 @@
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1002,7 +980,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
static void tg3_phydsp_write(struct tg3 *tp, u32 reg, u32 val)
|
static void tg3_phydsp_write(struct tg3 *tp, u32 reg, u32 val)
|
||||||
{
|
{
|
||||||
tg3_writephy(tp, MII_TG3_DSP_ADDRESS, reg);
|
tg3_writephy(tp, MII_TG3_DSP_ADDRESS, reg);
|
||||||
@@ -2250,6 +2262,14 @@ static int tg3_setup_copper_phy(struct t
|
@@ -2250,6 +2262,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1017,7 +995,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
if (current_link_up == 1 &&
|
if (current_link_up == 1 &&
|
||||||
tp->link_config.active_duplex == DUPLEX_FULL)
|
tp->link_config.active_duplex == DUPLEX_FULL)
|
||||||
tg3_setup_flow_control(tp, lcl_adv, rmt_adv);
|
tg3_setup_flow_control(tp, lcl_adv, rmt_adv);
|
||||||
@@ -5197,6 +5217,11 @@ static int tg3_poll_fw(struct tg3 *tp)
|
@@ -5197,6 +5217,11 @@
|
||||||
int i;
|
int i;
|
||||||
u32 val;
|
u32 val;
|
||||||
|
|
||||||
|
@ -1029,7 +1007,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5906) {
|
if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5906) {
|
||||||
/* Wait up to 20ms for init done. */
|
/* Wait up to 20ms for init done. */
|
||||||
for (i = 0; i < 200; i++) {
|
for (i = 0; i < 200; i++) {
|
||||||
@@ -5435,6 +5460,14 @@ static int tg3_chip_reset(struct tg3 *tp
|
@@ -5435,6 +5460,14 @@
|
||||||
tw32(0x5000, 0x400);
|
tw32(0x5000, 0x400);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1044,7 +1022,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
tw32(GRC_MODE, tp->grc_mode);
|
tw32(GRC_MODE, tp->grc_mode);
|
||||||
|
|
||||||
if (tp->pci_chip_rev_id == CHIPREV_ID_5705_A0) {
|
if (tp->pci_chip_rev_id == CHIPREV_ID_5705_A0) {
|
||||||
@@ -5704,9 +5737,12 @@ static int tg3_halt_cpu(struct tg3 *tp,
|
@@ -5704,9 +5737,12 @@
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1060,7 +1038,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5787,6 +5823,11 @@ static int tg3_load_5701_a0_firmware_fix
|
@@ -5787,6 +5823,11 @@
|
||||||
struct fw_info info;
|
struct fw_info info;
|
||||||
int err, i;
|
int err, i;
|
||||||
|
|
||||||
|
@ -1072,7 +1050,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
info.text_base = TG3_FW_TEXT_ADDR;
|
info.text_base = TG3_FW_TEXT_ADDR;
|
||||||
info.text_len = TG3_FW_TEXT_LEN;
|
info.text_len = TG3_FW_TEXT_LEN;
|
||||||
info.text_data = &tg3FwText[0];
|
info.text_data = &tg3FwText[0];
|
||||||
@@ -6345,6 +6386,11 @@ static int tg3_load_tso_firmware(struct
|
@@ -6345,6 +6386,11 @@
|
||||||
unsigned long cpu_base, cpu_scratch_base, cpu_scratch_size;
|
unsigned long cpu_base, cpu_scratch_base, cpu_scratch_size;
|
||||||
int err, i;
|
int err, i;
|
||||||
|
|
||||||
|
@ -1084,7 +1062,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
if (tp->tg3_flags2 & TG3_FLG2_HW_TSO)
|
if (tp->tg3_flags2 & TG3_FLG2_HW_TSO)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
@@ -7306,6 +7352,11 @@ static void tg3_timer(unsigned long __op
|
@@ -7306,6 +7352,11 @@
|
||||||
|
|
||||||
spin_lock(&tp->lock);
|
spin_lock(&tp->lock);
|
||||||
|
|
||||||
|
@ -1096,7 +1074,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
if (!(tp->tg3_flags & TG3_FLAG_TAGGED_STATUS)) {
|
if (!(tp->tg3_flags & TG3_FLAG_TAGGED_STATUS)) {
|
||||||
/* All of this garbage is because when using non-tagged
|
/* All of this garbage is because when using non-tagged
|
||||||
* IRQ status the mailbox/status_block protocol the chip
|
* IRQ status the mailbox/status_block protocol the chip
|
||||||
@@ -8906,6 +8957,11 @@ static int tg3_test_nvram(struct tg3 *tp
|
@@ -8906,6 +8957,11 @@
|
||||||
__le32 *buf;
|
__le32 *buf;
|
||||||
int i, j, k, err = 0, size;
|
int i, j, k, err = 0, size;
|
||||||
|
|
||||||
|
@ -1108,7 +1086,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
if (tg3_nvram_read_swab(tp, 0, &magic) != 0)
|
if (tg3_nvram_read_swab(tp, 0, &magic) != 0)
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
||||||
@@ -9689,7 +9745,7 @@ static int tg3_ioctl(struct net_device *
|
@@ -9689,7 +9745,7 @@
|
||||||
return -EAGAIN;
|
return -EAGAIN;
|
||||||
|
|
||||||
spin_lock_bh(&tp->lock);
|
spin_lock_bh(&tp->lock);
|
||||||
|
@ -1117,7 +1095,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
spin_unlock_bh(&tp->lock);
|
spin_unlock_bh(&tp->lock);
|
||||||
|
|
||||||
data->val_out = mii_regval;
|
data->val_out = mii_regval;
|
||||||
@@ -9708,7 +9764,7 @@ static int tg3_ioctl(struct net_device *
|
@@ -9708,7 +9764,7 @@
|
||||||
return -EAGAIN;
|
return -EAGAIN;
|
||||||
|
|
||||||
spin_lock_bh(&tp->lock);
|
spin_lock_bh(&tp->lock);
|
||||||
|
@ -1126,7 +1104,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
spin_unlock_bh(&tp->lock);
|
spin_unlock_bh(&tp->lock);
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
@@ -10177,6 +10233,12 @@ static void __devinit tg3_get_5906_nvram
|
@@ -10177,6 +10233,12 @@
|
||||||
/* Chips other than 5700/5701 use the NVRAM for fetching info. */
|
/* Chips other than 5700/5701 use the NVRAM for fetching info. */
|
||||||
static void __devinit tg3_nvram_init(struct tg3 *tp)
|
static void __devinit tg3_nvram_init(struct tg3 *tp)
|
||||||
{
|
{
|
||||||
|
@ -1139,7 +1117,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
tw32_f(GRC_EEPROM_ADDR,
|
tw32_f(GRC_EEPROM_ADDR,
|
||||||
(EEPROM_ADDR_FSM_RESET |
|
(EEPROM_ADDR_FSM_RESET |
|
||||||
(EEPROM_DEFAULT_CLOCK_PERIOD <<
|
(EEPROM_DEFAULT_CLOCK_PERIOD <<
|
||||||
@@ -10317,6 +10379,9 @@ static int tg3_nvram_read(struct tg3 *tp
|
@@ -10317,6 +10379,9 @@
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
@ -1149,7 +1127,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
if (!(tp->tg3_flags & TG3_FLAG_NVRAM))
|
if (!(tp->tg3_flags & TG3_FLAG_NVRAM))
|
||||||
return tg3_nvram_read_using_eeprom(tp, offset, val);
|
return tg3_nvram_read_using_eeprom(tp, offset, val);
|
||||||
|
|
||||||
@@ -10563,6 +10628,9 @@ static int tg3_nvram_write_block(struct
|
@@ -10563,6 +10628,9 @@
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
@ -1159,7 +1137,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
if (tp->tg3_flags & TG3_FLAG_EEPROM_WRITE_PROT) {
|
if (tp->tg3_flags & TG3_FLAG_EEPROM_WRITE_PROT) {
|
||||||
tw32_f(GRC_LOCAL_CTRL, tp->grc_local_ctrl &
|
tw32_f(GRC_LOCAL_CTRL, tp->grc_local_ctrl &
|
||||||
~GRC_LCLCTRL_GPIO_OUTPUT1);
|
~GRC_LCLCTRL_GPIO_OUTPUT1);
|
||||||
@@ -11610,7 +11678,6 @@ static int __devinit tg3_get_invariants(
|
@@ -11610,7 +11678,6 @@
|
||||||
tp->write32 = tg3_write_flush_reg32;
|
tp->write32 = tg3_write_flush_reg32;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1167,7 +1145,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
if ((tp->tg3_flags & TG3_FLAG_TXD_MBOX_HWBUG) ||
|
if ((tp->tg3_flags & TG3_FLAG_TXD_MBOX_HWBUG) ||
|
||||||
(tp->tg3_flags & TG3_FLAG_MBOX_WRITE_REORDER)) {
|
(tp->tg3_flags & TG3_FLAG_MBOX_WRITE_REORDER)) {
|
||||||
tp->write32_tx_mbox = tg3_write32_tx_mbox;
|
tp->write32_tx_mbox = tg3_write32_tx_mbox;
|
||||||
@@ -11646,6 +11713,11 @@ static int __devinit tg3_get_invariants(
|
@@ -11646,6 +11713,11 @@
|
||||||
GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5701)))
|
GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5701)))
|
||||||
tp->tg3_flags |= TG3_FLAG_SRAM_USE_CONFIG;
|
tp->tg3_flags |= TG3_FLAG_SRAM_USE_CONFIG;
|
||||||
|
|
||||||
|
@ -1179,7 +1157,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
/* Get eeprom hw config before calling tg3_set_power_state().
|
/* Get eeprom hw config before calling tg3_set_power_state().
|
||||||
* In particular, the TG3_FLG2_IS_NIC flag must be
|
* In particular, the TG3_FLG2_IS_NIC flag must be
|
||||||
* determined before calling tg3_set_power_state() so that
|
* determined before calling tg3_set_power_state() so that
|
||||||
@@ -12017,6 +12089,10 @@ static int __devinit tg3_get_device_addr
|
@@ -12017,6 +12089,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_valid_ether_addr(&dev->dev_addr[0])) {
|
if (!is_valid_ether_addr(&dev->dev_addr[0])) {
|
||||||
|
@ -1190,7 +1168,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
#ifdef CONFIG_SPARC
|
#ifdef CONFIG_SPARC
|
||||||
if (!tg3_get_default_macaddr_sparc(tp))
|
if (!tg3_get_default_macaddr_sparc(tp))
|
||||||
return 0;
|
return 0;
|
||||||
@@ -12508,6 +12584,7 @@ static char * __devinit tg3_phy_string(s
|
@@ -12508,6 +12584,7 @@
|
||||||
case PHY_ID_BCM5704: return "5704";
|
case PHY_ID_BCM5704: return "5704";
|
||||||
case PHY_ID_BCM5705: return "5705";
|
case PHY_ID_BCM5705: return "5705";
|
||||||
case PHY_ID_BCM5750: return "5750";
|
case PHY_ID_BCM5750: return "5750";
|
||||||
|
@ -1198,7 +1176,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
case PHY_ID_BCM5752: return "5752";
|
case PHY_ID_BCM5752: return "5752";
|
||||||
case PHY_ID_BCM5714: return "5714";
|
case PHY_ID_BCM5714: return "5714";
|
||||||
case PHY_ID_BCM5780: return "5780";
|
case PHY_ID_BCM5780: return "5780";
|
||||||
@@ -12695,6 +12772,13 @@ static int __devinit tg3_init_one(struct
|
@@ -12695,6 +12772,13 @@
|
||||||
tp->msg_enable = tg3_debug;
|
tp->msg_enable = tg3_debug;
|
||||||
else
|
else
|
||||||
tp->msg_enable = TG3_DEF_MSG_ENABLE;
|
tp->msg_enable = TG3_DEF_MSG_ENABLE;
|
||||||
|
@ -1212,11 +1190,9 @@ Index: linux-2.6.25.4/drivers/net/tg3.c
|
||||||
|
|
||||||
/* The word/byte swap controls here control register access byte
|
/* The word/byte swap controls here control register access byte
|
||||||
* swapping. DMA data byte swapping is controlled in the GRC_MODE
|
* swapping. DMA data byte swapping is controlled in the GRC_MODE
|
||||||
Index: linux-2.6.25.4/drivers/net/tg3.h
|
--- a/drivers/net/tg3.h
|
||||||
===================================================================
|
+++ b/drivers/net/tg3.h
|
||||||
--- linux-2.6.25.4.orig/drivers/net/tg3.h
|
@@ -2477,6 +2477,9 @@
|
||||||
+++ linux-2.6.25.4/drivers/net/tg3.h
|
|
||||||
@@ -2477,6 +2477,9 @@ struct tg3 {
|
|
||||||
#define TG3_FLG3_ENABLE_APE 0x00000002
|
#define TG3_FLG3_ENABLE_APE 0x00000002
|
||||||
#define TG3_FLG3_5761_5784_AX_FIXES 0x00000004
|
#define TG3_FLG3_5761_5784_AX_FIXES 0x00000004
|
||||||
#define TG3_FLG3_5701_DMA_BUG 0x00000008
|
#define TG3_FLG3_5701_DMA_BUG 0x00000008
|
||||||
|
@ -1226,7 +1202,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.h
|
||||||
|
|
||||||
struct timer_list timer;
|
struct timer_list timer;
|
||||||
u16 timer_counter;
|
u16 timer_counter;
|
||||||
@@ -2532,6 +2535,7 @@ struct tg3 {
|
@@ -2532,6 +2535,7 @@
|
||||||
#define PHY_ID_BCM5714 0x60008340
|
#define PHY_ID_BCM5714 0x60008340
|
||||||
#define PHY_ID_BCM5780 0x60008350
|
#define PHY_ID_BCM5780 0x60008350
|
||||||
#define PHY_ID_BCM5755 0xbc050cc0
|
#define PHY_ID_BCM5755 0xbc050cc0
|
||||||
|
@ -1234,7 +1210,7 @@ Index: linux-2.6.25.4/drivers/net/tg3.h
|
||||||
#define PHY_ID_BCM5787 0xbc050ce0
|
#define PHY_ID_BCM5787 0xbc050ce0
|
||||||
#define PHY_ID_BCM5756 0xbc050ed0
|
#define PHY_ID_BCM5756 0xbc050ed0
|
||||||
#define PHY_ID_BCM5784 0xbc050fa0
|
#define PHY_ID_BCM5784 0xbc050fa0
|
||||||
@@ -2568,7 +2572,7 @@ struct tg3 {
|
@@ -2568,7 +2572,7 @@
|
||||||
(X) == PHY_ID_BCM5780 || (X) == PHY_ID_BCM5787 || \
|
(X) == PHY_ID_BCM5780 || (X) == PHY_ID_BCM5787 || \
|
||||||
(X) == PHY_ID_BCM5755 || (X) == PHY_ID_BCM5756 || \
|
(X) == PHY_ID_BCM5755 || (X) == PHY_ID_BCM5756 || \
|
||||||
(X) == PHY_ID_BCM5906 || (X) == PHY_ID_BCM5761 || \
|
(X) == PHY_ID_BCM5906 || (X) == PHY_ID_BCM5761 || \
|
||||||
|
@ -1243,11 +1219,9 @@ Index: linux-2.6.25.4/drivers/net/tg3.h
|
||||||
|
|
||||||
struct tg3_hw_stats *hw_stats;
|
struct tg3_hw_stats *hw_stats;
|
||||||
dma_addr_t stats_mapping;
|
dma_addr_t stats_mapping;
|
||||||
Index: linux-2.6.25.4/drivers/ssb/driver_mipscore.c
|
--- a/drivers/ssb/driver_mipscore.c
|
||||||
===================================================================
|
+++ b/drivers/ssb/driver_mipscore.c
|
||||||
--- linux-2.6.25.4.orig/drivers/ssb/driver_mipscore.c
|
@@ -212,6 +212,7 @@
|
||||||
+++ linux-2.6.25.4/drivers/ssb/driver_mipscore.c
|
|
||||||
@@ -212,6 +212,7 @@ void ssb_mipscore_init(struct ssb_mipsco
|
|
||||||
/* fallthrough */
|
/* fallthrough */
|
||||||
case SSB_DEV_PCI:
|
case SSB_DEV_PCI:
|
||||||
case SSB_DEV_ETHERNET:
|
case SSB_DEV_ETHERNET:
|
||||||
|
|
|
@ -10,7 +10,7 @@ ARCH:=mips
|
||||||
BOARD:=brcm63xx
|
BOARD:=brcm63xx
|
||||||
BOARDNAME:=Broadcom BCM963xx
|
BOARDNAME:=Broadcom BCM963xx
|
||||||
FEATURES:=squashfs jffs2 broken usb atm
|
FEATURES:=squashfs jffs2 broken usb atm
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,9 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
include/asm-mips/cpu.h | 7 ++++++-
|
include/asm-mips/cpu.h | 7 ++++++-
|
||||||
8 files changed, 61 insertions(+), 1 deletions(-)
|
8 files changed, 61 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/Kconfig
|
--- a/arch/mips/Kconfig
|
||||||
===================================================================
|
+++ b/arch/mips/Kconfig
|
||||||
--- linux-2.6.25.4.orig/arch/mips/Kconfig
|
@@ -59,6 +59,17 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/Kconfig
|
|
||||||
@@ -59,6 +59,17 @@ config BCM47XX
|
|
||||||
help
|
help
|
||||||
Support for BCM47XX based boards
|
Support for BCM47XX based boards
|
||||||
|
|
||||||
|
@ -38,11 +36,9 @@ Index: linux-2.6.25.4/arch/mips/Kconfig
|
||||||
config MIPS_COBALT
|
config MIPS_COBALT
|
||||||
bool "Cobalt Server"
|
bool "Cobalt Server"
|
||||||
select CEVT_R4K
|
select CEVT_R4K
|
||||||
Index: linux-2.6.25.4/arch/mips/Makefile
|
--- a/arch/mips/Makefile
|
||||||
===================================================================
|
+++ b/arch/mips/Makefile
|
||||||
--- linux-2.6.25.4.orig/arch/mips/Makefile
|
@@ -560,6 +560,10 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/Makefile
|
|
||||||
@@ -560,6 +560,10 @@ core-$(CONFIG_BCM47XX) += arch/mips/bcm
|
|
||||||
cflags-$(CONFIG_BCM47XX) += -Iinclude/asm-mips/mach-bcm47xx
|
cflags-$(CONFIG_BCM47XX) += -Iinclude/asm-mips/mach-bcm47xx
|
||||||
load-$(CONFIG_BCM47XX) := 0xffffffff80001000
|
load-$(CONFIG_BCM47XX) := 0xffffffff80001000
|
||||||
|
|
||||||
|
@ -53,11 +49,9 @@ Index: linux-2.6.25.4/arch/mips/Makefile
|
||||||
#
|
#
|
||||||
# SNI RM
|
# SNI RM
|
||||||
#
|
#
|
||||||
Index: linux-2.6.25.4/arch/mips/kernel/cpu-probe.c
|
--- a/arch/mips/kernel/cpu-probe.c
|
||||||
===================================================================
|
+++ b/arch/mips/kernel/cpu-probe.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/kernel/cpu-probe.c
|
@@ -803,6 +803,21 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/kernel/cpu-probe.c
|
|
||||||
@@ -803,6 +803,21 @@ static inline void cpu_probe_broadcom(st
|
|
||||||
case PRID_IMP_BCM4710:
|
case PRID_IMP_BCM4710:
|
||||||
c->cputype = CPU_BCM4710;
|
c->cputype = CPU_BCM4710;
|
||||||
break;
|
break;
|
||||||
|
@ -79,7 +73,7 @@ Index: linux-2.6.25.4/arch/mips/kernel/cpu-probe.c
|
||||||
default:
|
default:
|
||||||
c->cputype = CPU_UNKNOWN;
|
c->cputype = CPU_UNKNOWN;
|
||||||
break;
|
break;
|
||||||
@@ -887,6 +899,11 @@ static __cpuinit const char *cpu_to_name
|
@@ -887,6 +902,11 @@
|
||||||
case CPU_SR71000: name = "Sandcraft SR71000"; break;
|
case CPU_SR71000: name = "Sandcraft SR71000"; break;
|
||||||
case CPU_BCM3302: name = "Broadcom BCM3302"; break;
|
case CPU_BCM3302: name = "Broadcom BCM3302"; break;
|
||||||
case CPU_BCM4710: name = "Broadcom BCM4710"; break;
|
case CPU_BCM4710: name = "Broadcom BCM4710"; break;
|
||||||
|
@ -91,11 +85,9 @@ Index: linux-2.6.25.4/arch/mips/kernel/cpu-probe.c
|
||||||
case CPU_PR4450: name = "Philips PR4450"; break;
|
case CPU_PR4450: name = "Philips PR4450"; break;
|
||||||
case CPU_LOONGSON2: name = "ICT Loongson-2"; break;
|
case CPU_LOONGSON2: name = "ICT Loongson-2"; break;
|
||||||
default:
|
default:
|
||||||
Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
--- a/arch/mips/mm/c-r4k.c
|
||||||
===================================================================
|
+++ b/arch/mips/mm/c-r4k.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/mm/c-r4k.c
|
@@ -882,6 +882,13 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
|
||||||
@@ -882,6 +882,13 @@ static void __cpuinit probe_pcache(void)
|
|
||||||
if (!(config & MIPS_CONF_M))
|
if (!(config & MIPS_CONF_M))
|
||||||
panic("Don't know how to probe P-caches on this cpu.");
|
panic("Don't know how to probe P-caches on this cpu.");
|
||||||
|
|
||||||
|
@ -109,11 +101,9 @@ Index: linux-2.6.25.4/arch/mips/mm/c-r4k.c
|
||||||
/*
|
/*
|
||||||
* So we seem to be a MIPS32 or MIPS64 CPU
|
* So we seem to be a MIPS32 or MIPS64 CPU
|
||||||
* So let's probe the I-cache ...
|
* So let's probe the I-cache ...
|
||||||
Index: linux-2.6.25.4/arch/mips/mm/tlbex.c
|
--- a/arch/mips/mm/tlbex.c
|
||||||
===================================================================
|
+++ b/arch/mips/mm/tlbex.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/mm/tlbex.c
|
@@ -315,6 +315,11 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/mm/tlbex.c
|
|
||||||
@@ -315,6 +315,11 @@ static void __cpuinit build_tlb_write_en
|
|
||||||
case CPU_25KF:
|
case CPU_25KF:
|
||||||
case CPU_BCM3302:
|
case CPU_BCM3302:
|
||||||
case CPU_BCM4710:
|
case CPU_BCM4710:
|
||||||
|
@ -125,19 +115,15 @@ Index: linux-2.6.25.4/arch/mips/mm/tlbex.c
|
||||||
case CPU_LOONGSON2:
|
case CPU_LOONGSON2:
|
||||||
if (m4kc_tlbp_war())
|
if (m4kc_tlbp_war())
|
||||||
uasm_i_nop(p);
|
uasm_i_nop(p);
|
||||||
Index: linux-2.6.25.4/arch/mips/pci/Makefile
|
--- a/arch/mips/pci/Makefile
|
||||||
===================================================================
|
+++ b/arch/mips/pci/Makefile
|
||||||
--- linux-2.6.25.4.orig/arch/mips/pci/Makefile
|
@@ -48,3 +48,4 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/pci/Makefile
|
|
||||||
@@ -48,3 +48,4 @@ obj-$(CONFIG_TOSHIBA_RBTX4938) += fixup-
|
|
||||||
obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc30x.o
|
obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc30x.o
|
||||||
obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
|
obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
|
||||||
obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
|
obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
|
||||||
+obj-$(CONFIG_BCM963XX) += fixup-bcm96348.o pci-bcm96348.o ops-bcm96348.o
|
+obj-$(CONFIG_BCM963XX) += fixup-bcm96348.o pci-bcm96348.o ops-bcm96348.o
|
||||||
Index: linux-2.6.25.4/include/asm-mips/bootinfo.h
|
--- a/include/asm-mips/bootinfo.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/bootinfo.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/bootinfo.h
|
|
||||||
+++ linux-2.6.25.4/include/asm-mips/bootinfo.h
|
|
||||||
@@ -94,6 +94,19 @@
|
@@ -94,6 +94,19 @@
|
||||||
#define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
|
#define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
|
||||||
#define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
|
#define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
|
||||||
|
@ -158,10 +144,8 @@ Index: linux-2.6.25.4/include/asm-mips/bootinfo.h
|
||||||
#define CL_SIZE COMMAND_LINE_SIZE
|
#define CL_SIZE COMMAND_LINE_SIZE
|
||||||
|
|
||||||
extern char *system_type;
|
extern char *system_type;
|
||||||
Index: linux-2.6.25.4/include/asm-mips/cpu.h
|
--- a/include/asm-mips/cpu.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/cpu.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/cpu.h
|
|
||||||
+++ linux-2.6.25.4/include/asm-mips/cpu.h
|
|
||||||
@@ -111,6 +111,11 @@
|
@@ -111,6 +111,11 @@
|
||||||
|
|
||||||
#define PRID_IMP_BCM4710 0x4000
|
#define PRID_IMP_BCM4710 0x4000
|
||||||
|
@ -174,7 +158,7 @@ Index: linux-2.6.25.4/include/asm-mips/cpu.h
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Definitions for 7:0 on legacy processors
|
* Definitions for 7:0 on legacy processors
|
||||||
@@ -196,7 +200,8 @@ enum cpu_type_enum {
|
@@ -196,7 +201,8 @@
|
||||||
*/
|
*/
|
||||||
CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_74K, CPU_AU1000,
|
CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_74K, CPU_AU1000,
|
||||||
CPU_AU1100, CPU_AU1200, CPU_AU1210, CPU_AU1250, CPU_AU1500, CPU_AU1550,
|
CPU_AU1100, CPU_AU1200, CPU_AU1210, CPU_AU1250, CPU_AU1500, CPU_AU1550,
|
||||||
|
|
|
@ -9,11 +9,9 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
drivers/serial/Makefile | 1 +
|
drivers/serial/Makefile | 1 +
|
||||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/drivers/serial/Makefile
|
--- a/drivers/serial/Makefile
|
||||||
===================================================================
|
+++ b/drivers/serial/Makefile
|
||||||
--- linux-2.6.25.4.orig/drivers/serial/Makefile
|
@@ -67,3 +67,4 @@
|
||||||
+++ linux-2.6.25.4/drivers/serial/Makefile
|
|
||||||
@@ -67,3 +67,4 @@ obj-$(CONFIG_SERIAL_NETX) += netx-serial
|
|
||||||
obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
|
obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
|
||||||
obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
|
obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
|
||||||
obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
|
obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
|
||||||
|
|
|
@ -11,11 +11,9 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
drivers/mtd/redboot.c | 13 ++++++++++---
|
drivers/mtd/redboot.c | 13 ++++++++++---
|
||||||
3 files changed, 18 insertions(+), 3 deletions(-)
|
3 files changed, 18 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/drivers/mtd/maps/Kconfig
|
--- a/drivers/mtd/maps/Kconfig
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/Kconfig
|
||||||
--- linux-2.6.25.4.orig/drivers/mtd/maps/Kconfig
|
@@ -262,6 +262,13 @@
|
||||||
+++ linux-2.6.25.4/drivers/mtd/maps/Kconfig
|
|
||||||
@@ -262,6 +262,13 @@ config MTD_MTX1
|
|
||||||
Flash memory access on 4G Systems MTX-1 Board. If you have one of
|
Flash memory access on 4G Systems MTX-1 Board. If you have one of
|
||||||
these boards and would like to use the flash chips on it, say 'Y'.
|
these boards and would like to use the flash chips on it, say 'Y'.
|
||||||
|
|
||||||
|
@ -29,20 +27,16 @@ Index: linux-2.6.25.4/drivers/mtd/maps/Kconfig
|
||||||
config MTD_DILNETPC
|
config MTD_DILNETPC
|
||||||
tristate "CFI Flash device mapped on DIL/Net PC"
|
tristate "CFI Flash device mapped on DIL/Net PC"
|
||||||
depends on X86 && MTD_CONCAT && MTD_PARTITIONS && MTD_CFI_INTELEXT
|
depends on X86 && MTD_CONCAT && MTD_PARTITIONS && MTD_CFI_INTELEXT
|
||||||
Index: linux-2.6.25.4/drivers/mtd/maps/Makefile
|
--- a/drivers/mtd/maps/Makefile
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/Makefile
|
||||||
--- linux-2.6.25.4.orig/drivers/mtd/maps/Makefile
|
@@ -68,3 +68,4 @@
|
||||||
+++ linux-2.6.25.4/drivers/mtd/maps/Makefile
|
|
||||||
@@ -68,3 +68,4 @@ obj-$(CONFIG_MTD_PLATRAM) += plat-ram.o
|
|
||||||
obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o
|
obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o
|
||||||
obj-$(CONFIG_MTD_MTX1) += mtx-1_flash.o
|
obj-$(CONFIG_MTD_MTX1) += mtx-1_flash.o
|
||||||
obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
|
obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
|
||||||
+obj-$(CONFIG_MTD_BCM963XX) += bcm963xx-flash.o
|
+obj-$(CONFIG_MTD_BCM963XX) += bcm963xx-flash.o
|
||||||
Index: linux-2.6.25.4/drivers/mtd/redboot.c
|
--- a/drivers/mtd/redboot.c
|
||||||
===================================================================
|
+++ b/drivers/mtd/redboot.c
|
||||||
--- linux-2.6.25.4.orig/drivers/mtd/redboot.c
|
@@ -39,7 +39,7 @@
|
||||||
+++ linux-2.6.25.4/drivers/mtd/redboot.c
|
|
||||||
@@ -39,7 +39,7 @@ static inline int redboot_checksum(struc
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +45,7 @@ Index: linux-2.6.25.4/drivers/mtd/redboot.c
|
||||||
struct mtd_partition **pparts,
|
struct mtd_partition **pparts,
|
||||||
unsigned long fis_origin)
|
unsigned long fis_origin)
|
||||||
{
|
{
|
||||||
@@ -161,6 +161,14 @@ static int parse_redboot_partitions(stru
|
@@ -161,6 +161,14 @@
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,7 +60,7 @@ Index: linux-2.6.25.4/drivers/mtd/redboot.c
|
||||||
for (i = 0; i < numslots; i++) {
|
for (i = 0; i < numslots; i++) {
|
||||||
struct fis_list *new_fl, **prev;
|
struct fis_list *new_fl, **prev;
|
||||||
|
|
||||||
@@ -183,9 +191,8 @@ static int parse_redboot_partitions(stru
|
@@ -183,9 +191,8 @@
|
||||||
new_fl->img = &buf[i];
|
new_fl->img = &buf[i];
|
||||||
if (fis_origin) {
|
if (fis_origin) {
|
||||||
buf[i].flash_base -= fis_origin;
|
buf[i].flash_base -= fis_origin;
|
||||||
|
|
|
@ -11,11 +11,9 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
arch/mips/Makefile | 2 +-
|
arch/mips/Makefile | 2 +-
|
||||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/Makefile
|
--- a/arch/mips/Makefile
|
||||||
===================================================================
|
+++ b/arch/mips/Makefile
|
||||||
--- linux-2.6.25.4.orig/arch/mips/Makefile
|
@@ -562,7 +562,7 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/Makefile
|
|
||||||
@@ -562,7 +562,7 @@ load-$(CONFIG_BCM47XX) := 0xffffffff800
|
|
||||||
|
|
||||||
core-$(CONFIG_BCM963XX) += arch/mips/bcm963xx/
|
core-$(CONFIG_BCM963XX) += arch/mips/bcm963xx/
|
||||||
cflags-$(CONFIG_BCM963XX) += -Iinclude/asm-mips/mach-bcm963xx
|
cflags-$(CONFIG_BCM963XX) += -Iinclude/asm-mips/mach-bcm963xx
|
||||||
|
|
|
@ -13,10 +13,8 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
include/asm-mips/mach-bcm963xx/bcm_intr.h | 18 +--
|
include/asm-mips/mach-bcm963xx/bcm_intr.h | 18 +--
|
||||||
3 files changed, 119 insertions(+), 220 deletions(-)
|
3 files changed, 119 insertions(+), 220 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm963xx/irq.c
|
--- a/arch/mips/bcm963xx/irq.c
|
||||||
===================================================================
|
+++ b/arch/mips/bcm963xx/irq.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm963xx/irq.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm963xx/irq.c
|
|
||||||
@@ -1,259 +1,159 @@
|
@@ -1,259 +1,159 @@
|
||||||
/*
|
/*
|
||||||
-<:copyright-gpl
|
-<:copyright-gpl
|
||||||
|
@ -382,11 +380,9 @@ Index: linux-2.6.25.4/arch/mips/bcm963xx/irq.c
|
||||||
-EXPORT_SYMBOL(request_external_irq);
|
-EXPORT_SYMBOL(request_external_irq);
|
||||||
-EXPORT_SYMBOL(BcmHalMapInterrupt);
|
-EXPORT_SYMBOL(BcmHalMapInterrupt);
|
||||||
-
|
-
|
||||||
Index: linux-2.6.25.4/drivers/serial/bcm63xx_cons.c
|
--- a/drivers/serial/bcm63xx_cons.c
|
||||||
===================================================================
|
+++ b/drivers/serial/bcm63xx_cons.c
|
||||||
--- linux-2.6.25.4.orig/drivers/serial/bcm63xx_cons.c
|
@@ -267,7 +267,7 @@
|
||||||
+++ linux-2.6.25.4/drivers/serial/bcm63xx_cons.c
|
|
||||||
@@ -267,7 +267,7 @@ static void bcm_interrupt(int irq, void
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear the interrupt
|
// Clear the interrupt
|
||||||
|
@ -395,7 +391,7 @@ Index: linux-2.6.25.4/drivers/serial/bcm63xx_cons.c
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
#endif
|
#endif
|
||||||
@@ -880,7 +880,7 @@ static int bcm63xx_cons_open(struct tty_
|
@@ -880,7 +880,7 @@
|
||||||
info->count++;
|
info->count++;
|
||||||
tty->driver_data = info;
|
tty->driver_data = info;
|
||||||
info->tty = tty;
|
info->tty = tty;
|
||||||
|
@ -404,7 +400,7 @@ Index: linux-2.6.25.4/drivers/serial/bcm63xx_cons.c
|
||||||
|
|
||||||
// Start up serial port
|
// Start up serial port
|
||||||
retval = startup(info);
|
retval = startup(info);
|
||||||
@@ -927,7 +927,7 @@ static struct tty_operations rs_ops = {
|
@@ -927,7 +927,7 @@
|
||||||
-------------------------------------------------------------------------- */
|
-------------------------------------------------------------------------- */
|
||||||
static int __init bcm63xx_serialinit(void)
|
static int __init bcm63xx_serialinit(void)
|
||||||
{
|
{
|
||||||
|
@ -413,7 +409,7 @@ Index: linux-2.6.25.4/drivers/serial/bcm63xx_cons.c
|
||||||
struct bcm_serial *info;
|
struct bcm_serial *info;
|
||||||
|
|
||||||
// Print the driver version information
|
// Print the driver version information
|
||||||
@@ -981,7 +981,12 @@ static int __init bcm63xx_serialinit(voi
|
@@ -981,7 +981,12 @@
|
||||||
*/
|
*/
|
||||||
if (!info->port)
|
if (!info->port)
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -427,11 +423,9 @@ Index: linux-2.6.25.4/drivers/serial/bcm63xx_cons.c
|
||||||
}
|
}
|
||||||
|
|
||||||
/* order matters here... the trick is that flags
|
/* order matters here... the trick is that flags
|
||||||
Index: linux-2.6.25.4/include/asm-mips/mach-bcm963xx/bcm_intr.h
|
--- a/include/asm-mips/mach-bcm963xx/bcm_intr.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/mach-bcm963xx/bcm_intr.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/mach-bcm963xx/bcm_intr.h
|
@@ -39,18 +39,12 @@
|
||||||
+++ linux-2.6.25.4/include/asm-mips/mach-bcm963xx/bcm_intr.h
|
|
||||||
@@ -39,18 +39,12 @@ struct pt_regs;
|
|
||||||
typedef int (*FN_HANDLER) (int, void *);
|
typedef int (*FN_HANDLER) (int, void *);
|
||||||
|
|
||||||
/* prototypes */
|
/* prototypes */
|
||||||
|
|
|
@ -12,11 +12,9 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
drivers/serial/bcm63xx_cons.c | 6 ++++++
|
drivers/serial/bcm63xx_cons.c | 6 ++++++
|
||||||
1 files changed, 6 insertions(+), 0 deletions(-)
|
1 files changed, 6 insertions(+), 0 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/drivers/serial/bcm63xx_cons.c
|
--- a/drivers/serial/bcm63xx_cons.c
|
||||||
===================================================================
|
+++ b/drivers/serial/bcm63xx_cons.c
|
||||||
--- linux-2.6.25.4.orig/drivers/serial/bcm63xx_cons.c
|
@@ -258,8 +258,14 @@
|
||||||
+++ linux-2.6.25.4/drivers/serial/bcm63xx_cons.c
|
|
||||||
@@ -258,8 +258,14 @@ static void bcm_interrupt(int irq, void
|
|
||||||
while (intStat) {
|
while (intStat) {
|
||||||
if (intStat & RXINT)
|
if (intStat & RXINT)
|
||||||
receive_chars(info);
|
receive_chars(info);
|
||||||
|
|
|
@ -12,10 +12,8 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
2 files changed, 1 insertions(+), 60 deletions(-)
|
2 files changed, 1 insertions(+), 60 deletions(-)
|
||||||
delete mode 100644 arch/mips/bcm963xx/int-handler.S
|
delete mode 100644 arch/mips/bcm963xx/int-handler.S
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm963xx/Makefile
|
--- a/arch/mips/bcm963xx/Makefile
|
||||||
===================================================================
|
+++ b/arch/mips/bcm963xx/Makefile
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm963xx/Makefile
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm963xx/Makefile
|
|
||||||
@@ -3,7 +3,7 @@
|
@@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004 Broadcom Corporation
|
# Copyright (C) 2004 Broadcom Corporation
|
||||||
|
@ -25,9 +23,7 @@ Index: linux-2.6.25.4/arch/mips/bcm963xx/Makefile
|
||||||
|
|
||||||
SRCBASE := $(TOPDIR)
|
SRCBASE := $(TOPDIR)
|
||||||
EXTRA_CFLAGS += -I$(SRCBASE)/include
|
EXTRA_CFLAGS += -I$(SRCBASE)/include
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm963xx/int-handler.S
|
--- a/arch/mips/bcm963xx/int-handler.S
|
||||||
===================================================================
|
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm963xx/int-handler.S
|
|
||||||
+++ /dev/null
|
+++ /dev/null
|
||||||
@@ -1,59 +0,0 @@
|
@@ -1,59 +0,0 @@
|
||||||
-/*
|
-/*
|
||||||
|
|
|
@ -11,11 +11,9 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
arch/mips/bcm963xx/time.c | 29 -----------------------------
|
arch/mips/bcm963xx/time.c | 29 -----------------------------
|
||||||
2 files changed, 0 insertions(+), 31 deletions(-)
|
2 files changed, 0 insertions(+), 31 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm963xx/setup.c
|
--- a/arch/mips/bcm963xx/setup.c
|
||||||
===================================================================
|
+++ b/arch/mips/bcm963xx/setup.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm963xx/setup.c
|
@@ -465,8 +465,6 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm963xx/setup.c
|
|
||||||
@@ -465,8 +465,6 @@ void __init plat_mem_setup(void)
|
|
||||||
_machine_halt = brcm_machine_halt;
|
_machine_halt = brcm_machine_halt;
|
||||||
pm_power_off = brcm_machine_halt;
|
pm_power_off = brcm_machine_halt;
|
||||||
|
|
||||||
|
@ -24,11 +22,9 @@ Index: linux-2.6.25.4/arch/mips/bcm963xx/setup.c
|
||||||
/* mpi initialization */
|
/* mpi initialization */
|
||||||
mpi_init();
|
mpi_init();
|
||||||
}
|
}
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm963xx/time.c
|
--- a/arch/mips/bcm963xx/time.c
|
||||||
===================================================================
|
+++ b/arch/mips/bcm963xx/time.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm963xx/time.c
|
@@ -71,26 +71,6 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm963xx/time.c
|
|
||||||
@@ -71,26 +71,6 @@ static inline unsigned long __init cal_r
|
|
||||||
return (mips_hpt_frequency / HZ);
|
return (mips_hpt_frequency / HZ);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +51,7 @@ Index: linux-2.6.25.4/arch/mips/bcm963xx/time.c
|
||||||
void __init plat_time_init(void)
|
void __init plat_time_init(void)
|
||||||
{
|
{
|
||||||
unsigned int est_freq, flags;
|
unsigned int est_freq, flags;
|
||||||
@@ -107,12 +87,3 @@ void __init plat_time_init(void)
|
@@ -107,12 +87,3 @@
|
||||||
(est_freq % 1000000) * 100 / 1000000);
|
(est_freq % 1000000) * 100 / 1000000);
|
||||||
local_irq_restore(flags);
|
local_irq_restore(flags);
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,11 +12,9 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
arch/mips/bcm963xx/time.c | 64 ++++++++++++++++++++------------------------
|
arch/mips/bcm963xx/time.c | 64 ++++++++++++++++++++------------------------
|
||||||
2 files changed, 31 insertions(+), 35 deletions(-)
|
2 files changed, 31 insertions(+), 35 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/Kconfig
|
--- a/arch/mips/Kconfig
|
||||||
===================================================================
|
+++ b/arch/mips/Kconfig
|
||||||
--- linux-2.6.25.4.orig/arch/mips/Kconfig
|
@@ -67,6 +67,8 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/Kconfig
|
|
||||||
@@ -67,6 +67,8 @@ config BCM963XX
|
|
||||||
select HW_HAS_PCI
|
select HW_HAS_PCI
|
||||||
select DMA_NONCOHERENT
|
select DMA_NONCOHERENT
|
||||||
select IRQ_CPU
|
select IRQ_CPU
|
||||||
|
@ -25,10 +23,8 @@ Index: linux-2.6.25.4/arch/mips/Kconfig
|
||||||
help
|
help
|
||||||
This is a fmaily of boards based on the Broadcom MIPS32
|
This is a fmaily of boards based on the Broadcom MIPS32
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm963xx/time.c
|
--- a/arch/mips/bcm963xx/time.c
|
||||||
===================================================================
|
+++ b/arch/mips/bcm963xx/time.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm963xx/time.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm963xx/time.c
|
|
||||||
@@ -1,6 +1,7 @@
|
@@ -1,6 +1,7 @@
|
||||||
/*
|
/*
|
||||||
<:copyright-gpl
|
<:copyright-gpl
|
||||||
|
|
|
@ -10,10 +10,8 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
drivers/mtd/maps/bcm963xx-flash.c | 11 ++++++-----
|
drivers/mtd/maps/bcm963xx-flash.c | 11 ++++++-----
|
||||||
1 files changed, 6 insertions(+), 5 deletions(-)
|
1 files changed, 6 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/drivers/mtd/maps/bcm963xx-flash.c
|
--- a/drivers/mtd/maps/bcm963xx-flash.c
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/bcm963xx-flash.c
|
||||||
--- linux-2.6.25.4.orig/drivers/mtd/maps/bcm963xx-flash.c
|
|
||||||
+++ linux-2.6.25.4/drivers/mtd/maps/bcm963xx-flash.c
|
|
||||||
@@ -1,8 +1,7 @@
|
@@ -1,8 +1,7 @@
|
||||||
/*
|
/*
|
||||||
- * $Id$
|
- * $Id$
|
||||||
|
@ -25,7 +23,7 @@ Index: linux-2.6.25.4/drivers/mtd/maps/bcm963xx-flash.c
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -184,11 +183,13 @@ static int bcm963xx_parts_size = sizeof(
|
@@ -184,11 +183,13 @@
|
||||||
static int bcm963xx_detect_cfe(struct mtd_info *master)
|
static int bcm963xx_detect_cfe(struct mtd_info *master)
|
||||||
{
|
{
|
||||||
int idoffset = 0x4e0;
|
int idoffset = 0x4e0;
|
||||||
|
|
|
@ -17,10 +17,8 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org>
|
||||||
include/asm-mips/mach-bcm963xx/board.h | 2 ++
|
include/asm-mips/mach-bcm963xx/board.h | 2 ++
|
||||||
4 files changed, 25 insertions(+), 11 deletions(-)
|
4 files changed, 25 insertions(+), 11 deletions(-)
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm963xx/setup.c
|
--- a/arch/mips/bcm963xx/setup.c
|
||||||
===================================================================
|
+++ b/arch/mips/bcm963xx/setup.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm963xx/setup.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm963xx/setup.c
|
|
||||||
@@ -43,6 +43,7 @@
|
@@ -43,6 +43,7 @@
|
||||||
#include <asm/bootinfo.h>
|
#include <asm/bootinfo.h>
|
||||||
#include <asm/cpu.h>
|
#include <asm/cpu.h>
|
||||||
|
@ -29,7 +27,7 @@ Index: linux-2.6.25.4/arch/mips/bcm963xx/setup.c
|
||||||
|
|
||||||
extern void brcm_time_init(void);
|
extern void brcm_time_init(void);
|
||||||
extern int boot_loader_type;
|
extern int boot_loader_type;
|
||||||
@@ -465,6 +466,9 @@ void __init plat_mem_setup(void)
|
@@ -465,6 +466,9 @@
|
||||||
_machine_halt = brcm_machine_halt;
|
_machine_halt = brcm_machine_halt;
|
||||||
pm_power_off = brcm_machine_halt;
|
pm_power_off = brcm_machine_halt;
|
||||||
|
|
||||||
|
@ -41,10 +39,8 @@ Index: linux-2.6.25.4/arch/mips/bcm963xx/setup.c
|
||||||
+ mpi_init();
|
+ mpi_init();
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
Index: linux-2.6.25.4/arch/mips/bcm963xx/time.c
|
--- a/arch/mips/bcm963xx/time.c
|
||||||
===================================================================
|
+++ b/arch/mips/bcm963xx/time.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/bcm963xx/time.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/bcm963xx/time.c
|
|
||||||
@@ -40,6 +40,8 @@
|
@@ -40,6 +40,8 @@
|
||||||
#include <6348_intr.h>
|
#include <6348_intr.h>
|
||||||
#include <bcm_map_part.h>
|
#include <bcm_map_part.h>
|
||||||
|
@ -54,7 +50,7 @@ Index: linux-2.6.25.4/arch/mips/bcm963xx/time.c
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* calculateCpuSpeed()
|
* calculateCpuSpeed()
|
||||||
@@ -63,11 +65,12 @@ static inline unsigned long __init calcu
|
@@ -63,11 +65,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -68,10 +64,8 @@ Index: linux-2.6.25.4/arch/mips/bcm963xx/time.c
|
||||||
|
|
||||||
printk("CPU frequency %lu.%02lu MHz\n", cpu_clock / 1000000,
|
printk("CPU frequency %lu.%02lu MHz\n", cpu_clock / 1000000,
|
||||||
(cpu_clock % 1000000) * 100 / 1000000);
|
(cpu_clock % 1000000) * 100 / 1000000);
|
||||||
Index: linux-2.6.25.4/arch/mips/pci/pci-bcm96348.c
|
--- a/arch/mips/pci/pci-bcm96348.c
|
||||||
===================================================================
|
+++ b/arch/mips/pci/pci-bcm96348.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/pci/pci-bcm96348.c
|
|
||||||
+++ linux-2.6.25.4/arch/mips/pci/pci-bcm96348.c
|
|
||||||
@@ -21,6 +21,8 @@
|
@@ -21,6 +21,8 @@
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
|
@ -81,7 +75,7 @@ Index: linux-2.6.25.4/arch/mips/pci/pci-bcm96348.c
|
||||||
#include <bcmpci.h>
|
#include <bcmpci.h>
|
||||||
|
|
||||||
static struct resource bcm_pci_io_resource = {
|
static struct resource bcm_pci_io_resource = {
|
||||||
@@ -47,16 +49,19 @@ struct pci_controller bcm96348_controlle
|
@@ -47,16 +49,19 @@
|
||||||
|
|
||||||
static __init int bcm96348_pci_init(void)
|
static __init int bcm96348_pci_init(void)
|
||||||
{
|
{
|
||||||
|
@ -110,11 +104,9 @@ Index: linux-2.6.25.4/arch/mips/pci/pci-bcm96348.c
|
||||||
}
|
}
|
||||||
|
|
||||||
arch_initcall(bcm96348_pci_init);
|
arch_initcall(bcm96348_pci_init);
|
||||||
Index: linux-2.6.25.4/include/asm-mips/mach-bcm963xx/board.h
|
--- a/include/asm-mips/mach-bcm963xx/board.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/mach-bcm963xx/board.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/mach-bcm963xx/board.h
|
@@ -369,5 +369,7 @@
|
||||||
+++ linux-2.6.25.4/include/asm-mips/mach-bcm963xx/board.h
|
|
||||||
@@ -369,5 +369,7 @@ void kerSysWakeupMonitorTask( void );
|
|
||||||
|
|
||||||
extern int boot_loader_type;
|
extern int boot_loader_type;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ ARCH:=cris
|
||||||
BOARD:=etrax
|
BOARD:=etrax
|
||||||
BOARDNAME:=Foxboard (ETRAX 100LX)
|
BOARDNAME:=Foxboard (ETRAX 100LX)
|
||||||
FEATURES:=squashfs jffs2 broken
|
FEATURES:=squashfs jffs2 broken
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: linux-2.6.25.4/arch/cris/arch-v10/boot/Makefile
|
--- a/arch/cris/arch-v10/boot/Makefile
|
||||||
===================================================================
|
+++ b/arch/cris/arch-v10/boot/Makefile
|
||||||
--- linux-2.6.25.4.orig/arch/cris/arch-v10/boot/Makefile 2008-06-09 17:00:36.381498250 +0200
|
|
||||||
+++ linux-2.6.25.4/arch/cris/arch-v10/boot/Makefile 2008-06-09 17:00:40.967491000 +0200
|
|
||||||
@@ -2,7 +2,6 @@
|
@@ -2,7 +2,6 @@
|
||||||
# arch/cris/arch-v10/boot/Makefile
|
# arch/cris/arch-v10/boot/Makefile
|
||||||
#
|
#
|
||||||
|
@ -18,10 +16,8 @@ Index: linux-2.6.25.4/arch/cris/arch-v10/boot/Makefile
|
||||||
|
|
||||||
$(obj)/zImage: $(obj)/compressed/vmlinux
|
$(obj)/zImage: $(obj)/compressed/vmlinux
|
||||||
@cp $< $@
|
@cp $< $@
|
||||||
Index: linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/Makefile
|
--- a/arch/cris/arch-v10/boot/compressed/Makefile
|
||||||
===================================================================
|
+++ b/arch/cris/arch-v10/boot/compressed/Makefile
|
||||||
--- linux-2.6.25.4.orig/arch/cris/arch-v10/boot/compressed/Makefile 2008-06-09 17:00:36.381498250 +0200
|
|
||||||
+++ linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/Makefile 2008-06-09 17:00:40.967491000 +0200
|
|
||||||
@@ -2,12 +2,10 @@
|
@@ -2,12 +2,10 @@
|
||||||
# arch/cris/arch-v10/boot/compressed/Makefile
|
# arch/cris/arch-v10/boot/compressed/Makefile
|
||||||
#
|
#
|
||||||
|
@ -49,10 +45,8 @@ Index: linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/Makefile
|
||||||
|
|
||||||
$(obj)/vmlinux: $(obj)/piggy.gz $(obj)/decompress.bin FORCE
|
$(obj)/vmlinux: $(obj)/piggy.gz $(obj)/decompress.bin FORCE
|
||||||
$(call if_changed,image)
|
$(call if_changed,image)
|
||||||
Index: linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/misc.c
|
--- a/arch/cris/arch-v10/boot/compressed/misc.c
|
||||||
===================================================================
|
+++ b/arch/cris/arch-v10/boot/compressed/misc.c
|
||||||
--- linux-2.6.25.4.orig/arch/cris/arch-v10/boot/compressed/misc.c 2008-06-09 17:00:36.381498250 +0200
|
|
||||||
+++ linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/misc.c 2008-06-09 17:00:40.967491000 +0200
|
|
||||||
@@ -5,7 +5,7 @@
|
@@ -5,7 +5,7 @@
|
||||||
* adapted for Linux.
|
* adapted for Linux.
|
||||||
*
|
*
|
||||||
|
@ -117,10 +111,8 @@ Index: linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/misc.c
|
||||||
- puts("Done. Now booting the kernel.\n");
|
- puts("Done. Now booting the kernel.\n");
|
||||||
+ putstr("Done. Now booting the kernel.\n");
|
+ putstr("Done. Now booting the kernel.\n");
|
||||||
}
|
}
|
||||||
Index: linux-2.6.25.4/arch/cris/arch-v10/mm/init.c
|
--- a/arch/cris/arch-v10/mm/init.c
|
||||||
===================================================================
|
+++ b/arch/cris/arch-v10/mm/init.c
|
||||||
--- linux-2.6.25.4.orig/arch/cris/arch-v10/mm/init.c 2008-06-09 17:00:36.385496500 +0200
|
|
||||||
+++ linux-2.6.25.4/arch/cris/arch-v10/mm/init.c 2008-06-09 17:00:40.967491000 +0200
|
|
||||||
@@ -184,6 +184,9 @@
|
@@ -184,6 +184,9 @@
|
||||||
|
|
||||||
free_area_init_node(0, &contig_page_data, zones_size, PAGE_OFFSET >> PAGE_SHIFT, 0);
|
free_area_init_node(0, &contig_page_data, zones_size, PAGE_OFFSET >> PAGE_SHIFT, 0);
|
||||||
|
@ -131,10 +123,8 @@ Index: linux-2.6.25.4/arch/cris/arch-v10/mm/init.c
|
||||||
|
|
||||||
/* Initialize remaps of some I/O-ports. It is important that this
|
/* Initialize remaps of some I/O-ports. It is important that this
|
||||||
* is called before any driver is initialized.
|
* is called before any driver is initialized.
|
||||||
Index: linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/head.S
|
--- a/arch/cris/arch-v10/boot/compressed/head.S
|
||||||
===================================================================
|
+++ b/arch/cris/arch-v10/boot/compressed/head.S
|
||||||
--- linux-2.6.25.4.orig/arch/cris/arch-v10/boot/compressed/head.S 2008-06-09 17:00:36.385496500 +0200
|
|
||||||
+++ linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/head.S 2008-06-09 17:00:40.971489250 +0200
|
|
||||||
@@ -10,13 +10,14 @@
|
@@ -10,13 +10,14 @@
|
||||||
|
|
||||||
#define ASSEMBLER_MACROS_ONLY
|
#define ASSEMBLER_MACROS_ONLY
|
||||||
|
@ -289,10 +279,8 @@ Index: linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/head.S
|
||||||
+cmd_line_addr:
|
+cmd_line_addr:
|
||||||
.dword 0
|
.dword 0
|
||||||
#include "../../lib/hw_settings.S"
|
#include "../../lib/hw_settings.S"
|
||||||
Index: linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/decompress.ld
|
--- a/arch/cris/arch-v10/boot/compressed/decompress.ld
|
||||||
===================================================================
|
+++ b/arch/cris/arch-v10/boot/compressed/decompress.ld
|
||||||
--- linux-2.6.25.4.orig/arch/cris/arch-v10/boot/compressed/decompress.ld 2008-05-15 17:00:12.000000000 +0200
|
|
||||||
+++ linux-2.6.25.4/arch/cris/arch-v10/boot/compressed/decompress.ld 2008-06-09 17:12:54.930425750 +0200
|
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-OUTPUT_FORMAT(elf32-us-cris)
|
-OUTPUT_FORMAT(elf32-us-cris)
|
||||||
+OUTPUT_FORMAT(elf32-cris)
|
+OUTPUT_FORMAT(elf32-cris)
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/mtd/chips/cfi_cmdset_0002.c
|
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
|
||||||
===================================================================
|
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
|
||||||
--- linux-2.6.25.4.orig/drivers/mtd/chips/cfi_cmdset_0002.c
|
@@ -297,8 +297,8 @@
|
||||||
+++ linux-2.6.25.4/drivers/mtd/chips/cfi_cmdset_0002.c
|
|
||||||
@@ -297,8 +297,8 @@ struct mtd_info *cfi_cmdset_0002(struct
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,14 @@
|
||||||
Index: linux-2.6.25.4/arch/cris/arch-v10/lib/hw_settings.S
|
--- a/arch/cris/arch-v10/lib/hw_settings.S
|
||||||
===================================================================
|
+++ b/arch/cris/arch-v10/lib/hw_settings.S
|
||||||
--- linux-2.6.25.4.orig/arch/cris/arch-v10/lib/hw_settings.S
|
|
||||||
+++ linux-2.6.25.4/arch/cris/arch-v10/lib/hw_settings.S
|
|
||||||
@@ -60,3 +60,5 @@
|
@@ -60,3 +60,5 @@
|
||||||
.dword R_PORT_PB_SET
|
.dword R_PORT_PB_SET
|
||||||
.dword PB_SET_VALUE
|
.dword PB_SET_VALUE
|
||||||
.dword 0 ; No more register values
|
.dword 0 ; No more register values
|
||||||
+ .ascii "ACME_PART_MAGIC"
|
+ .ascii "ACME_PART_MAGIC"
|
||||||
+ .dword 0xdeadc0de
|
+ .dword 0xdeadc0de
|
||||||
Index: linux-2.6.25.4/arch/cris/arch-v10/drivers/axisflashmap.c
|
--- a/arch/cris/arch-v10/drivers/axisflashmap.c
|
||||||
===================================================================
|
+++ b/arch/cris/arch-v10/drivers/axisflashmap.c
|
||||||
--- linux-2.6.25.4.orig/arch/cris/arch-v10/drivers/axisflashmap.c
|
@@ -113,7 +113,7 @@
|
||||||
+++ linux-2.6.25.4/arch/cris/arch-v10/drivers/axisflashmap.c
|
|
||||||
@@ -113,7 +113,7 @@ static struct map_info map_cse1 = {
|
|
||||||
|
|
||||||
/* If no partition-table was found, we use this default-set. */
|
/* If no partition-table was found, we use this default-set. */
|
||||||
#define MAX_PARTITIONS 7
|
#define MAX_PARTITIONS 7
|
||||||
|
@ -21,7 +17,7 @@ Index: linux-2.6.25.4/arch/cris/arch-v10/drivers/axisflashmap.c
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default flash size is 2MB. CONFIG_ETRAX_PTABLE_SECTOR is most likely the
|
* Default flash size is 2MB. CONFIG_ETRAX_PTABLE_SECTOR is most likely the
|
||||||
@@ -122,19 +122,14 @@ static struct map_info map_cse1 = {
|
@@ -122,19 +122,14 @@
|
||||||
*/
|
*/
|
||||||
static struct mtd_partition axis_default_partitions[NUM_DEFAULT_PARTITIONS] = {
|
static struct mtd_partition axis_default_partitions[NUM_DEFAULT_PARTITIONS] = {
|
||||||
{
|
{
|
||||||
|
@ -46,7 +42,7 @@ Index: linux-2.6.25.4/arch/cris/arch-v10/drivers/axisflashmap.c
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -281,6 +276,11 @@ static int __init init_axis_flash(void)
|
@@ -281,6 +276,11 @@
|
||||||
struct partitiontable_entry *ptable;
|
struct partitiontable_entry *ptable;
|
||||||
int use_default_ptable = 1; /* Until proven otherwise. */
|
int use_default_ptable = 1; /* Until proven otherwise. */
|
||||||
const char pmsg[] = " /dev/flash%d at 0x%08x, size 0x%08x\n";
|
const char pmsg[] = " /dev/flash%d at 0x%08x, size 0x%08x\n";
|
||||||
|
@ -58,7 +54,7 @@ Index: linux-2.6.25.4/arch/cris/arch-v10/drivers/axisflashmap.c
|
||||||
|
|
||||||
if (!(mymtd = flash_probe())) {
|
if (!(mymtd = flash_probe())) {
|
||||||
/* There's no reason to use this module if no flash chip can
|
/* There's no reason to use this module if no flash chip can
|
||||||
@@ -292,6 +292,31 @@ static int __init init_axis_flash(void)
|
@@ -292,6 +292,31 @@
|
||||||
mymtd->name, mymtd->size);
|
mymtd->name, mymtd->size);
|
||||||
axisflash_mtd = mymtd;
|
axisflash_mtd = mymtd;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/serial/crisv10.c
|
--- a/drivers/serial/crisv10.c
|
||||||
===================================================================
|
+++ b/drivers/serial/crisv10.c
|
||||||
--- linux-2.6.25.4.orig/drivers/serial/crisv10.c
|
@@ -27,6 +27,7 @@
|
||||||
+++ linux-2.6.25.4/drivers/serial/crisv10.c
|
|
||||||
@@ -27,6 +27,7 @@ static char *serial_version = "$Revision
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/mutex.h>
|
#include <linux/mutex.h>
|
||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
|
@ -10,7 +8,7 @@ Index: linux-2.6.25.4/drivers/serial/crisv10.c
|
||||||
|
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/irq.h>
|
#include <asm/irq.h>
|
||||||
@@ -4384,6 +4385,7 @@ static const struct tty_operations rs_op
|
@@ -4384,6 +4385,7 @@
|
||||||
.tiocmset = rs_tiocmset
|
.tiocmset = rs_tiocmset
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -18,7 +16,7 @@ Index: linux-2.6.25.4/drivers/serial/crisv10.c
|
||||||
static int __init
|
static int __init
|
||||||
rs_init(void)
|
rs_init(void)
|
||||||
{
|
{
|
||||||
@@ -4518,6 +4520,24 @@ rs_init(void)
|
@@ -4518,6 +4520,24 @@
|
||||||
#endif
|
#endif
|
||||||
#endif /* CONFIG_SVINTO_SIM */
|
#endif /* CONFIG_SVINTO_SIM */
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
diff -x .org -x .orig -x '.c*' -x '.h*' -x .git -x .git -urN clean-2.6.25-rc8/drivers/usb/Makefile source-2.6.25-rc8/drivers/usb/Makefile
|
--- a/drivers/usb/Makefile
|
||||||
--- clean-2.6.25-rc8/drivers/usb/Makefile 2008-04-07 10:26:24.000000000 +0200
|
+++ b/drivers/usb/Makefile
|
||||||
+++ source-2.6.25-rc8/drivers/usb/Makefile 2008-04-07 10:29:40.000000000 +0200
|
|
||||||
@@ -16,6 +16,7 @@
|
@@ -16,6 +16,7 @@
|
||||||
obj-$(CONFIG_USB_SL811_HCD) += host/
|
obj-$(CONFIG_USB_SL811_HCD) += host/
|
||||||
obj-$(CONFIG_USB_U132_HCD) += host/
|
obj-$(CONFIG_USB_U132_HCD) += host/
|
||||||
|
@ -9,18 +8,16 @@ diff -x .org -x .orig -x '.c*' -x '.h*' -x .git -x .git -urN clean-2.6.25-rc8/dr
|
||||||
|
|
||||||
obj-$(CONFIG_USB_ACM) += class/
|
obj-$(CONFIG_USB_ACM) += class/
|
||||||
obj-$(CONFIG_USB_PRINTER) += class/
|
obj-$(CONFIG_USB_PRINTER) += class/
|
||||||
diff -x .org -x .orig -x '.c*' -x '.h*' -x .git -x .git -urN clean-2.6.25-rc8/drivers/usb/host/Makefile source-2.6.25-rc8/drivers/usb/host/Makefile
|
--- a/drivers/usb/host/Makefile
|
||||||
--- clean-2.6.25-rc8/drivers/usb/host/Makefile 2008-04-07 10:26:24.000000000 +0200
|
+++ b/drivers/usb/host/Makefile
|
||||||
+++ source-2.6.25-rc8/drivers/usb/host/Makefile 2008-04-07 10:29:40.000000000 +0200
|
|
||||||
@@ -17,3 +17,5 @@
|
@@ -17,3 +17,5 @@
|
||||||
obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o
|
obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o
|
||||||
obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
|
obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
|
||||||
|
|
||||||
+#obj-$(CONFIG_USB_CARNEOL) += hc-crisv10.o
|
+#obj-$(CONFIG_USB_CARNEOL) += hc-crisv10.o
|
||||||
+obj-$(CONFIG_ETRAX_USB_HOST) += hc-crisv10.o
|
+obj-$(CONFIG_ETRAX_USB_HOST) += hc-crisv10.o
|
||||||
diff -x .org -x .orig -x '.c*' -x '.h*' -x .git -x .git -urN clean-2.6.25-rc8/drivers/usb/host/hc-cris-dbg.h source-2.6.25-rc8/drivers/usb/host/hc-cris-dbg.h
|
--- /dev/null
|
||||||
--- clean-2.6.25-rc8/drivers/usb/host/hc-cris-dbg.h 1970-01-01 01:00:00.000000000 +0100
|
+++ b/drivers/usb/host/hc-cris-dbg.h
|
||||||
+++ source-2.6.25-rc8/drivers/usb/host/hc-cris-dbg.h 2008-04-07 10:29:40.000000000 +0200
|
|
||||||
@@ -0,0 +1,143 @@
|
@@ -0,0 +1,143 @@
|
||||||
+
|
+
|
||||||
+/* macros for debug output */
|
+/* macros for debug output */
|
||||||
|
@ -165,9 +162,8 @@ diff -x .org -x .orig -x '.c*' -x '.h*' -x .git -x .git -urN clean-2.6.25-rc8/dr
|
||||||
+ }; \
|
+ }; \
|
||||||
+ s; \
|
+ s; \
|
||||||
+ })
|
+ })
|
||||||
diff -x .org -x .orig -x '.c*' -x '.h*' -x .git -x .git -urN clean-2.6.25-rc8/drivers/usb/host/hc-crisv10.c source-2.6.25-rc8/drivers/usb/host/hc-crisv10.c
|
--- /dev/null
|
||||||
--- clean-2.6.25-rc8/drivers/usb/host/hc-crisv10.c 1970-01-01 01:00:00.000000000 +0100
|
+++ b/drivers/usb/host/hc-crisv10.c
|
||||||
+++ source-2.6.25-rc8/drivers/usb/host/hc-crisv10.c 2008-04-07 10:29:40.000000000 +0200
|
|
||||||
@@ -0,0 +1,4800 @@
|
@@ -0,0 +1,4800 @@
|
||||||
+/*
|
+/*
|
||||||
+ *
|
+ *
|
||||||
|
@ -4969,9 +4965,8 @@ diff -x .org -x .orig -x '.c*' -x '.h*' -x .git -x .git -urN clean-2.6.25-rc8/dr
|
||||||
+/* Module hooks */
|
+/* Module hooks */
|
||||||
+module_init(module_hcd_init);
|
+module_init(module_hcd_init);
|
||||||
+module_exit(module_hcd_exit);
|
+module_exit(module_hcd_exit);
|
||||||
diff -x .org -x .orig -x '.c*' -x '.h*' -x .git -x .git -urN clean-2.6.25-rc8/drivers/usb/host/hc-crisv10.h source-2.6.25-rc8/drivers/usb/host/hc-crisv10.h
|
--- /dev/null
|
||||||
--- clean-2.6.25-rc8/drivers/usb/host/hc-crisv10.h 1970-01-01 01:00:00.000000000 +0100
|
+++ b/drivers/usb/host/hc-crisv10.h
|
||||||
+++ source-2.6.25-rc8/drivers/usb/host/hc-crisv10.h 2008-04-07 10:29:40.000000000 +0200
|
|
||||||
@@ -0,0 +1,331 @@
|
@@ -0,0 +1,331 @@
|
||||||
+#ifndef __LINUX_ETRAX_USB_H
|
+#ifndef __LINUX_ETRAX_USB_H
|
||||||
+#define __LINUX_ETRAX_USB_H
|
+#define __LINUX_ETRAX_USB_H
|
||||||
|
|
|
@ -10,7 +10,7 @@ ARCH:=mips
|
||||||
BOARD:=ifxmips
|
BOARD:=ifxmips
|
||||||
BOARDNAME:=Infineon Mips
|
BOARDNAME:=Infineon Mips
|
||||||
FEATURES:=squashfs jffs2
|
FEATURES:=squashfs jffs2
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/arch/mips/Kconfig
|
--- a/arch/mips/Kconfig
|
||||||
===================================================================
|
+++ b/arch/mips/Kconfig
|
||||||
--- linux-2.6.25.4.orig/arch/mips/Kconfig
|
@@ -78,6 +78,21 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/Kconfig
|
|
||||||
@@ -78,6 +78,21 @@ config MIPS_COBALT
|
|
||||||
select SYS_SUPPORTS_LITTLE_ENDIAN
|
select SYS_SUPPORTS_LITTLE_ENDIAN
|
||||||
select GENERIC_HARDIRQS_NO__DO_IRQ
|
select GENERIC_HARDIRQS_NO__DO_IRQ
|
||||||
|
|
||||||
|
@ -24,7 +22,7 @@ Index: linux-2.6.25.4/arch/mips/Kconfig
|
||||||
config MACH_DECSTATION
|
config MACH_DECSTATION
|
||||||
bool "DECstations"
|
bool "DECstations"
|
||||||
select BOOT_ELF32
|
select BOOT_ELF32
|
||||||
@@ -693,6 +706,7 @@ source "arch/mips/sibyte/Kconfig"
|
@@ -693,6 +708,7 @@
|
||||||
source "arch/mips/tx4927/Kconfig"
|
source "arch/mips/tx4927/Kconfig"
|
||||||
source "arch/mips/tx4938/Kconfig"
|
source "arch/mips/tx4938/Kconfig"
|
||||||
source "arch/mips/vr41xx/Kconfig"
|
source "arch/mips/vr41xx/Kconfig"
|
||||||
|
@ -32,11 +30,9 @@ Index: linux-2.6.25.4/arch/mips/Kconfig
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
Index: linux-2.6.25.4/arch/mips/Makefile
|
--- a/arch/mips/Makefile
|
||||||
===================================================================
|
+++ b/arch/mips/Makefile
|
||||||
--- linux-2.6.25.4.orig/arch/mips/Makefile
|
@@ -282,6 +282,13 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/Makefile
|
|
||||||
@@ -282,6 +282,13 @@ core-$(CONFIG_MIPS_COBALT) += arch/mips/
|
|
||||||
cflags-$(CONFIG_MIPS_COBALT) += -Iinclude/asm-mips/mach-cobalt
|
cflags-$(CONFIG_MIPS_COBALT) += -Iinclude/asm-mips/mach-cobalt
|
||||||
load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000
|
load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000
|
||||||
|
|
||||||
|
@ -50,10 +46,8 @@ Index: linux-2.6.25.4/arch/mips/Makefile
|
||||||
#
|
#
|
||||||
# DECstation family
|
# DECstation family
|
||||||
#
|
#
|
||||||
Index: linux-2.6.25.4/include/asm-mips/bootinfo.h
|
--- a/include/asm-mips/bootinfo.h
|
||||||
===================================================================
|
+++ b/include/asm-mips/bootinfo.h
|
||||||
--- linux-2.6.25.4.orig/include/asm-mips/bootinfo.h
|
|
||||||
+++ linux-2.6.25.4/include/asm-mips/bootinfo.h
|
|
||||||
@@ -94,6 +94,12 @@
|
@@ -94,6 +94,12 @@
|
||||||
#define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
|
#define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
|
||||||
#define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
|
#define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
|
||||||
|
@ -67,11 +61,9 @@ Index: linux-2.6.25.4/include/asm-mips/bootinfo.h
|
||||||
#define CL_SIZE COMMAND_LINE_SIZE
|
#define CL_SIZE COMMAND_LINE_SIZE
|
||||||
|
|
||||||
extern char *system_type;
|
extern char *system_type;
|
||||||
Index: linux-2.6.25.4/arch/mips/kernel/traps.c
|
--- a/arch/mips/kernel/traps.c
|
||||||
===================================================================
|
+++ b/arch/mips/kernel/traps.c
|
||||||
--- linux-2.6.25.4.orig/arch/mips/kernel/traps.c
|
@@ -1379,6 +1379,7 @@
|
||||||
+++ linux-2.6.25.4/arch/mips/kernel/traps.c
|
|
||||||
@@ -1379,6 +1379,7 @@ void __cpuinit per_cpu_trap_init(void)
|
|
||||||
*/
|
*/
|
||||||
if (cpu_has_mips_r2) {
|
if (cpu_has_mips_r2) {
|
||||||
cp0_compare_irq = (read_c0_intctl() >> 29) & 7;
|
cp0_compare_irq = (read_c0_intctl() >> 29) & 7;
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: linux-2.6.25.4/drivers/char/Makefile
|
--- a/drivers/char/Makefile
|
||||||
===================================================================
|
+++ b/drivers/char/Makefile
|
||||||
--- linux-2.6.25.4.orig/drivers/char/Makefile 2008-06-07 10:59:30.000000000 +0100
|
|
||||||
+++ linux-2.6.25.4/drivers/char/Makefile 2008-06-07 10:59:42.000000000 +0100
|
|
||||||
@@ -113,6 +113,12 @@
|
@@ -113,6 +113,12 @@
|
||||||
obj-$(CONFIG_JS_RTC) += js-rtc.o
|
obj-$(CONFIG_JS_RTC) += js-rtc.o
|
||||||
js-rtc-y = rtc.o
|
js-rtc-y = rtc.o
|
||||||
|
@ -15,19 +13,15 @@ Index: linux-2.6.25.4/drivers/char/Makefile
|
||||||
# Files generated that shall be removed upon make clean
|
# Files generated that shall be removed upon make clean
|
||||||
clean-files := consolemap_deftbl.c defkeymap.c
|
clean-files := consolemap_deftbl.c defkeymap.c
|
||||||
|
|
||||||
Index: linux-2.6.25.4/drivers/mtd/maps/Makefile
|
--- a/drivers/mtd/maps/Makefile
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/Makefile
|
||||||
--- linux-2.6.25.4.orig/drivers/mtd/maps/Makefile 2008-06-07 10:59:30.000000000 +0100
|
|
||||||
+++ linux-2.6.25.4/drivers/mtd/maps/Makefile 2008-06-07 10:59:42.000000000 +0100
|
|
||||||
@@ -68,3 +68,4 @@
|
@@ -68,3 +68,4 @@
|
||||||
obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o
|
obj-$(CONFIG_MTD_OMAP_NOR) += omap_nor.o
|
||||||
obj-$(CONFIG_MTD_MTX1) += mtx-1_flash.o
|
obj-$(CONFIG_MTD_MTX1) += mtx-1_flash.o
|
||||||
obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
|
obj-$(CONFIG_MTD_INTEL_VR_NOR) += intel_vr_nor.o
|
||||||
+obj-$(CONFIG_MTD_IFXMIPS) += ifxmips.o
|
+obj-$(CONFIG_MTD_IFXMIPS) += ifxmips.o
|
||||||
Index: linux-2.6.25.4/drivers/net/Kconfig
|
--- a/drivers/net/Kconfig
|
||||||
===================================================================
|
+++ b/drivers/net/Kconfig
|
||||||
--- linux-2.6.25.4.orig/drivers/net/Kconfig 2008-06-07 10:59:30.000000000 +0100
|
|
||||||
+++ linux-2.6.25.4/drivers/net/Kconfig 2008-06-07 10:59:42.000000000 +0100
|
|
||||||
@@ -351,6 +351,12 @@
|
@@ -351,6 +351,12 @@
|
||||||
|
|
||||||
source "drivers/net/arm/Kconfig"
|
source "drivers/net/arm/Kconfig"
|
||||||
|
@ -41,10 +35,8 @@ Index: linux-2.6.25.4/drivers/net/Kconfig
|
||||||
config AX88796
|
config AX88796
|
||||||
tristate "ASIX AX88796 NE2000 clone support"
|
tristate "ASIX AX88796 NE2000 clone support"
|
||||||
depends on ARM || MIPS || SUPERH
|
depends on ARM || MIPS || SUPERH
|
||||||
Index: linux-2.6.25.4/drivers/serial/Kconfig
|
--- a/drivers/serial/Kconfig
|
||||||
===================================================================
|
+++ b/drivers/serial/Kconfig
|
||||||
--- linux-2.6.25.4.orig/drivers/serial/Kconfig 2008-06-07 10:59:30.000000000 +0100
|
|
||||||
+++ linux-2.6.25.4/drivers/serial/Kconfig 2008-06-07 10:59:42.000000000 +0100
|
|
||||||
@@ -1327,6 +1327,14 @@
|
@@ -1327,6 +1327,14 @@
|
||||||
Currently, only 8250 compatible ports are supported, but
|
Currently, only 8250 compatible ports are supported, but
|
||||||
others can easily be added.
|
others can easily be added.
|
||||||
|
@ -60,20 +52,16 @@ Index: linux-2.6.25.4/drivers/serial/Kconfig
|
||||||
config SERIAL_QE
|
config SERIAL_QE
|
||||||
tristate "Freescale QUICC Engine serial port support"
|
tristate "Freescale QUICC Engine serial port support"
|
||||||
depends on QUICC_ENGINE
|
depends on QUICC_ENGINE
|
||||||
Index: linux-2.6.25.4/drivers/serial/Makefile
|
--- a/drivers/serial/Makefile
|
||||||
===================================================================
|
+++ b/drivers/serial/Makefile
|
||||||
--- linux-2.6.25.4.orig/drivers/serial/Makefile 2008-06-07 10:59:30.000000000 +0100
|
|
||||||
+++ linux-2.6.25.4/drivers/serial/Makefile 2008-06-07 10:59:42.000000000 +0100
|
|
||||||
@@ -66,4 +66,5 @@
|
@@ -66,4 +66,5 @@
|
||||||
obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
|
obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
|
||||||
obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
|
obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
|
||||||
obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
|
obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
|
||||||
+obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
|
+obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips_asc.o
|
||||||
obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
|
obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
|
||||||
Index: linux-2.6.25.4/drivers/watchdog/Makefile
|
--- a/drivers/watchdog/Makefile
|
||||||
===================================================================
|
+++ b/drivers/watchdog/Makefile
|
||||||
--- linux-2.6.25.4.orig/drivers/watchdog/Makefile 2008-06-07 10:59:30.000000000 +0100
|
|
||||||
+++ linux-2.6.25.4/drivers/watchdog/Makefile 2008-06-07 10:59:42.000000000 +0100
|
|
||||||
@@ -96,6 +96,7 @@
|
@@ -96,6 +96,7 @@
|
||||||
obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
|
obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
|
||||||
obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
|
obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
|
||||||
|
@ -82,10 +70,8 @@ Index: linux-2.6.25.4/drivers/watchdog/Makefile
|
||||||
|
|
||||||
# PARISC Architecture
|
# PARISC Architecture
|
||||||
|
|
||||||
Index: linux-2.6.25.4/drivers/net/Makefile
|
--- a/drivers/net/Makefile
|
||||||
===================================================================
|
+++ b/drivers/net/Makefile
|
||||||
--- linux-2.6.25.4.orig/drivers/net/Makefile 2008-06-07 11:00:16.000000000 +0100
|
|
||||||
+++ linux-2.6.25.4/drivers/net/Makefile 2008-06-07 11:01:08.000000000 +0100
|
|
||||||
@@ -254,3 +254,4 @@
|
@@ -254,3 +254,4 @@
|
||||||
obj-$(CONFIG_NETXEN_NIC) += netxen/
|
obj-$(CONFIG_NETXEN_NIC) += netxen/
|
||||||
obj-$(CONFIG_NIU) += niu.o
|
obj-$(CONFIG_NIU) += niu.o
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.25.4/drivers/mtd/chips/cfi_cmdset_0002.c
|
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
|
||||||
===================================================================
|
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
|
||||||
--- linux-2.6.25.4.orig/drivers/mtd/chips/cfi_cmdset_0002.c
|
@@ -1015,7 +1015,9 @@
|
||||||
+++ linux-2.6.25.4/drivers/mtd/chips/cfi_cmdset_0002.c
|
|
||||||
@@ -1015,7 +1015,9 @@ static int __xipram do_write_oneword(str
|
|
||||||
int retry_cnt = 0;
|
int retry_cnt = 0;
|
||||||
|
|
||||||
adr += chip->start;
|
adr += chip->start;
|
||||||
|
|
|
@ -12,7 +12,7 @@ BOARDNAME:=Intel IXP4xx
|
||||||
FEATURES:=squashfs
|
FEATURES:=squashfs
|
||||||
SUBTARGETS=generic harddisk
|
SUBTARGETS=generic harddisk
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ ARCH:=powerpc
|
||||||
BOARD:=ps3
|
BOARD:=ps3
|
||||||
BOARDNAME:=Sony PS3 Game Console
|
BOARDNAME:=Sony PS3 Game Console
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
KERNEL_CC:=
|
KERNEL_CC:=
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
|
||||||
|
|
||||||
--- a/arch/powerpc/platforms/ps3/system-bus.c
|
--- a/arch/powerpc/platforms/ps3/system-bus.c
|
||||||
+++ b/arch/powerpc/platforms/ps3/system-bus.c
|
+++ b/arch/powerpc/platforms/ps3/system-bus.c
|
||||||
@@ -349,9 +349,14 @@ static int ps3_system_bus_match(struct d
|
@@ -349,9 +349,14 @@
|
||||||
|
|
||||||
result = dev->match_id == drv->match_id;
|
result = dev->match_id == drv->match_id;
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -362,7 +367,7 @@ static int ps3_system_bus_probe(struct d
|
@@ -362,7 +367,7 @@
|
||||||
struct ps3_system_bus_driver *drv;
|
struct ps3_system_bus_driver *drv;
|
||||||
|
|
||||||
BUG_ON(!dev);
|
BUG_ON(!dev);
|
||||||
|
@ -36,7 +36,7 @@ Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
|
||||||
|
|
||||||
drv = ps3_system_bus_dev_to_system_bus_drv(dev);
|
drv = ps3_system_bus_dev_to_system_bus_drv(dev);
|
||||||
BUG_ON(!drv);
|
BUG_ON(!drv);
|
||||||
@@ -370,10 +375,10 @@ static int ps3_system_bus_probe(struct d
|
@@ -370,10 +375,10 @@
|
||||||
if (drv->probe)
|
if (drv->probe)
|
||||||
result = drv->probe(dev);
|
result = drv->probe(dev);
|
||||||
else
|
else
|
||||||
|
@ -49,7 +49,7 @@ Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -384,7 +389,7 @@ static int ps3_system_bus_remove(struct
|
@@ -384,7 +389,7 @@
|
||||||
struct ps3_system_bus_driver *drv;
|
struct ps3_system_bus_driver *drv;
|
||||||
|
|
||||||
BUG_ON(!dev);
|
BUG_ON(!dev);
|
||||||
|
@ -58,7 +58,7 @@ Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
|
||||||
|
|
||||||
drv = ps3_system_bus_dev_to_system_bus_drv(dev);
|
drv = ps3_system_bus_dev_to_system_bus_drv(dev);
|
||||||
BUG_ON(!drv);
|
BUG_ON(!drv);
|
||||||
@@ -395,7 +400,7 @@ static int ps3_system_bus_remove(struct
|
@@ -395,7 +400,7 @@
|
||||||
dev_dbg(&dev->core, "%s:%d %s: no remove method\n",
|
dev_dbg(&dev->core, "%s:%d %s: no remove method\n",
|
||||||
__func__, __LINE__, drv->core.name);
|
__func__, __LINE__, drv->core.name);
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ BOARD:=rdc
|
||||||
BOARDNAME:=RDC 321x
|
BOARDNAME:=RDC 321x
|
||||||
FEATURES:=squashfs jffs2 pci
|
FEATURES:=squashfs jffs2 pci
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
Index: linux-2.6.24.7/drivers/mtd/maps/Kconfig
|
--- a/drivers/mtd/maps/Kconfig
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/Kconfig
|
||||||
--- linux-2.6.24.7.orig/drivers/mtd/maps/Kconfig
|
@@ -110,6 +110,50 @@
|
||||||
+++ linux-2.6.24.7/drivers/mtd/maps/Kconfig
|
Sun Microsystems boardsets. This driver will require CFI support
|
||||||
@@ -117,6 +117,50 @@ config MTD_PNC2000
|
in the kernel, so if you did not enable CFI previously, do that now.
|
||||||
PNC-2000 is the name of Network Camera product from PHOTRON
|
|
||||||
Ltd. in Japan. It uses CFI-compliant flash.
|
|
||||||
|
|
||||||
+config MTD_RDC3210
|
+config MTD_RDC3210
|
||||||
+ tristate "CFI Flash device mapped on RDC3210"
|
+ tristate "CFI Flash device mapped on RDC3210"
|
||||||
|
@ -53,13 +51,11 @@ Index: linux-2.6.24.7/drivers/mtd/maps/Kconfig
|
||||||
config MTD_SC520CDP
|
config MTD_SC520CDP
|
||||||
tristate "CFI Flash device mapped on AMD SC520 CDP"
|
tristate "CFI Flash device mapped on AMD SC520 CDP"
|
||||||
depends on X86 && MTD_CFI && MTD_CONCAT
|
depends on X86 && MTD_CFI && MTD_CONCAT
|
||||||
Index: linux-2.6.24.7/drivers/mtd/maps/Makefile
|
--- a/drivers/mtd/maps/Makefile
|
||||||
===================================================================
|
+++ b/drivers/mtd/maps/Makefile
|
||||||
--- linux-2.6.24.7.orig/drivers/mtd/maps/Makefile
|
@@ -29,6 +29,7 @@
|
||||||
+++ linux-2.6.24.7/drivers/mtd/maps/Makefile
|
obj-$(CONFIG_MTD_PMC_MSP_EVM) += pmcmsp-flash.o
|
||||||
@@ -30,6 +30,7 @@ obj-$(CONFIG_MTD_PMC_MSP_EVM) += pmcms
|
|
||||||
obj-$(CONFIG_MTD_PMC_MSP_RAMROOT)+= pmcmsp-ramroot.o
|
obj-$(CONFIG_MTD_PMC_MSP_RAMROOT)+= pmcmsp-ramroot.o
|
||||||
obj-$(CONFIG_MTD_PNC2000) += pnc2000.o
|
|
||||||
obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
|
obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
|
||||||
+obj-$(CONFIG_MTD_RDC3210) += rdc3210.o
|
+obj-$(CONFIG_MTD_RDC3210) += rdc3210.o
|
||||||
obj-$(CONFIG_MTD_RPXLITE) += rpxlite.o
|
obj-$(CONFIG_MTD_RPXLITE) += rpxlite.o
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
Index: linux-2.6.24.7/init/do_mounts.c
|
--- a/init/do_mounts.c
|
||||||
===================================================================
|
+++ b/init/do_mounts.c
|
||||||
--- linux-2.6.24.7.orig/init/do_mounts.c
|
@@ -163,6 +163,8 @@
|
||||||
+++ linux-2.6.24.7/init/do_mounts.c
|
|
||||||
@@ -256,6 +256,8 @@ static void __init get_fs_names(char *pa
|
|
||||||
{
|
{
|
||||||
char *s = page;
|
char *s = page;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
Index: linux-2.6.24.7/arch/x86/boot/compressed/LzmaDecode.c
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.24.7/arch/x86/boot/compressed/LzmaDecode.c
|
+++ b/arch/x86/boot/compressed/LzmaDecode.c
|
||||||
@@ -0,0 +1,586 @@
|
@@ -0,0 +1,586 @@
|
||||||
+/*
|
+/*
|
||||||
+ LzmaDecode.c
|
+ LzmaDecode.c
|
||||||
|
@ -589,10 +587,8 @@ Index: linux-2.6.24.7/arch/x86/boot/compressed/LzmaDecode.c
|
||||||
+ *outSizeProcessed = nowPos;
|
+ *outSizeProcessed = nowPos;
|
||||||
+ return LZMA_RESULT_OK;
|
+ return LZMA_RESULT_OK;
|
||||||
+}
|
+}
|
||||||
Index: linux-2.6.24.7/arch/x86/boot/compressed/LzmaDecode.h
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.24.7/arch/x86/boot/compressed/LzmaDecode.h
|
+++ b/arch/x86/boot/compressed/LzmaDecode.h
|
||||||
@@ -0,0 +1,100 @@
|
@@ -0,0 +1,100 @@
|
||||||
+/*
|
+/*
|
||||||
+ LzmaDecode.h
|
+ LzmaDecode.h
|
||||||
|
@ -694,10 +690,8 @@ Index: linux-2.6.24.7/arch/x86/boot/compressed/LzmaDecode.h
|
||||||
+ UInt32 *outSizeProcessed);
|
+ UInt32 *outSizeProcessed);
|
||||||
+
|
+
|
||||||
+#endif
|
+#endif
|
||||||
Index: linux-2.6.24.7/arch/x86/boot/compressed/lzma_misc.c
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.24.7/arch/x86/boot/compressed/lzma_misc.c
|
+++ b/arch/x86/boot/compressed/lzma_misc.c
|
||||||
@@ -0,0 +1,281 @@
|
@@ -0,0 +1,281 @@
|
||||||
+/*
|
+/*
|
||||||
+ * lzma_misc.c
|
+ * lzma_misc.c
|
||||||
|
@ -980,11 +974,9 @@ Index: linux-2.6.24.7/arch/x86/boot/compressed/lzma_misc.c
|
||||||
+ lzma_unzip();
|
+ lzma_unzip();
|
||||||
+ return;
|
+ return;
|
||||||
+}
|
+}
|
||||||
Index: linux-2.6.24.7/scripts/Makefile.lib
|
--- a/scripts/Makefile.lib
|
||||||
===================================================================
|
+++ b/scripts/Makefile.lib
|
||||||
--- linux-2.6.24.7.orig/scripts/Makefile.lib
|
@@ -172,4 +172,9 @@
|
||||||
+++ linux-2.6.24.7/scripts/Makefile.lib
|
|
||||||
@@ -166,4 +166,9 @@ cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS)
|
|
||||||
quiet_cmd_gzip = GZIP $@
|
quiet_cmd_gzip = GZIP $@
|
||||||
cmd_gzip = gzip -f -9 < $< > $@
|
cmd_gzip = gzip -f -9 < $< > $@
|
||||||
|
|
||||||
|
@ -995,18 +987,15 @@ Index: linux-2.6.24.7/scripts/Makefile.lib
|
||||||
+cmd_lzma = bash -e scripts/lzma_kern $< $@ -lc7 -lp0 -pb0
|
+cmd_lzma = bash -e scripts/lzma_kern $< $@ -lc7 -lp0 -pb0
|
||||||
+# to use lzmacomp,
|
+# to use lzmacomp,
|
||||||
+# cmd_lzma = lzmacomp $< 700 > $@
|
+# cmd_lzma = lzmacomp $< 700 > $@
|
||||||
Index: linux-2.6.24.7/scripts/lzma_kern
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ linux-2.6.24.7/scripts/lzma_kern
|
+++ b/scripts/lzma_kern
|
||||||
@@ -0,0 +1,4 @@
|
@@ -0,0 +1,4 @@
|
||||||
+get-size() { echo "$5" ;}
|
+get-size() { echo "$5" ;}
|
||||||
+printf -v len '%.8x' "$(get-size $(ls -l "$1"))"
|
+printf -v len '%.8x' "$(get-size $(ls -l "$1"))"
|
||||||
+lzma e "$@"
|
+lzma e "$@"
|
||||||
+echo -ne "\x$(echo $len | cut -c 7,8)\x$(echo $len | cut -c 5,6)\x$(echo $len | cut -c 3,4)\x$(echo $len | cut -c 1,2)" >> "$2"
|
+echo -ne "\x$(echo $len | cut -c 7,8)\x$(echo $len | cut -c 5,6)\x$(echo $len | cut -c 3,4)\x$(echo $len | cut -c 1,2)" >> "$2"
|
||||||
diff -urN linux-2.6.25.4/arch/x86/boot/compressed/Makefile linux-2.6.25.4.new/arch/x86/boot/compressed/Makefile
|
--- a/arch/x86/boot/compressed/Makefile
|
||||||
--- linux-2.6.25.4/arch/x86/boot/compressed/Makefile 2008-05-15 17:00:12.000000000 +0200
|
+++ b/arch/x86/boot/compressed/Makefile
|
||||||
+++ linux-2.6.25.4.new/arch/x86/boot/compressed/Makefile 2008-06-11 14:42:09.000000000 +0200
|
|
||||||
@@ -4,7 +4,7 @@
|
@@ -4,7 +4,7 @@
|
||||||
# create a compressed vmlinux image from the original vmlinux
|
# create a compressed vmlinux image from the original vmlinux
|
||||||
#
|
#
|
||||||
|
|
|
@ -12,7 +12,7 @@ BOARDNAME:=x86
|
||||||
FEATURES:=squashfs jffs2 ext2 vdi
|
FEATURES:=squashfs jffs2 ext2 vdi
|
||||||
SUBTARGETS=generic
|
SUBTARGETS=generic
|
||||||
|
|
||||||
LINUX_VERSION:=2.6.25.6
|
LINUX_VERSION:=2.6.25.7
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
DEFAULT_PACKAGES += kmod-natsemi kmod-ne2k-pci
|
DEFAULT_PACKAGES += kmod-natsemi kmod-ne2k-pci
|
||||||
|
|
Loading…
Reference in a new issue