From 09a8407a2d295b7d19266a62957497a0a88c5c4f Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 1 Dec 2010 18:40:01 +0000 Subject: ar71xx: refresh patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24210 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../102-mtd_m25p80_add_myloader_parser.patch | 2 +- .../patches-2.6.32/104-mtd_m25p80_add_redboot_parser.patch | 2 +- .../patches-2.6.32/109-mtd-wrt160nl-trx-parser.patch | 2 +- target/linux/ar71xx/patches-2.6.32/990-backport.patch | 4 ++-- .../ar71xx/patches-2.6.36/005-ar71xx_mac_driver.patch | 2 +- .../108-mtd_fix_cfi_cmdset_0002_status_check.patch | 14 +++++++------- .../111-mtd-cfi_cmdset_0002-force-word-write.patch | 6 +++--- .../400-2.6.35-fix-nand_scan_ident-options.patch | 2 +- .../ar71xx/patches-2.6.37/005-ar71xx_mac_driver.patch | 2 +- .../108-mtd_fix_cfi_cmdset_0002_status_check.patch | 14 +++++++------- .../110-usb-ehci-add-war-for-synopsys-hc-bug.patch | 4 ++-- .../111-mtd-cfi_cmdset_0002-force-word-write.patch | 6 +++--- .../patches-2.6.37/150-drivers-link-spi-before-mtd.patch | 2 +- .../patches-2.6.37/205-wndr3700-usb-led-driver.patch | 4 ++-- .../linux/ar71xx/patches-2.6.37/207-rb750-led-driver.patch | 4 ++-- .../400-2.6.35-fix-nand_scan_ident-options.patch | 2 +- 16 files changed, 36 insertions(+), 36 deletions(-) diff --git a/target/linux/ar71xx/patches-2.6.32/102-mtd_m25p80_add_myloader_parser.patch b/target/linux/ar71xx/patches-2.6.32/102-mtd_m25p80_add_myloader_parser.patch index 41b97a0f3..17ae0fd8d 100644 --- a/target/linux/ar71xx/patches-2.6.32/102-mtd_m25p80_add_myloader_parser.patch +++ b/target/linux/ar71xx/patches-2.6.32/102-mtd_m25p80_add_myloader_parser.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c -@@ -872,6 +872,16 @@ static int __devinit m25p_probe(struct s +@@ -873,6 +873,16 @@ static int __devinit m25p_probe(struct s part_probes, &parts, 0); } diff --git a/target/linux/ar71xx/patches-2.6.32/104-mtd_m25p80_add_redboot_parser.patch b/target/linux/ar71xx/patches-2.6.32/104-mtd_m25p80_add_redboot_parser.patch index d736c9a1a..338de2668 100644 --- a/target/linux/ar71xx/patches-2.6.32/104-mtd_m25p80_add_redboot_parser.patch +++ b/target/linux/ar71xx/patches-2.6.32/104-mtd_m25p80_add_redboot_parser.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c -@@ -882,6 +882,15 @@ static int __devinit m25p_probe(struct s +@@ -883,6 +883,15 @@ static int __devinit m25p_probe(struct s } #endif diff --git a/target/linux/ar71xx/patches-2.6.32/109-mtd-wrt160nl-trx-parser.patch b/target/linux/ar71xx/patches-2.6.32/109-mtd-wrt160nl-trx-parser.patch index 558f04785..38655afa9 100644 --- a/target/linux/ar71xx/patches-2.6.32/109-mtd-wrt160nl-trx-parser.patch +++ b/target/linux/ar71xx/patches-2.6.32/109-mtd-wrt160nl-trx-parser.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c -@@ -891,6 +891,16 @@ static int __devinit m25p_probe(struct s +@@ -892,6 +892,16 @@ static int __devinit m25p_probe(struct s part_probes, &parts, 0); } #endif diff --git a/target/linux/ar71xx/patches-2.6.32/990-backport.patch b/target/linux/ar71xx/patches-2.6.32/990-backport.patch index 2c1c75c67..78b6c79f4 100644 --- a/target/linux/ar71xx/patches-2.6.32/990-backport.patch +++ b/target/linux/ar71xx/patches-2.6.32/990-backport.patch @@ -1,6 +1,6 @@ --- a/drivers/net/ag71xx/ag71xx_main.c +++ b/drivers/net/ag71xx/ag71xx_main.c -@@ -685,6 +685,7 @@ static netdev_tx_t ag71xx_hard_start_xmi +@@ -686,6 +686,7 @@ err_drop: static int ag71xx_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) { @@ -8,7 +8,7 @@ struct ag71xx *ag = netdev_priv(dev); int ret; -@@ -716,7 +717,7 @@ static int ag71xx_do_ioctl(struct net_de +@@ -717,7 +718,7 @@ static int ag71xx_do_ioctl(struct net_de if (ag->phy_dev == NULL) break; diff --git a/target/linux/ar71xx/patches-2.6.36/005-ar71xx_mac_driver.patch b/target/linux/ar71xx/patches-2.6.36/005-ar71xx_mac_driver.patch index 01b7a2e14..1f27e84dc 100644 --- a/target/linux/ar71xx/patches-2.6.36/005-ar71xx_mac_driver.patch +++ b/target/linux/ar71xx/patches-2.6.36/005-ar71xx_mac_driver.patch @@ -1,6 +1,6 @@ --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig -@@ -2045,6 +2045,8 @@ config ACENIC_OMIT_TIGON_I +@@ -2168,6 +2168,8 @@ config ACENIC_OMIT_TIGON_I The safe and default value for this is N. diff --git a/target/linux/ar71xx/patches-2.6.36/108-mtd_fix_cfi_cmdset_0002_status_check.patch b/target/linux/ar71xx/patches-2.6.36/108-mtd_fix_cfi_cmdset_0002_status_check.patch index ebb3b1ddf..64e52b31c 100644 --- a/target/linux/ar71xx/patches-2.6.36/108-mtd_fix_cfi_cmdset_0002_status_check.patch +++ b/target/linux/ar71xx/patches-2.6.36/108-mtd_fix_cfi_cmdset_0002_status_check.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/chips/cfi_cmdset_0002.c +++ b/drivers/mtd/chips/cfi_cmdset_0002.c -@@ -1190,8 +1190,8 @@ static int __xipram do_write_oneword(str +@@ -1218,8 +1218,8 @@ static int __xipram do_write_oneword(str break; } @@ -11,7 +11,7 @@ /* Latency issues. Drop the lock, wait a while and retry */ UDELAY(map, chip, adr, 1); -@@ -1207,6 +1207,8 @@ static int __xipram do_write_oneword(str +@@ -1235,6 +1235,8 @@ static int __xipram do_write_oneword(str ret = -EIO; } @@ -20,7 +20,7 @@ xip_enable(map, chip, adr); op_done: chip->state = FL_READY; -@@ -1553,7 +1555,6 @@ static int cfi_amdstd_write_buffers(stru +@@ -1581,7 +1583,6 @@ static int cfi_amdstd_write_buffers(stru return 0; } @@ -28,7 +28,7 @@ /* * Handle devices with one erase region, that only implement * the chip erase command. -@@ -1617,8 +1618,8 @@ static int __xipram do_erase_chip(struct +@@ -1645,8 +1646,8 @@ static int __xipram do_erase_chip(struct chip->erase_suspended = 0; } @@ -39,7 +39,7 @@ if (time_after(jiffies, timeo)) { printk(KERN_WARNING "MTD %s(): software timeout\n", -@@ -1638,6 +1639,7 @@ static int __xipram do_erase_chip(struct +@@ -1666,6 +1667,7 @@ static int __xipram do_erase_chip(struct ret = -EIO; } @@ -47,7 +47,7 @@ chip->state = FL_READY; xip_enable(map, chip, adr); put_chip(map, chip, adr); -@@ -1705,9 +1707,9 @@ static int __xipram do_erase_oneblock(st +@@ -1733,9 +1735,9 @@ static int __xipram do_erase_oneblock(st chip->erase_suspended = 0; } @@ -59,7 +59,7 @@ } if (time_after(jiffies, timeo)) { -@@ -1729,6 +1731,7 @@ static int __xipram do_erase_oneblock(st +@@ -1757,6 +1759,7 @@ static int __xipram do_erase_oneblock(st ret = -EIO; } diff --git a/target/linux/ar71xx/patches-2.6.36/111-mtd-cfi_cmdset_0002-force-word-write.patch b/target/linux/ar71xx/patches-2.6.36/111-mtd-cfi_cmdset_0002-force-word-write.patch index 73800738f..969cd1aae 100644 --- a/target/linux/ar71xx/patches-2.6.36/111-mtd-cfi_cmdset_0002-force-word-write.patch +++ b/target/linux/ar71xx/patches-2.6.36/111-mtd-cfi_cmdset_0002-force-word-write.patch @@ -35,7 +35,7 @@ /* Atmel chips don't use the same PRI format as AMD chips */ static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param) -@@ -1364,6 +1368,7 @@ static int cfi_amdstd_write_words(struct +@@ -1392,6 +1396,7 @@ static int cfi_amdstd_write_words(struct /* * FIXME: interleaved mode not tested, and probably not supported! */ @@ -43,7 +43,7 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const u_char *buf, int len) -@@ -1475,7 +1480,6 @@ static int __xipram do_write_buffer(stru +@@ -1503,7 +1508,6 @@ static int __xipram do_write_buffer(stru return ret; } @@ -51,7 +51,7 @@ static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) { -@@ -1554,6 +1558,7 @@ static int cfi_amdstd_write_buffers(stru +@@ -1582,6 +1586,7 @@ static int cfi_amdstd_write_buffers(stru return 0; } diff --git a/target/linux/ar71xx/patches-2.6.36/400-2.6.35-fix-nand_scan_ident-options.patch b/target/linux/ar71xx/patches-2.6.36/400-2.6.35-fix-nand_scan_ident-options.patch index dfaad1e0e..696094fdd 100644 --- a/target/linux/ar71xx/patches-2.6.36/400-2.6.35-fix-nand_scan_ident-options.patch +++ b/target/linux/ar71xx/patches-2.6.36/400-2.6.35-fix-nand_scan_ident-options.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/nand/rb4xx_nand.c +++ b/drivers/mtd/nand/rb4xx_nand.c -@@ -218,7 +218,7 @@ static int __init rb4xx_nand_probe(struc +@@ -220,7 +220,7 @@ static int __init rb4xx_nand_probe(struc platform_set_drvdata(pdev, info); diff --git a/target/linux/ar71xx/patches-2.6.37/005-ar71xx_mac_driver.patch b/target/linux/ar71xx/patches-2.6.37/005-ar71xx_mac_driver.patch index 909f2ed9c..566446377 100644 --- a/target/linux/ar71xx/patches-2.6.37/005-ar71xx_mac_driver.patch +++ b/target/linux/ar71xx/patches-2.6.37/005-ar71xx_mac_driver.patch @@ -1,6 +1,6 @@ --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig -@@ -2068,6 +2068,8 @@ config ACENIC_OMIT_TIGON_I +@@ -2191,6 +2191,8 @@ config ACENIC_OMIT_TIGON_I The safe and default value for this is N. diff --git a/target/linux/ar71xx/patches-2.6.37/108-mtd_fix_cfi_cmdset_0002_status_check.patch b/target/linux/ar71xx/patches-2.6.37/108-mtd_fix_cfi_cmdset_0002_status_check.patch index 54879baf1..dc1bada6b 100644 --- a/target/linux/ar71xx/patches-2.6.37/108-mtd_fix_cfi_cmdset_0002_status_check.patch +++ b/target/linux/ar71xx/patches-2.6.37/108-mtd_fix_cfi_cmdset_0002_status_check.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/chips/cfi_cmdset_0002.c +++ b/drivers/mtd/chips/cfi_cmdset_0002.c -@@ -1223,8 +1223,8 @@ static int __xipram do_write_oneword(str +@@ -1231,8 +1231,8 @@ static int __xipram do_write_oneword(str break; } @@ -11,7 +11,7 @@ /* Latency issues. Drop the lock, wait a while and retry */ UDELAY(map, chip, adr, 1); -@@ -1240,6 +1240,8 @@ static int __xipram do_write_oneword(str +@@ -1248,6 +1248,8 @@ static int __xipram do_write_oneword(str ret = -EIO; } @@ -20,7 +20,7 @@ xip_enable(map, chip, adr); op_done: chip->state = FL_READY; -@@ -1571,7 +1573,6 @@ static int cfi_amdstd_write_buffers(stru +@@ -1579,7 +1581,6 @@ static int cfi_amdstd_write_buffers(stru return 0; } @@ -28,7 +28,7 @@ /* * Handle devices with one erase region, that only implement * the chip erase command. -@@ -1635,8 +1636,8 @@ static int __xipram do_erase_chip(struct +@@ -1643,8 +1644,8 @@ static int __xipram do_erase_chip(struct chip->erase_suspended = 0; } @@ -39,7 +39,7 @@ if (time_after(jiffies, timeo)) { printk(KERN_WARNING "MTD %s(): software timeout\n", -@@ -1656,6 +1657,7 @@ static int __xipram do_erase_chip(struct +@@ -1664,6 +1665,7 @@ static int __xipram do_erase_chip(struct ret = -EIO; } @@ -47,7 +47,7 @@ chip->state = FL_READY; xip_enable(map, chip, adr); put_chip(map, chip, adr); -@@ -1723,9 +1725,9 @@ static int __xipram do_erase_oneblock(st +@@ -1731,9 +1733,9 @@ static int __xipram do_erase_oneblock(st chip->erase_suspended = 0; } @@ -59,7 +59,7 @@ } if (time_after(jiffies, timeo)) { -@@ -1747,6 +1749,7 @@ static int __xipram do_erase_oneblock(st +@@ -1755,6 +1757,7 @@ static int __xipram do_erase_oneblock(st ret = -EIO; } diff --git a/target/linux/ar71xx/patches-2.6.37/110-usb-ehci-add-war-for-synopsys-hc-bug.patch b/target/linux/ar71xx/patches-2.6.37/110-usb-ehci-add-war-for-synopsys-hc-bug.patch index 047239d5c..edd9e4e02 100644 --- a/target/linux/ar71xx/patches-2.6.37/110-usb-ehci-add-war-for-synopsys-hc-bug.patch +++ b/target/linux/ar71xx/patches-2.6.37/110-usb-ehci-add-war-for-synopsys-hc-bug.patch @@ -12,10 +12,10 @@ /* makes sure the async qh will become idle */ --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h -@@ -131,6 +131,7 @@ struct ehci_hcd { /* one per controlle - unsigned need_io_watchdog:1; +@@ -133,6 +133,7 @@ struct ehci_hcd { /* one per controlle unsigned broken_periodic:1; unsigned fs_i_thresh:1; /* Intel iso scheduling */ + unsigned use_dummy_qh:1; /* AMD Frame List table quirk*/ + unsigned has_synopsys_hc_bug:1; /* Synopsys HC */ /* required for usb32 quirk */ diff --git a/target/linux/ar71xx/patches-2.6.37/111-mtd-cfi_cmdset_0002-force-word-write.patch b/target/linux/ar71xx/patches-2.6.37/111-mtd-cfi_cmdset_0002-force-word-write.patch index e9226e7a6..9dca6eabd 100644 --- a/target/linux/ar71xx/patches-2.6.37/111-mtd-cfi_cmdset_0002-force-word-write.patch +++ b/target/linux/ar71xx/patches-2.6.37/111-mtd-cfi_cmdset_0002-force-word-write.patch @@ -35,7 +35,7 @@ /* Atmel chips don't use the same PRI format as AMD chips */ static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param) -@@ -1383,6 +1387,7 @@ static int cfi_amdstd_write_words(struct +@@ -1391,6 +1395,7 @@ static int cfi_amdstd_write_words(struct /* * FIXME: interleaved mode not tested, and probably not supported! */ @@ -43,7 +43,7 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const u_char *buf, int len) -@@ -1493,7 +1498,6 @@ static int __xipram do_write_buffer(stru +@@ -1501,7 +1506,6 @@ static int __xipram do_write_buffer(stru return ret; } @@ -51,7 +51,7 @@ static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) { -@@ -1572,6 +1576,7 @@ static int cfi_amdstd_write_buffers(stru +@@ -1580,6 +1584,7 @@ static int cfi_amdstd_write_buffers(stru return 0; } diff --git a/target/linux/ar71xx/patches-2.6.37/150-drivers-link-spi-before-mtd.patch b/target/linux/ar71xx/patches-2.6.37/150-drivers-link-spi-before-mtd.patch index eb922dd43..1d9bf9e3b 100644 --- a/target/linux/ar71xx/patches-2.6.37/150-drivers-link-spi-before-mtd.patch +++ b/target/linux/ar71xx/patches-2.6.37/150-drivers-link-spi-before-mtd.patch @@ -1,6 +1,6 @@ --- a/drivers/Makefile +++ b/drivers/Makefile -@@ -45,8 +45,8 @@ obj-y += macintosh/ +@@ -46,8 +46,8 @@ obj-y += macintosh/ obj-$(CONFIG_IDE) += ide/ obj-$(CONFIG_SCSI) += scsi/ obj-$(CONFIG_ATA) += ata/ diff --git a/target/linux/ar71xx/patches-2.6.37/205-wndr3700-usb-led-driver.patch b/target/linux/ar71xx/patches-2.6.37/205-wndr3700-usb-led-driver.patch index 4b0fe3090..cfbea70c5 100644 --- a/target/linux/ar71xx/patches-2.6.37/205-wndr3700-usb-led-driver.patch +++ b/target/linux/ar71xx/patches-2.6.37/205-wndr3700-usb-led-driver.patch @@ -1,6 +1,6 @@ --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig -@@ -329,6 +329,13 @@ config LEDS_TRIGGERS +@@ -347,6 +347,13 @@ config LEDS_TRIGGERS if LEDS_TRIGGERS @@ -16,7 +16,7 @@ config LEDS_TRIGGER_TIMER --- a/drivers/leds/Makefile +++ b/drivers/leds/Makefile -@@ -31,6 +31,7 @@ obj-$(CONFIG_LEDS_DA903X) += leds-da903 +@@ -33,6 +33,7 @@ obj-$(CONFIG_LEDS_DA903X) += leds-da903 obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o obj-$(CONFIG_LEDS_PWM) += leds-pwm.o diff --git a/target/linux/ar71xx/patches-2.6.37/207-rb750-led-driver.patch b/target/linux/ar71xx/patches-2.6.37/207-rb750-led-driver.patch index d53ff8a3c..6614fb933 100644 --- a/target/linux/ar71xx/patches-2.6.37/207-rb750-led-driver.patch +++ b/target/linux/ar71xx/patches-2.6.37/207-rb750-led-driver.patch @@ -1,6 +1,6 @@ --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig -@@ -336,6 +336,10 @@ config LEDS_WNDR3700_USB +@@ -354,6 +354,10 @@ config LEDS_WNDR3700_USB This option enables support for the USB LED found on the NETGEAR WNDR3700 board. @@ -13,7 +13,7 @@ config LEDS_TRIGGER_TIMER --- a/drivers/leds/Makefile +++ b/drivers/leds/Makefile -@@ -38,6 +38,7 @@ obj-$(CONFIG_LEDS_LT3593) += leds-lt359 +@@ -40,6 +40,7 @@ obj-$(CONFIG_LEDS_LT3593) += leds-lt359 obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o obj-$(CONFIG_LEDS_DELL_NETBOOKS) += dell-led.o obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o diff --git a/target/linux/ar71xx/patches-2.6.37/400-2.6.35-fix-nand_scan_ident-options.patch b/target/linux/ar71xx/patches-2.6.37/400-2.6.35-fix-nand_scan_ident-options.patch index dfaad1e0e..696094fdd 100644 --- a/target/linux/ar71xx/patches-2.6.37/400-2.6.35-fix-nand_scan_ident-options.patch +++ b/target/linux/ar71xx/patches-2.6.37/400-2.6.35-fix-nand_scan_ident-options.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/nand/rb4xx_nand.c +++ b/drivers/mtd/nand/rb4xx_nand.c -@@ -218,7 +218,7 @@ static int __init rb4xx_nand_probe(struc +@@ -220,7 +220,7 @@ static int __init rb4xx_nand_probe(struc platform_set_drvdata(pdev, info); -- cgit v1.2.3