diff options
Diffstat (limited to 'target/linux/ar7/patches-2.6.25')
12 files changed, 102 insertions, 98 deletions
diff --git a/target/linux/ar7/patches-2.6.25/100-board_support.patch b/target/linux/ar7/patches-2.6.25/100-board_support.patch index 08cf79be2e..9b86db6a34 100644 --- a/target/linux/ar7/patches-2.6.25/100-board_support.patch +++ b/target/linux/ar7/patches-2.6.25/100-board_support.patch @@ -1,8 +1,8 @@ -Index: linux-2.6.25.1/arch/mips/Kconfig +Index: linux-2.6.25.4/arch/mips/Kconfig =================================================================== ---- linux-2.6.25.1.orig/arch/mips/Kconfig 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/arch/mips/Kconfig 2008-05-03 16:17:54.000000000 +0200 -@@ -18,6 +18,24 @@ +--- linux-2.6.25.4.orig/arch/mips/Kconfig ++++ linux-2.6.25.4/arch/mips/Kconfig +@@ -18,6 +18,24 @@ choice prompt "System type" default SGI_IP22 @@ -27,11 +27,11 @@ Index: linux-2.6.25.1/arch/mips/Kconfig config MACH_ALCHEMY bool "Alchemy processor based machines" -Index: linux-2.6.25.1/arch/mips/kernel/traps.c +Index: linux-2.6.25.4/arch/mips/kernel/traps.c =================================================================== ---- linux-2.6.25.1.orig/arch/mips/kernel/traps.c 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/arch/mips/kernel/traps.c 2008-05-03 16:17:54.000000000 +0200 -@@ -1112,9 +1112,22 @@ +--- linux-2.6.25.4.orig/arch/mips/kernel/traps.c ++++ linux-2.6.25.4/arch/mips/kernel/traps.c +@@ -1112,9 +1112,22 @@ void *set_except_vector(int n, void *add exception_handlers[n] = handler; if (n == 0 && cpu_has_divec) { @@ -57,11 +57,11 @@ Index: linux-2.6.25.1/arch/mips/kernel/traps.c } return (void *)old_handler; } -Index: linux-2.6.25.1/arch/mips/Makefile +Index: linux-2.6.25.4/arch/mips/Makefile =================================================================== ---- linux-2.6.25.1.orig/arch/mips/Makefile 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/arch/mips/Makefile 2008-05-03 16:17:54.000000000 +0200 -@@ -167,6 +167,13 @@ +--- linux-2.6.25.4.orig/arch/mips/Makefile ++++ linux-2.6.25.4/arch/mips/Makefile +@@ -167,6 +167,13 @@ libs-$(CONFIG_SIBYTE_CFE) += arch/mips/s # # @@ -75,11 +75,11 @@ Index: linux-2.6.25.1/arch/mips/Makefile # Acer PICA 61, Mips Magnum 4000 and Olivetti M700. # core-$(CONFIG_MACH_JAZZ) += arch/mips/jazz/ -Index: linux-2.6.25.1/include/asm-mips/page.h +Index: linux-2.6.25.4/include/asm-mips/page.h =================================================================== ---- linux-2.6.25.1.orig/include/asm-mips/page.h 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/include/asm-mips/page.h 2008-05-03 16:17:54.000000000 +0200 -@@ -182,8 +182,10 @@ +--- linux-2.6.25.4.orig/include/asm-mips/page.h ++++ linux-2.6.25.4/include/asm-mips/page.h +@@ -182,8 +182,10 @@ typedef struct { unsigned long pgprot; } #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) diff --git a/target/linux/ar7/patches-2.6.25/110-flash.patch b/target/linux/ar7/patches-2.6.25/110-flash.patch index 02f8d952f0..350fe167f5 100644 --- a/target/linux/ar7/patches-2.6.25/110-flash.patch +++ b/target/linux/ar7/patches-2.6.25/110-flash.patch @@ -1,8 +1,8 @@ -Index: linux-2.6.25.1/drivers/mtd/Kconfig +Index: linux-2.6.25.4/drivers/mtd/Kconfig =================================================================== ---- linux-2.6.25.1.orig/drivers/mtd/Kconfig 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/drivers/mtd/Kconfig 2008-05-03 16:18:06.000000000 +0200 -@@ -158,6 +158,12 @@ +--- linux-2.6.25.4.orig/drivers/mtd/Kconfig ++++ linux-2.6.25.4/drivers/mtd/Kconfig +@@ -168,6 +168,12 @@ config MTD_OF_PARTS the partition map from the children of the flash node, as described in Documentation/powerpc/booting-without-of.txt. @@ -15,11 +15,11 @@ Index: linux-2.6.25.1/drivers/mtd/Kconfig comment "User Modules And Translation Layers" config MTD_CHAR -Index: linux-2.6.25.1/drivers/mtd/Makefile +Index: linux-2.6.25.4/drivers/mtd/Makefile =================================================================== ---- linux-2.6.25.1.orig/drivers/mtd/Makefile 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/drivers/mtd/Makefile 2008-05-03 16:18:06.000000000 +0200 -@@ -12,6 +12,7 @@ +--- linux-2.6.25.4.orig/drivers/mtd/Makefile ++++ linux-2.6.25.4/drivers/mtd/Makefile +@@ -12,6 +12,7 @@ obj-$(CONFIG_MTD_REDBOOT_PARTS) += redbo obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o obj-$(CONFIG_MTD_AFS_PARTS) += afs.o obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o @@ -27,11 +27,11 @@ Index: linux-2.6.25.1/drivers/mtd/Makefile # 'Users' - code which presents functionality to userspace. obj-$(CONFIG_MTD_CHAR) += mtdchar.o -Index: linux-2.6.25.1/drivers/mtd/maps/physmap.c +Index: linux-2.6.25.4/drivers/mtd/maps/physmap.c =================================================================== ---- linux-2.6.25.1.orig/drivers/mtd/maps/physmap.c 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/drivers/mtd/maps/physmap.c 2008-05-03 16:18:06.000000000 +0200 -@@ -87,7 +87,8 @@ +--- linux-2.6.25.4.orig/drivers/mtd/maps/physmap.c ++++ linux-2.6.25.4/drivers/mtd/maps/physmap.c +@@ -87,7 +87,8 @@ static int physmap_flash_remove(struct p static const char *rom_probe_types[] = { "cfi_probe", "jedec_probe", "map_rom", NULL }; #ifdef CONFIG_MTD_PARTITIONS diff --git a/target/linux/ar7/patches-2.6.25/120-gpio_chrdev.patch b/target/linux/ar7/patches-2.6.25/120-gpio_chrdev.patch index f80f022254..ab05a9ac55 100644 --- a/target/linux/ar7/patches-2.6.25/120-gpio_chrdev.patch +++ b/target/linux/ar7/patches-2.6.25/120-gpio_chrdev.patch @@ -1,8 +1,8 @@ -Index: linux-2.6.25.1/drivers/char/Kconfig +Index: linux-2.6.25.4/drivers/char/Kconfig =================================================================== ---- linux-2.6.25.1.orig/drivers/char/Kconfig 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/drivers/char/Kconfig 2008-05-03 16:18:26.000000000 +0200 -@@ -913,6 +913,15 @@ +--- linux-2.6.25.4.orig/drivers/char/Kconfig ++++ linux-2.6.25.4/drivers/char/Kconfig +@@ -913,6 +913,15 @@ config MWAVE To compile this driver as a module, choose M here: the module will be called mwave. @@ -18,11 +18,11 @@ Index: linux-2.6.25.1/drivers/char/Kconfig config SCx200_GPIO tristate "NatSemi SCx200 GPIO Support" depends on SCx200 -Index: linux-2.6.25.1/drivers/char/Makefile +Index: linux-2.6.25.4/drivers/char/Makefile =================================================================== ---- linux-2.6.25.1.orig/drivers/char/Makefile 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/drivers/char/Makefile 2008-05-03 16:18:26.000000000 +0200 -@@ -90,6 +90,7 @@ +--- linux-2.6.25.4.orig/drivers/char/Makefile ++++ linux-2.6.25.4/drivers/char/Makefile +@@ -90,6 +90,7 @@ obj-$(CONFIG_COBALT_LCD) += lcd.o obj-$(CONFIG_PPDEV) += ppdev.o obj-$(CONFIG_NWBUTTON) += nwbutton.o obj-$(CONFIG_NWFLASH) += nwflash.o diff --git a/target/linux/ar7/patches-2.6.25/130-vlynq.patch b/target/linux/ar7/patches-2.6.25/130-vlynq.patch index 090d8c5999..262c58c864 100644 --- a/target/linux/ar7/patches-2.6.25/130-vlynq.patch +++ b/target/linux/ar7/patches-2.6.25/130-vlynq.patch @@ -1,19 +1,19 @@ -Index: linux-2.6.25.1/drivers/Kconfig +Index: linux-2.6.25.4/drivers/Kconfig =================================================================== ---- linux-2.6.25.1.orig/drivers/Kconfig 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/drivers/Kconfig 2008-05-03 16:19:06.000000000 +0200 -@@ -97,4 +97,6 @@ +--- linux-2.6.25.4.orig/drivers/Kconfig ++++ linux-2.6.25.4/drivers/Kconfig +@@ -97,4 +97,6 @@ source "drivers/dca/Kconfig" source "drivers/auxdisplay/Kconfig" source "drivers/uio/Kconfig" + +source "drivers/vlynq/Kconfig" endmenu -Index: linux-2.6.25.1/drivers/Makefile +Index: linux-2.6.25.4/drivers/Makefile =================================================================== ---- linux-2.6.25.1.orig/drivers/Makefile 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/drivers/Makefile 2008-05-03 16:18:37.000000000 +0200 -@@ -91,5 +91,6 @@ +--- linux-2.6.25.4.orig/drivers/Makefile ++++ linux-2.6.25.4/drivers/Makefile +@@ -91,5 +91,6 @@ obj-$(CONFIG_DCA) += dca/ obj-$(CONFIG_HID) += hid/ obj-$(CONFIG_PPC_PS3) += ps3/ obj-$(CONFIG_OF) += of/ diff --git a/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch b/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch index 2435b3518e..5ef2efdbdc 100644 --- a/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch +++ b/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.25.1/drivers/net/cpmac.c +Index: linux-2.6.25.4/drivers/net/cpmac.c =================================================================== ---- linux-2.6.25.1.orig/drivers/net/cpmac.c 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/drivers/net/cpmac.c 2008-05-03 16:21:17.000000000 +0200 +--- linux-2.6.25.4.orig/drivers/net/cpmac.c ++++ linux-2.6.25.4/drivers/net/cpmac.c @@ -38,6 +38,7 @@ #include <linux/platform_device.h> #include <linux/dma-mapping.h> @@ -10,7 +10,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c MODULE_AUTHOR("Eugene Konev <ejka@imfi.kspu.ru>"); MODULE_DESCRIPTION("TI AR7 ethernet driver (CPMAC)"); -@@ -207,6 +208,7 @@ +@@ -207,6 +208,7 @@ struct cpmac_priv { struct work_struct reset_work; struct platform_device *pdev; struct napi_struct napi; @@ -18,7 +18,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c }; static irqreturn_t cpmac_irq(int, void *); -@@ -455,6 +457,9 @@ +@@ -455,6 +457,9 @@ static int cpmac_start_xmit(struct sk_bu struct cpmac_desc *desc; struct cpmac_priv *priv = netdev_priv(dev); @@ -28,7 +28,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c if (unlikely(skb_padto(skb, ETH_ZLEN))) return NETDEV_TX_OK; -@@ -634,14 +639,14 @@ +@@ -634,14 +639,14 @@ static void cpmac_clear_tx(struct net_de priv->desc_ring[i].dataflags = 0; if (priv->desc_ring[i].skb) { dev_kfree_skb_any(priv->desc_ring[i].skb); @@ -45,7 +45,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c struct cpmac_priv *priv = container_of(work, struct cpmac_priv, reset_work); -@@ -650,8 +655,47 @@ +@@ -650,8 +655,47 @@ static void cpmac_hw_error(struct work_s spin_unlock(&priv->rx_lock); cpmac_clear_tx(priv->dev); cpmac_hw_start(priv->dev); @@ -95,7 +95,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c } static irqreturn_t cpmac_irq(int irq, void *dev_id) -@@ -682,49 +726,33 @@ +@@ -682,49 +726,33 @@ static irqreturn_t cpmac_irq(int irq, vo cpmac_write(priv->regs, CPMAC_MAC_EOI_VECTOR, 0); @@ -159,7 +159,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c } static int cpmac_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) -@@ -911,6 +939,7 @@ +@@ -911,6 +939,7 @@ static int cpmac_open(struct net_device goto fail_irq; } diff --git a/target/linux/ar7/patches-2.6.25/150-cpmac_not_broken.patch b/target/linux/ar7/patches-2.6.25/150-cpmac_not_broken.patch index 438a423e02..749408e7d2 100644 --- a/target/linux/ar7/patches-2.6.25/150-cpmac_not_broken.patch +++ b/target/linux/ar7/patches-2.6.25/150-cpmac_not_broken.patch @@ -1,6 +1,8 @@ ---- linux-2.6.25.1/drivers/net/Kconfig 2008-05-03 17:23:40.000000000 +0200 -+++ linux-2.6.25.1/drivers/net/Kconfig 2008-05-03 17:23:53.000000000 +0200 -@@ -1874,7 +1874,7 @@ +Index: linux-2.6.25.4/drivers/net/Kconfig +=================================================================== +--- linux-2.6.25.4.orig/drivers/net/Kconfig ++++ linux-2.6.25.4/drivers/net/Kconfig +@@ -1874,7 +1874,7 @@ config SC92031 config CPMAC tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)" diff --git a/target/linux/ar7/patches-2.6.25/150-cpmac_up_and_running.diff b/target/linux/ar7/patches-2.6.25/150-cpmac_up_and_running.diff index 9b15772c40..444ab56e78 100644 --- a/target/linux/ar7/patches-2.6.25/150-cpmac_up_and_running.diff +++ b/target/linux/ar7/patches-2.6.25/150-cpmac_up_and_running.diff @@ -13,10 +13,10 @@ Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> drivers/net/cpmac.c | 19 +++---------------- 2 files changed, 20 insertions(+), 16 deletions(-) -Index: linux-2.6.25.1/arch/mips/ar7/platform.c +Index: linux-2.6.25.4/arch/mips/ar7/platform.c =================================================================== ---- linux-2.6.25.1.orig/arch/mips/ar7/platform.c 2008-05-03 16:17:30.000000000 +0200 -+++ linux-2.6.25.1/arch/mips/ar7/platform.c 2008-05-03 16:24:08.000000000 +0200 +--- linux-2.6.25.4.orig/arch/mips/ar7/platform.c ++++ linux-2.6.25.4/arch/mips/ar7/platform.c @@ -33,6 +33,8 @@ #include <linux/vlynq.h> #include <linux/leds.h> @@ -26,7 +26,7 @@ Index: linux-2.6.25.1/arch/mips/ar7/platform.c #include <asm/addrspace.h> #include <asm/ar7/ar7.h> -@@ -205,6 +207,13 @@ +@@ -205,6 +207,13 @@ static struct physmap_flash_data physmap .width = 2, }; @@ -40,7 +40,7 @@ Index: linux-2.6.25.1/arch/mips/ar7/platform.c static struct plat_cpmac_data cpmac_low_data = { .reset_bit = 17, .power_bit = 20, -@@ -506,6 +515,10 @@ +@@ -506,6 +515,10 @@ static int __init ar7_register_devices(v } if (ar7_has_high_cpmac()) { @@ -51,7 +51,7 @@ Index: linux-2.6.25.1/arch/mips/ar7/platform.c cpmac_get_mac(1, cpmac_high_data.dev_addr); res = platform_device_register(&cpmac_high); if (res) -@@ -514,6 +527,10 @@ +@@ -514,6 +527,10 @@ static int __init ar7_register_devices(v cpmac_low_data.phy_mask = 0xffffffff; } @@ -62,11 +62,11 @@ Index: linux-2.6.25.1/arch/mips/ar7/platform.c cpmac_get_mac(0, cpmac_low_data.dev_addr); res = platform_device_register(&cpmac_low); if (res) -Index: linux-2.6.25.1/drivers/net/cpmac.c +Index: linux-2.6.25.4/drivers/net/cpmac.c =================================================================== ---- linux-2.6.25.1.orig/drivers/net/cpmac.c 2008-05-03 16:21:17.000000000 +0200 -+++ linux-2.6.25.1/drivers/net/cpmac.c 2008-05-03 16:24:08.000000000 +0200 -@@ -1035,23 +1035,10 @@ +--- linux-2.6.25.4.orig/drivers/net/cpmac.c ++++ linux-2.6.25.4/drivers/net/cpmac.c +@@ -1035,23 +1035,10 @@ static int __devinit cpmac_probe(struct if (phy_id == PHY_MAX_ADDR) { if (external_switch || dumb_switch) { diff --git a/target/linux/ar7/patches-2.6.25/160-cpmac-rx-ring-use-eoq.diff b/target/linux/ar7/patches-2.6.25/160-cpmac-rx-ring-use-eoq.diff index d99243f8af..b06f5be19d 100644 --- a/target/linux/ar7/patches-2.6.25/160-cpmac-rx-ring-use-eoq.diff +++ b/target/linux/ar7/patches-2.6.25/160-cpmac-rx-ring-use-eoq.diff @@ -1,8 +1,8 @@ -Index: linux-2.6.25.1/drivers/net/cpmac.c +Index: linux-2.6.25.4/drivers/net/cpmac.c =================================================================== ---- linux-2.6.25.1.orig/drivers/net/cpmac.c 2008-05-03 16:24:08.000000000 +0200 -+++ linux-2.6.25.1/drivers/net/cpmac.c 2008-05-03 16:24:37.000000000 +0200 -@@ -187,6 +187,7 @@ +--- linux-2.6.25.4.orig/drivers/net/cpmac.c ++++ linux-2.6.25.4/drivers/net/cpmac.c +@@ -187,6 +187,7 @@ struct cpmac_desc { #define CPMAC_EOQ 0x1000 struct sk_buff *skb; struct cpmac_desc *next; @@ -10,7 +10,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c dma_addr_t mapping; dma_addr_t data_mapping; }; -@@ -242,6 +243,16 @@ +@@ -242,6 +243,16 @@ static void cpmac_dump_desc(struct net_d printk("\n"); } @@ -27,7 +27,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c static void cpmac_dump_skb(struct net_device *dev, struct sk_buff *skb) { int i; -@@ -413,21 +424,40 @@ +@@ -413,21 +424,40 @@ static struct sk_buff *cpmac_rx_one(stru static int cpmac_poll(struct napi_struct *napi, int budget) { struct sk_buff *skb; @@ -70,7 +70,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c skb = cpmac_rx_one(priv, desc); if (likely(skb)) { netif_receive_skb(skb); -@@ -436,19 +466,81 @@ +@@ -436,19 +466,81 @@ static int cpmac_poll(struct napi_struct desc = desc->next; } @@ -154,7 +154,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c } static int cpmac_start_xmit(struct sk_buff *skb, struct net_device *dev) -@@ -625,8 +717,10 @@ +@@ -625,8 +717,10 @@ static void cpmac_clear_rx(struct net_de desc->dataflags = CPMAC_OWN; dev->stats.rx_dropped++; } @@ -165,7 +165,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c } static void cpmac_clear_tx(struct net_device *dev) -@@ -928,9 +1022,12 @@ +@@ -928,9 +1022,12 @@ static int cpmac_open(struct net_device desc->buflen = CPMAC_SKB_SIZE; desc->dataflags = CPMAC_OWN; desc->next = &priv->rx_head[(i + 1) % priv->ring_size]; diff --git a/target/linux/ar7/patches-2.6.25/170-cpmac_eth_fix.patch b/target/linux/ar7/patches-2.6.25/170-cpmac_eth_fix.patch index c720794d3c..dbb6c36204 100644 --- a/target/linux/ar7/patches-2.6.25/170-cpmac_eth_fix.patch +++ b/target/linux/ar7/patches-2.6.25/170-cpmac_eth_fix.patch @@ -1,8 +1,8 @@ -Index: linux-2.6.25.1/drivers/net/cpmac.c +Index: linux-2.6.25.4/drivers/net/cpmac.c =================================================================== ---- linux-2.6.25.1.orig/drivers/net/cpmac.c 2008-05-03 16:24:37.000000000 +0200 -+++ linux-2.6.25.1/drivers/net/cpmac.c 2008-05-03 16:24:49.000000000 +0200 -@@ -1178,9 +1178,7 @@ +--- linux-2.6.25.4.orig/drivers/net/cpmac.c ++++ linux-2.6.25.4/drivers/net/cpmac.c +@@ -1178,9 +1178,7 @@ static int __devinit cpmac_probe(struct priv->msg_enable = netif_msg_init(debug_level, 0xff); memcpy(dev->dev_addr, pdata->dev_addr, sizeof(dev->dev_addr)); diff --git a/target/linux/ar7/patches-2.6.25/200-mtd_fixes.patch b/target/linux/ar7/patches-2.6.25/200-mtd_fixes.patch index a481a14f86..89446161a3 100644 --- a/target/linux/ar7/patches-2.6.25/200-mtd_fixes.patch +++ b/target/linux/ar7/patches-2.6.25/200-mtd_fixes.patch @@ -1,5 +1,7 @@ ---- linux/drivers/mtd/ar7part.c 2007-09-20 21:47:22.000000000 +0200 -+++ linux-mips/drivers/mtd/ar7part.c 2008-05-04 18:49:04.000000000 +0200 +Index: linux-2.6.25.4/drivers/mtd/ar7part.c +=================================================================== +--- linux-2.6.25.4.orig/drivers/mtd/ar7part.c ++++ linux-2.6.25.4/drivers/mtd/ar7part.c @@ -34,6 +34,10 @@ #define LOADER_MAGIC1 le32_to_cpu(0xfeedfa42) #define LOADER_MAGIC2 le32_to_cpu(0xfeed1281) @@ -11,7 +13,7 @@ struct ar7_bin_rec { unsigned int checksum; unsigned int length; -@@ -47,7 +51,8 @@ +@@ -47,7 +51,8 @@ static int create_mtd_partitions(struct unsigned long origin) { struct ar7_bin_rec header; @@ -21,7 +23,7 @@ unsigned int pre_size = master->erasesize, post_size = 0; unsigned int root_offset = ROOT_OFFSET; -@@ -66,7 +71,7 @@ +@@ -66,7 +71,7 @@ static int create_mtd_partitions(struct do { /* Try 10 blocks starting from master->erasesize */ offset = pre_size; master->read(master, offset, @@ -30,7 +32,7 @@ if (!strncmp((char *)&header, "TIENV0.8", 8)) ar7_parts[1].offset = pre_size; if (header.checksum == LOADER_MAGIC1) -@@ -88,7 +93,7 @@ +@@ -88,7 +93,7 @@ static int create_mtd_partitions(struct while (header.length) { offset += sizeof(header) + header.length; master->read(master, offset, sizeof(header), @@ -39,7 +41,7 @@ } root_offset = offset + sizeof(header) + 4; break; -@@ -96,10 +101,10 @@ +@@ -96,10 +101,10 @@ static int create_mtd_partitions(struct while (header.length) { offset += sizeof(header) + header.length; master->read(master, offset, sizeof(header), diff --git a/target/linux/ar7/patches-2.6.25/500-serial_kludge.patch b/target/linux/ar7/patches-2.6.25/500-serial_kludge.patch index 0832d32443..69335be7f3 100644 --- a/target/linux/ar7/patches-2.6.25/500-serial_kludge.patch +++ b/target/linux/ar7/patches-2.6.25/500-serial_kludge.patch @@ -1,8 +1,8 @@ -Index: linux-2.6.25.1/drivers/serial/8250.c +Index: linux-2.6.25.4/drivers/serial/8250.c =================================================================== ---- linux-2.6.25.1.orig/drivers/serial/8250.c 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/drivers/serial/8250.c 2008-05-03 16:25:06.000000000 +0200 -@@ -267,6 +267,13 @@ +--- linux-2.6.25.4.orig/drivers/serial/8250.c ++++ linux-2.6.25.4/drivers/serial/8250.c +@@ -267,6 +267,13 @@ static const struct serial8250_config ua .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10, .flags = UART_CAP_FIFO, }, @@ -16,7 +16,7 @@ Index: linux-2.6.25.1/drivers/serial/8250.c }; #if defined (CONFIG_SERIAL_8250_AU1X00) -@@ -2455,7 +2462,11 @@ +@@ -2455,7 +2462,11 @@ static void serial8250_console_putchar(s { struct uart_8250_port *up = (struct uart_8250_port *)port; @@ -28,10 +28,10 @@ Index: linux-2.6.25.1/drivers/serial/8250.c serial_out(up, UART_TX, ch); } -Index: linux-2.6.25.1/include/linux/serial_core.h +Index: linux-2.6.25.4/include/linux/serial_core.h =================================================================== ---- linux-2.6.25.1.orig/include/linux/serial_core.h 2008-05-01 23:45:25.000000000 +0200 -+++ linux-2.6.25.1/include/linux/serial_core.h 2008-05-03 16:25:06.000000000 +0200 +--- linux-2.6.25.4.orig/include/linux/serial_core.h ++++ linux-2.6.25.4/include/linux/serial_core.h @@ -40,7 +40,8 @@ #define PORT_NS16550A 14 #define PORT_XSCALE 15 diff --git a/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff b/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff index 43176f4aeb..b84cbf0366 100644 --- a/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff +++ b/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff @@ -1,8 +1,8 @@ -Index: linux-2.6.25.1/drivers/net/cpmac.c +Index: linux-2.6.25.4/drivers/net/cpmac.c =================================================================== ---- linux-2.6.25.1.orig/drivers/net/cpmac.c 2008-05-03 16:24:49.000000000 +0200 -+++ linux-2.6.25.1/drivers/net/cpmac.c 2008-05-03 16:25:17.000000000 +0200 -@@ -936,7 +936,8 @@ +--- linux-2.6.25.4.orig/drivers/net/cpmac.c ++++ linux-2.6.25.4/drivers/net/cpmac.c +@@ -936,7 +936,8 @@ static void cpmac_adjust_link(struct net int new_state = 0; spin_lock(&priv->lock); @@ -12,7 +12,7 @@ Index: linux-2.6.25.1/drivers/net/cpmac.c netif_start_queue(dev); if (priv->phy->duplex != priv->oldduplex) { new_state = 1; -@@ -948,11 +949,11 @@ +@@ -948,11 +949,11 @@ static void cpmac_adjust_link(struct net priv->oldspeed = priv->phy->speed; } |