kernel: update linux 3.2 to 3.2.13 and refresh patches
authorJonas Gorski <jogo@openwrt.org>
Sun, 1 Apr 2012 07:56:55 +0000 (07:56 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sun, 1 Apr 2012 07:56:55 +0000 (07:56 +0000)
Also remove a duplicate patch from lantiq (already in generic).

SVN-Revision: 31158

92 files changed:
include/kernel-version.mk
target/linux/ar71xx/Makefile
target/linux/ar71xx/patches-3.2/613-MIPS-ath79-RB750GL-support.patch
target/linux/au1000/Makefile
target/linux/brcm47xx/Makefile
target/linux/cns21xx/Makefile
target/linux/ep93xx/Makefile
target/linux/generic/patches-3.2/120-ppp_txqueue_restart.patch
target/linux/lantiq/Makefile
target/linux/lantiq/patches-3.2/0001-GPIO-add-bindings-for-managed-devices.patch
target/linux/lantiq/patches-3.2/0002-MIPS-remove-unused-prototype-kgdb_config.patch
target/linux/lantiq/patches-3.2/0003-MTD-MIPS-lantiq-reintroduce-support-for-cmdline-part.patch
target/linux/lantiq/patches-3.2/0004-MTD-add-m25p80-id-for-mx25l2005a.patch
target/linux/lantiq/patches-3.2/0005-MIPS-lantiq-reorganize-xway-code.patch
target/linux/lantiq/patches-3.2/0006-MIPS-lantiq-change-ltq_request_gpio-call-signature.patch
target/linux/lantiq/patches-3.2/0007-MIPS-lantiq-make-irq.c-support-the-FALC-ON.patch
target/linux/lantiq/patches-3.2/0008-MIPS-lantiq-add-basic-support-for-FALC-ON.patch
target/linux/lantiq/patches-3.2/0009-MIPS-lantiq-add-support-for-FALC-ON-GPIOs.patch
target/linux/lantiq/patches-3.2/0010-MIPS-lantiq-add-support-for-the-EASY98000-evaluation.patch
target/linux/lantiq/patches-3.2/0011-MIPS-lantiq-fix-early-printk.patch
target/linux/lantiq/patches-3.2/0012-MIPS-lantiq-fix-cmdline-parsing.patch
target/linux/lantiq/patches-3.2/0013-MIPS-lantiq-fix-STP-gpio-groups.patch
target/linux/lantiq/patches-3.2/0014-MIPS-lantiq-fix-pull-gpio-up-resistors-usage.patch
target/linux/lantiq/patches-3.2/0015-MIPS-lantiq-add-default-configs.patch
target/linux/lantiq/patches-3.2/0016-MAINTAINERS-add-entry-for-Lantiq-related-files.patch
target/linux/lantiq/patches-3.2/0017-MIPS-make-oprofile-use-cp0_perfcount_irq-if-it-is-se.patch [deleted file]
target/linux/lantiq/patches-3.2/0018-MIPS-lantiq-enable-oprofile-support-on-lantiq-target.patch
target/linux/lantiq/patches-3.2/0019-NET-MIPS-lantiq-make-etop-ethernet-work-on-ase-ar9.patch
target/linux/lantiq/patches-3.2/0020-NET-MIPS-lantiq-non-existing-phy-was-not-handled-gra.patch
target/linux/lantiq/patches-3.2/0021-NET-MIPS-lantiq-return-value-of-request_irq-was-not-.patch
target/linux/lantiq/patches-3.2/0022-MIPS-lantiq-use-devres-managed-gpios.patch
target/linux/lantiq/patches-3.2/0023-MIPS-add-clkdev.h.patch
target/linux/lantiq/patches-3.2/0024-MIPS-lantiq-helper-functions-for-SoC-detection.patch
target/linux/lantiq/patches-3.2/0025-MIPS-lantiq-convert-to-clkdev-api.patch
target/linux/lantiq/patches-3.2/0026-MIPS-lantiq-convert-xway-to-clkdev-api.patch
target/linux/lantiq/patches-3.2/0027-MIPS-lantiq-convert-falcon-to-clkdev-api.patch
target/linux/lantiq/patches-3.2/0028-MIPS-lantiq-convert-dma-driver-to-clkdev-api.patch
target/linux/lantiq/patches-3.2/0029-MIPS-lantiq-convert-gpio_stp-driver-to-clkdev-api.patch
target/linux/lantiq/patches-3.2/0030-MIPS-lantiq-convert-falcon-gpio-to-clkdev-api.patch
target/linux/lantiq/patches-3.2/0031-SERIAL-MIPS-lantiq-convert-serial-driver-to-clkdev-a.patch
target/linux/lantiq/patches-3.2/0032-MIPS-lantiq-convert-falcon-debug-uart-to-clkdev-api.patch
target/linux/lantiq/patches-3.2/0033-NET-MIPS-lantiq-convert-etop-driver-to-clkdev-api.patch
target/linux/lantiq/patches-3.2/0034-WDT-MIPS-lantiq-convert-watchdog-driver-to-clkdev-ap.patch
target/linux/lantiq/patches-3.2/0035-MIPS-lantiq-unify-xway-prom-code.patch
target/linux/lantiq/patches-3.2/0036-MIPS-lantiq-add-vr9-support.patch
target/linux/lantiq/patches-3.2/0037-MIPS-lantiq-add-ipi-handlers-to-make-vsmp-work.patch
target/linux/lantiq/patches-3.2/0038-MIPS-lantiq-add-additional-soc-ids.patch
target/linux/lantiq/patches-3.2/0039-SPI-MIPS-lantiq-add-FALC-ON-spi-driver.patch
target/linux/lantiq/patches-3.2/0040-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch
target/linux/lantiq/patches-3.2/0041-MIPS-lantiq-add-xway-nand-driver.patch
target/linux/lantiq/patches-3.2/0042-SPI-MIPS-lantiq-adds-spi-xway.patch
target/linux/lantiq/patches-3.2/0043-NET-adds-driver-for-lantiq-vr9-ethernet.patch
target/linux/lantiq/patches-3.2/0044-MIPS-NET-several-fixes-to-etop-driver.patch
target/linux/lantiq/patches-3.2/0045-MTD-MIPS-lantiq-use-module_platform_driver-inside-la.patch
target/linux/lantiq/patches-3.2/0046-WDT-MIPS-lantiq-use-module_platform_driver-inside-la.patch
target/linux/lantiq/patches-3.2/0047-MIPS-lantiq-adds-GPTU-driver.patch
target/linux/lantiq/patches-3.2/0048-MIPS-lantiq-adds-dwc_otg.patch
target/linux/lantiq/patches-3.2/0049-dwc_otg-remove-bogus-halt_channel.patch
target/linux/lantiq/patches-3.2/0050-MIPS-adds-ifxhcd.patch
target/linux/lantiq/patches-3.2/0051-MIPS-adds-gptu-driver.patch
target/linux/lantiq/patches-3.2/0052-MIPS-lantiq-pci-rename-variable-inside.patch
target/linux/lantiq/patches-3.2/0053-MIPS-lantiq-pci-give-xway-pci-support-its-own-kbuild.patch
target/linux/lantiq/patches-3.2/0054-MIPS-lantiq-pci-move-pcibios-code-into-fixup-lantiq..patch
target/linux/lantiq/patches-3.2/0055-MIPS-lantiq-pcie-add-pcie-driver.patch
target/linux/lantiq/patches-3.2/0056-MIPS-lantiq-make-GPIO3-work-on-AR9.patch
target/linux/lantiq/patches-3.2/0057-MIPS-lantiq-VPE-extensions.patch
target/linux/lantiq/patches-3.2/0058-MIPS-lantiq-falcon-VPE-softdog.patch
target/linux/lantiq/patches-3.2/0059-MIPS-lantiq-udp-in-kernel-redirect.patch
target/linux/lantiq/patches-3.2/0060-MIPS-lantiq-cache-split.patch
target/linux/lantiq/patches-3.2/0061-MIPS-clean-up-clock-code.patch
target/linux/lantiq/patches-3.2/0062-MIPS-cleanup-reset-code.patch
target/linux/lantiq/patches-3.2/0063-MIPS-lantiq-fixes-ar9-vr9-clock.patch
target/linux/lantiq/patches-3.2/0064-MIPS-lantiq-fixes-danube-clock.patch
target/linux/lantiq/patches-3.2/0065-MIPS-adds-dsl-clocks.patch
target/linux/lantiq/patches-3.2/0066-MIPS-lantiq-dont-always-register-asc0.patch
target/linux/lantiq/patches-3.2/0067-MIPS-lantiq-irqs-were-not-cleared-properly-on-boot.patch
target/linux/lantiq/patches-3.2/0068-MIPS-lantiq-adds-bootsel-helper.patch
target/linux/lantiq/patches-3.2/0069-MIPS-lantiq-adds-USB_ARCH_HAS_HCD-to-CONFIG_LANTIQ.patch
target/linux/lantiq/patches-3.2/200-owrt-netif_receive_skb.patch
target/linux/lantiq/patches-3.2/201-owrt-mtd_split.patch
target/linux/lantiq/patches-3.2/202-owrt-atm.patch
target/linux/lantiq/patches-3.2/204-owrt-dm9000-polling.patch
target/linux/lantiq/patches-3.2/205-owrt-gpio-export.patch
target/linux/lantiq/patches-3.2/208-fix-mach-easy98000.patch
target/linux/lantiq/patches-3.2/209-fritz_ram.patch
target/linux/malta/Makefile
target/linux/mpc52xx/Makefile
target/linux/omap4/Makefile
target/linux/ppc40x/Makefile
target/linux/ppc44x/Makefile
target/linux/ramips/Makefile
target/linux/uml/Makefile

index 353d959f78972af2f787e3307e97baeddc46cfb2..da8534fd9782a658282453d52957eeec542b8258 100644 (file)
@@ -35,8 +35,8 @@ endif
 ifeq ($(LINUX_VERSION),3.1.10)
   LINUX_KERNEL_MD5SUM:=3649bdaa50ffd9114cc16486ec54d83a
 endif
 ifeq ($(LINUX_VERSION),3.1.10)
   LINUX_KERNEL_MD5SUM:=3649bdaa50ffd9114cc16486ec54d83a
 endif
-ifeq ($(LINUX_VERSION),3.2.12)
-  LINUX_KERNEL_MD5SUM:=e3dd3772f0cf14d444a3fb474bd624fe
+ifeq ($(LINUX_VERSION),3.2.13)
+  LINUX_KERNEL_MD5SUM:=1966afd4474000e48fb1e22a5991882e
 endif
 ifeq ($(LINUX_VERSION),3.3)
   LINUX_KERNEL_MD5SUM:=98a6cdd7d082b7ea72df9c89842bac74
 endif
 ifeq ($(LINUX_VERSION),3.3)
   LINUX_KERNEL_MD5SUM:=98a6cdd7d082b7ea72df9c89842bac74
index 589c1574b86454ba2555542d260070ebabeb78d9..83014212cd512427162083ea759803b5ff31b206 100644 (file)
@@ -13,7 +13,7 @@ FEATURES:=squashfs jffs2 targz
 CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
 SUBTARGETS:=generic nand
 
 CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
 SUBTARGETS:=generic nand
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 
 
 include $(INCLUDE_DIR)/target.mk
 
index 70661251703e914ec2c8e686af3ce513b5e3bbe0..1326489d4a12ed54995b1d5f137b9be4a0145050 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/ath79/machtypes.h
 +++ b/arch/mips/ath79/machtypes.h
 --- a/arch/mips/ath79/machtypes.h
 +++ b/arch/mips/ath79/machtypes.h
-@@ -51,6 +51,7 @@ enum ath79_mach_type {
+@@ -52,6 +52,7 @@ enum ath79_mach_type {
        ATH79_MACH_RB_493,              /* Mikrotik RouterBOARD 493/493AH */
        ATH79_MACH_RB_493G,             /* Mikrotik RouterBOARD 493G */
        ATH79_MACH_RB_750,              /* MikroTik RouterBOARD 750 */
        ATH79_MACH_RB_493,              /* Mikrotik RouterBOARD 493/493AH */
        ATH79_MACH_RB_493G,             /* Mikrotik RouterBOARD 493G */
        ATH79_MACH_RB_750,              /* MikroTik RouterBOARD 750 */
index 0125d882486eb6ff518c2cd49e8ed9ee4f7dd936..bc27a307690debab52797ac53912cab406baa673 100644 (file)
@@ -13,7 +13,7 @@ FEATURES:=jffs2 usb pci
 SUBTARGETS=au1500 au1550
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
 SUBTARGETS=au1500 au1550
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 DEFAULT_PACKAGES += wpad-mini yamonenv
 
 include $(INCLUDE_DIR)/target.mk
 DEFAULT_PACKAGES += wpad-mini yamonenv
index dfa0cd7146e29769bf62f4a0dbb0a4b8b7a36499..22b130ad8de8c0d340527cd1f9bc4afcf4e08195 100644 (file)
@@ -11,7 +11,7 @@ BOARD:=brcm47xx
 BOARDNAME:=Broadcom BCM947xx/953xx
 FEATURES:=squashfs usb pcmcia
 
 BOARDNAME:=Broadcom BCM947xx/953xx
 FEATURES:=squashfs usb pcmcia
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 DEFAULT_PACKAGES += wpad-mini kmod-switch kmod-diag nvram
 
 include $(INCLUDE_DIR)/target.mk
 DEFAULT_PACKAGES += wpad-mini kmod-switch kmod-diag nvram
index b519f3935f49e4da98d94e7f45af85bade30e7e9..8dfec8a75a358c589df3cc57c04998d66c513717 100644 (file)
@@ -12,7 +12,7 @@ BOARDNAME:=Cavium Networks Econa CNS21xx
 FEATURES:=squashfs broken
 CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -fno-caller-saves
 
 FEATURES:=squashfs broken
 CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -fno-caller-saves
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 
 
 include $(INCLUDE_DIR)/target.mk
 
index 6c5044ba368507a5169dec91653a820618e8768d..3f702a33e5569f7203d2a362555adfb449831011 100644 (file)
@@ -13,7 +13,7 @@ FEATURES:=squashfs jffs2 ext4 targz usb
 CFLAGS:=-Os -pipe -march=armv4t -fno-caller-saves
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
 CFLAGS:=-Os -pipe -march=armv4t -fno-caller-saves
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 
 
 include $(INCLUDE_DIR)/target.mk
 
index 83033a16c24c77d32402c92c2b418e9dd5ee9d1d..84eb4e41ba8b71346ec4f93cea5d7535e608f861 100644 (file)
@@ -22,8 +22,8 @@ harmless in the TX path.
 
 Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
 
 
 Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
 
---- a/drivers/net/ppp/ppp_generic.c~   2012-01-26 00:39:32.000000000 +0000
-+++ b/drivers/net/ppp/ppp_generic.c    2012-03-26 10:32:31.286744147 +0100
+--- a/drivers/net/ppp/ppp_generic.c
++++ b/drivers/net/ppp/ppp_generic.c
 @@ -235,7 +235,7 @@ struct ppp_net {
  /* Prototypes. */
  static int ppp_unattached_ioctl(struct net *net, struct ppp_file *pf,
 @@ -235,7 +235,7 @@ struct ppp_net {
  /* Prototypes. */
  static int ppp_unattached_ioctl(struct net *net, struct ppp_file *pf,
@@ -73,10 +73,3 @@ Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  }
  
  static inline struct sk_buff *
  }
  
  static inline struct sk_buff *
-
--- 
-David Woodhouse                            Open Source Technology Centre
-David.Woodhouse@intel.com                              Intel Corporation
-
-
-
index 10d6665442a1c7d84bc56b297de1a860ddf5c2aa..f7acee387d4e390986db29f7e17680f4d3aa6d12 100644 (file)
@@ -12,7 +12,7 @@ BOARDNAME:=Lantiq GPON/XWAY
 FEATURES:=squashfs jffs2
 DEFAULT_SUBTARGET:=danube
 
 FEATURES:=squashfs jffs2
 DEFAULT_SUBTARGET:=danube
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 CFLAGS=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
 
 
 CFLAGS=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
 
index 316d040d49e8d9e8d590c704ce1322d24173527c..765d3c633233b2bea6c9092522b661e2afeb13c3 100644 (file)
@@ -15,8 +15,6 @@ Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  3 files changed, 95 insertions(+), 1 deletions(-)
  create mode 100644 drivers/gpio/devres.c
 
  3 files changed, 95 insertions(+), 1 deletions(-)
  create mode 100644 drivers/gpio/devres.c
 
-diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
-index 4e018d6..76dbd3f 100644
 --- a/drivers/gpio/Makefile
 +++ b/drivers/gpio/Makefile
 @@ -2,7 +2,7 @@
 --- a/drivers/gpio/Makefile
 +++ b/drivers/gpio/Makefile
 @@ -2,7 +2,7 @@
@@ -28,9 +26,6 @@ index 4e018d6..76dbd3f 100644
  
  # Device drivers. Generally keep list sorted alphabetically
  obj-$(CONFIG_GPIO_GENERIC)    += gpio-generic.o
  
  # Device drivers. Generally keep list sorted alphabetically
  obj-$(CONFIG_GPIO_GENERIC)    += gpio-generic.o
-diff --git a/drivers/gpio/devres.c b/drivers/gpio/devres.c
-new file mode 100644
-index 0000000..3dd2939
 --- /dev/null
 +++ b/drivers/gpio/devres.c
 @@ -0,0 +1,90 @@
 --- /dev/null
 +++ b/drivers/gpio/devres.c
 @@ -0,0 +1,90 @@
@@ -124,11 +119,9 @@ index 0000000..3dd2939
 +      gpio_free(gpio);
 +}
 +EXPORT_SYMBOL(devm_gpio_free);
 +      gpio_free(gpio);
 +}
 +EXPORT_SYMBOL(devm_gpio_free);
-diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
-index 8c86210..8601a02 100644
 --- a/include/asm-generic/gpio.h
 +++ b/include/asm-generic/gpio.h
 --- a/include/asm-generic/gpio.h
 +++ b/include/asm-generic/gpio.h
-@@ -175,6 +175,10 @@ extern int gpio_request_one(unsigned gpio, unsigned long flags, const char *labe
+@@ -175,6 +175,10 @@ extern int gpio_request_one(unsigned gpi
  extern int gpio_request_array(const struct gpio *array, size_t num);
  extern void gpio_free_array(const struct gpio *array, size_t num);
  
  extern int gpio_request_array(const struct gpio *array, size_t num);
  extern void gpio_free_array(const struct gpio *array, size_t num);
  
@@ -139,6 +132,3 @@ index 8c86210..8601a02 100644
  #ifdef CONFIG_GPIO_SYSFS
  
  /*
  #ifdef CONFIG_GPIO_SYSFS
  
  /*
--- 
-1.7.7.1
-
index d3b3c0ddc0d768aa483cbdfac1b794ec638b68e3..d9c01610da3def87e439f3fd17170b7a8f79d79b 100644 (file)
@@ -7,8 +7,6 @@ Subject: [PATCH 02/70] MIPS: remove unused prototype kgdb_config
  arch/mips/include/asm/mips-boards/generic.h |    4 ----
  1 files changed, 0 insertions(+), 4 deletions(-)
 
  arch/mips/include/asm/mips-boards/generic.h |    4 ----
  1 files changed, 0 insertions(+), 4 deletions(-)
 
-diff --git a/arch/mips/include/asm/mips-boards/generic.h b/arch/mips/include/asm/mips-boards/generic.h
-index 46c0856..6e23ceb 100644
 --- a/arch/mips/include/asm/mips-boards/generic.h
 +++ b/arch/mips/include/asm/mips-boards/generic.h
 @@ -93,8 +93,4 @@ extern void mips_pcibios_init(void);
 --- a/arch/mips/include/asm/mips-boards/generic.h
 +++ b/arch/mips/include/asm/mips-boards/generic.h
 @@ -93,8 +93,4 @@ extern void mips_pcibios_init(void);
@@ -20,6 +18,3 @@ index 46c0856..6e23ceb 100644
 -#endif
 -
  #endif  /* __ASM_MIPS_BOARDS_GENERIC_H */
 -#endif
 -
  #endif  /* __ASM_MIPS_BOARDS_GENERIC_H */
--- 
-1.7.7.1
-
index 64b21011c2c270581c4cde63eb7821a834e32212..02617eef3c0f4de16a9df4d241019d0a63cb8f0e 100644 (file)
@@ -13,8 +13,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  drivers/mtd/maps/lantiq-flash.c |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)
 
  drivers/mtd/maps/lantiq-flash.c |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)
 
-diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c
-index 4f10e27..764d468 100644
 --- a/drivers/mtd/maps/lantiq-flash.c
 +++ b/drivers/mtd/maps/lantiq-flash.c
 @@ -45,6 +45,7 @@ struct ltq_mtd {
 --- a/drivers/mtd/maps/lantiq-flash.c
 +++ b/drivers/mtd/maps/lantiq-flash.c
 @@ -45,6 +45,7 @@ struct ltq_mtd {
@@ -25,7 +23,7 @@ index 4f10e27..764d468 100644
  
  static map_word
  ltq_read16(struct map_info *map, unsigned long adr)
  
  static map_word
  ltq_read16(struct map_info *map, unsigned long adr)
-@@ -168,7 +169,7 @@ ltq_mtd_probe(struct platform_device *pdev)
+@@ -168,7 +169,7 @@ ltq_mtd_probe(struct platform_device *pd
        cfi->addr_unlock1 ^= 1;
        cfi->addr_unlock2 ^= 1;
  
        cfi->addr_unlock1 ^= 1;
        cfi->addr_unlock2 ^= 1;
  
@@ -34,6 +32,3 @@ index 4f10e27..764d468 100644
                        ltq_mtd_data->parts, ltq_mtd_data->nr_parts);
        if (err) {
                dev_err(&pdev->dev, "failed to add partitions\n");
                        ltq_mtd_data->parts, ltq_mtd_data->nr_parts);
        if (err) {
                dev_err(&pdev->dev, "failed to add partitions\n");
--- 
-1.7.7.1
-
index 75adef3fd184602abb50e4b678effc1b89b9efcb..8ac9ae168e993404e2f6dc60ec054d92344f7807 100644 (file)
@@ -7,11 +7,9 @@ Subject: [PATCH 04/70] MTD: add m25p80 id for mx25l2005a
  drivers/mtd/devices/m25p80.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
 
  drivers/mtd/devices/m25p80.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
 
-diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
-index 884904d..3f37f5f 100644
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -676,6 +676,7 @@ static const struct spi_device_id m25p_ids[] = {
+@@ -684,6 +684,7 @@ static const struct spi_device_id m25p_i
        { "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) },
  
        /* Macronix */
        { "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) },
  
        /* Macronix */
@@ -19,6 +17,3 @@ index 884904d..3f37f5f 100644
        { "mx25l4005a",  INFO(0xc22013, 0, 64 * 1024,   8, SECT_4K) },
        { "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },
        { "mx25l1606e",  INFO(0xc22015, 0, 64 * 1024,  32, SECT_4K) },
        { "mx25l4005a",  INFO(0xc22013, 0, 64 * 1024,   8, SECT_4K) },
        { "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },
        { "mx25l1606e",  INFO(0xc22015, 0, 64 * 1024,  32, SECT_4K) },
--- 
-1.7.7.1
-
index 2ab9522573ab80b4fb16625882cd01fec74aa672..cd55f9dfd5982d74afa1348e18d50f11173d53bb 100644 (file)
@@ -38,8 +38,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  delete mode 100644 arch/mips/lantiq/xway/setup-xway.c
  create mode 100644 arch/mips/lantiq/xway/sysctrl.c
 
  delete mode 100644 arch/mips/lantiq/xway/setup-xway.c
  create mode 100644 arch/mips/lantiq/xway/sysctrl.c
 
-diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h
-index ce2f029..66d7300 100644
 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h
 @@ -9,6 +9,7 @@
 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h
 @@ -9,6 +9,7 @@
@@ -66,7 +64,7 @@ index ce2f029..66d7300 100644
  extern unsigned int ltq_get_cpu_ver(void);
  extern unsigned int ltq_get_soc_type(void);
  
  extern unsigned int ltq_get_cpu_ver(void);
  extern unsigned int ltq_get_soc_type(void);
  
-@@ -51,7 +43,9 @@ extern void ltq_enable_irq(struct irq_data *data);
+@@ -51,7 +43,9 @@ extern void ltq_enable_irq(struct irq_da
  
  /* find out what caused the last cpu reset */
  extern int ltq_reset_cause(void);
  
  /* find out what caused the last cpu reset */
  extern int ltq_reset_cause(void);
@@ -77,8 +75,6 @@ index ce2f029..66d7300 100644
  
  #define IOPORT_RESOURCE_START 0x10000000
  #define IOPORT_RESOURCE_END   0xffffffff
  
  #define IOPORT_RESOURCE_START 0x10000000
  #define IOPORT_RESOURCE_END   0xffffffff
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index 8a3c6be..9b7ee366 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -61,6 +61,8 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -61,6 +61,8 @@
@@ -121,8 +117,6 @@ index 8a3c6be..9b7ee366 100644
  
  static inline int ltq_is_ar9(void)
  {
  
  static inline int ltq_is_ar9(void)
  {
-diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c
-index 77ed70f..39eef7f 100644
 --- a/arch/mips/lantiq/clk.c
 +++ b/arch/mips/lantiq/clk.c
 @@ -22,6 +22,7 @@
 --- a/arch/mips/lantiq/clk.c
 +++ b/arch/mips/lantiq/clk.c
 @@ -22,6 +22,7 @@
@@ -156,12 +150,12 @@ index 77ed70f..39eef7f 100644
  
 -      if (insert_resource(&iomem_resource, &ltq_cgu_resource) < 0)
 -              panic("Failed to insert cgu memory\n");
  
 -      if (insert_resource(&iomem_resource, &ltq_cgu_resource) < 0)
 -              panic("Failed to insert cgu memory\n");
--
++      ltq_soc_init();
 -      if (request_mem_region(ltq_cgu_resource.start,
 -                      resource_size(&ltq_cgu_resource), "cgu") < 0)
 -              panic("Failed to request cgu memory\n");
 -      if (request_mem_region(ltq_cgu_resource.start,
 -                      resource_size(&ltq_cgu_resource), "cgu") < 0)
 -              panic("Failed to request cgu memory\n");
-+      ltq_soc_init();
+-
 -      ltq_cgu_membase = ioremap_nocache(ltq_cgu_resource.start,
 -                              resource_size(&ltq_cgu_resource));
 -      if (!ltq_cgu_membase) {
 -      ltq_cgu_membase = ioremap_nocache(ltq_cgu_resource.start,
 -                              resource_size(&ltq_cgu_resource));
 -      if (!ltq_cgu_membase) {
@@ -174,8 +168,6 @@ index 77ed70f..39eef7f 100644
 +      pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000);
        clk_put(clk);
  }
 +      pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000);
        clk_put(clk);
  }
-diff --git a/arch/mips/lantiq/devices.c b/arch/mips/lantiq/devices.c
-index de1cb2b..7193d78 100644
 --- a/arch/mips/lantiq/devices.c
 +++ b/arch/mips/lantiq/devices.c
 @@ -27,12 +27,8 @@
 --- a/arch/mips/lantiq/devices.c
 +++ b/arch/mips/lantiq/devices.c
 @@ -27,12 +27,8 @@
@@ -193,7 +185,7 @@ index de1cb2b..7193d78 100644
  
  static struct platform_device ltq_nor = {
        .name           = "ltq_nor",
  
  static struct platform_device ltq_nor = {
        .name           = "ltq_nor",
-@@ -47,12 +43,8 @@ void __init ltq_register_nor(struct physmap_flash_data *data)
+@@ -47,12 +43,8 @@ void __init ltq_register_nor(struct phys
  }
  
  /* watchdog */
  }
  
  /* watchdog */
@@ -235,8 +227,6 @@ index de1cb2b..7193d78 100644
        IRQ_RES(tx, LTQ_ASC_TIR(1)),
        IRQ_RES(rx, LTQ_ASC_RIR(1)),
        IRQ_RES(err, LTQ_ASC_EIR(1)),
        IRQ_RES(tx, LTQ_ASC_TIR(1)),
        IRQ_RES(rx, LTQ_ASC_RIR(1)),
        IRQ_RES(err, LTQ_ASC_EIR(1)),
-diff --git a/arch/mips/lantiq/devices.h b/arch/mips/lantiq/devices.h
-index 2947bb1..a03c23f 100644
 --- a/arch/mips/lantiq/devices.h
 +++ b/arch/mips/lantiq/devices.h
 @@ -14,6 +14,10 @@
 --- a/arch/mips/lantiq/devices.h
 +++ b/arch/mips/lantiq/devices.h
 @@ -14,6 +14,10 @@
@@ -250,8 +240,6 @@ index 2947bb1..a03c23f 100644
  
  extern void ltq_register_nor(struct physmap_flash_data *data);
  extern void ltq_register_wdt(void);
  
  extern void ltq_register_nor(struct physmap_flash_data *data);
  extern void ltq_register_wdt(void);
-diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c
-index e34fcfd..e3b1e25 100644
 --- a/arch/mips/lantiq/prom.c
 +++ b/arch/mips/lantiq/prom.c
 @@ -16,6 +16,10 @@
 --- a/arch/mips/lantiq/prom.c
 +++ b/arch/mips/lantiq/prom.c
 @@ -16,6 +16,10 @@
@@ -265,7 +253,7 @@ index e34fcfd..e3b1e25 100644
  static struct ltq_soc_info soc_info;
  
  unsigned int ltq_get_cpu_ver(void)
  static struct ltq_soc_info soc_info;
  
  unsigned int ltq_get_cpu_ver(void)
-@@ -55,16 +59,51 @@ static void __init prom_init_cmdline(void)
+@@ -55,16 +59,51 @@ static void __init prom_init_cmdline(voi
        }
  }
  
        }
  }
  
@@ -275,7 +263,7 @@ index e34fcfd..e3b1e25 100644
 -      struct clk *clk;
 +      __iomem void *ret = NULL;
 +      struct resource *lookup = lookup_resource(&iomem_resource, res->start);
 -      struct clk *clk;
 +      __iomem void *ret = NULL;
 +      struct resource *lookup = lookup_resource(&iomem_resource, res->start);
-+
 +      if (lookup && strcmp(lookup->name, res->name)) {
 +              pr_err("conflicting memory range %s\n", res->name);
 +              return NULL;
 +      if (lookup && strcmp(lookup->name, res->name)) {
 +              pr_err("conflicting memory range %s\n", res->name);
 +              return NULL;
@@ -291,7 +279,7 @@ index e34fcfd..e3b1e25 100644
 +              pr_err("Failed to request %s memory\n", res->name);
 +              goto err_res;
 +      }
 +              pr_err("Failed to request %s memory\n", res->name);
 +              goto err_res;
 +      }
++
 +      ret = ioremap_nocache(res->start, resource_size(res));
 +      if (!ret)
 +              goto err_mem;
 +      ret = ioremap_nocache(res->start, resource_size(res));
 +      if (!ret)
 +              goto err_mem;
@@ -323,8 +311,6 @@ index e34fcfd..e3b1e25 100644
        soc_info.sys_type[LTQ_SYS_TYPE_LEN - 1] = '\0';
        pr_info("SoC: %s\n", soc_info.sys_type);
        prom_init_cmdline();
        soc_info.sys_type[LTQ_SYS_TYPE_LEN - 1] = '\0';
        pr_info("SoC: %s\n", soc_info.sys_type);
        prom_init_cmdline();
-diff --git a/arch/mips/lantiq/prom.h b/arch/mips/lantiq/prom.h
-index b4229d9..51dba1b 100644
 --- a/arch/mips/lantiq/prom.h
 +++ b/arch/mips/lantiq/prom.h
 @@ -9,17 +9,21 @@
 --- a/arch/mips/lantiq/prom.h
 +++ b/arch/mips/lantiq/prom.h
 @@ -9,17 +9,21 @@
@@ -349,8 +335,6 @@ index b4229d9..51dba1b 100644
  extern void ltq_soc_setup(void);
  
  #endif
  extern void ltq_soc_setup(void);
  
  #endif
-diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile
-index c517f2e..6678402 100644
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,7 +1,7 @@
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,7 +1,7 @@
@@ -364,8 +348,6 @@ index c517f2e..6678402 100644
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
-diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c
-index d614aa7..f97e565 100644
 --- a/arch/mips/lantiq/xway/devices.c
 +++ b/arch/mips/lantiq/xway/devices.c
 @@ -31,22 +31,9 @@
 --- a/arch/mips/lantiq/xway/devices.c
 +++ b/arch/mips/lantiq/xway/devices.c
 @@ -31,22 +31,9 @@
@@ -438,8 +420,6 @@ index d614aa7..f97e565 100644
  
  static struct platform_device ltq_etop = {
        .name           = "ltq_etop",
  
  static struct platform_device ltq_etop = {
        .name           = "ltq_etop",
-diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
-index cbb6ae5..60cd11f 100644
 --- a/arch/mips/lantiq/xway/dma.c
 +++ b/arch/mips/lantiq/xway/dma.c
 @@ -24,6 +24,8 @@
 --- a/arch/mips/lantiq/xway/dma.c
 +++ b/arch/mips/lantiq/xway/dma.c
 @@ -24,6 +24,8 @@
@@ -485,9 +465,6 @@ index cbb6ae5..60cd11f 100644
        if (!ltq_dma_membase)
                panic("Failed to remap dma memory\n");
  
        if (!ltq_dma_membase)
                panic("Failed to remap dma memory\n");
  
-diff --git a/arch/mips/lantiq/xway/ebu.c b/arch/mips/lantiq/xway/ebu.c
-deleted file mode 100644
-index 033b318..0000000
 --- a/arch/mips/lantiq/xway/ebu.c
 +++ /dev/null
 @@ -1,52 +0,0 @@
 --- a/arch/mips/lantiq/xway/ebu.c
 +++ /dev/null
 @@ -1,52 +0,0 @@
@@ -543,9 +520,6 @@ index 033b318..0000000
 -}
 -
 -postcore_initcall(lantiq_ebu_init);
 -}
 -
 -postcore_initcall(lantiq_ebu_init);
-diff --git a/arch/mips/lantiq/xway/pmu.c b/arch/mips/lantiq/xway/pmu.c
-deleted file mode 100644
-index 39f0d26..0000000
 --- a/arch/mips/lantiq/xway/pmu.c
 +++ /dev/null
 @@ -1,69 +0,0 @@
 --- a/arch/mips/lantiq/xway/pmu.c
 +++ /dev/null
 @@ -1,69 +0,0 @@
@@ -618,8 +592,6 @@ index 39f0d26..0000000
 -}
 -
 -core_initcall(ltq_pmu_init);
 -}
 -
 -core_initcall(ltq_pmu_init);
-diff --git a/arch/mips/lantiq/xway/prom-ase.c b/arch/mips/lantiq/xway/prom-ase.c
-index ae4959a..3f86a3b 100644
 --- a/arch/mips/lantiq/xway/prom-ase.c
 +++ b/arch/mips/lantiq/xway/prom-ase.c
 @@ -13,6 +13,7 @@
 --- a/arch/mips/lantiq/xway/prom-ase.c
 +++ b/arch/mips/lantiq/xway/prom-ase.c
 @@ -13,6 +13,7 @@
@@ -630,7 +602,7 @@ index ae4959a..3f86a3b 100644
  #include "../prom.h"
  
  #define SOC_AMAZON_SE "Amazon_SE"
  #include "../prom.h"
  
  #define SOC_AMAZON_SE "Amazon_SE"
-@@ -26,6 +27,7 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
+@@ -26,6 +27,7 @@ void __init ltq_soc_detect(struct ltq_so
  {
        i->partnum = (ltq_r32(LTQ_MPS_CHIPID) & PART_MASK) >> PART_SHIFT;
        i->rev = (ltq_r32(LTQ_MPS_CHIPID) & REV_MASK) >> REV_SHIFT;
  {
        i->partnum = (ltq_r32(LTQ_MPS_CHIPID) & PART_MASK) >> PART_SHIFT;
        i->rev = (ltq_r32(LTQ_MPS_CHIPID) & REV_MASK) >> REV_SHIFT;
@@ -638,7 +610,7 @@ index ae4959a..3f86a3b 100644
        switch (i->partnum) {
        case SOC_ID_AMAZON_SE:
                i->name = SOC_AMAZON_SE;
        switch (i->partnum) {
        case SOC_ID_AMAZON_SE:
                i->name = SOC_AMAZON_SE;
-@@ -37,3 +39,10 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
+@@ -37,3 +39,10 @@ void __init ltq_soc_detect(struct ltq_so
                break;
        }
  }
                break;
        }
  }
@@ -649,8 +621,6 @@ index ae4959a..3f86a3b 100644
 +      ltq_register_gpio();
 +      ltq_register_wdt();
 +}
 +      ltq_register_gpio();
 +      ltq_register_wdt();
 +}
-diff --git a/arch/mips/lantiq/xway/prom-xway.c b/arch/mips/lantiq/xway/prom-xway.c
-index 2228133..d823a92 100644
 --- a/arch/mips/lantiq/xway/prom-xway.c
 +++ b/arch/mips/lantiq/xway/prom-xway.c
 @@ -13,6 +13,7 @@
 --- a/arch/mips/lantiq/xway/prom-xway.c
 +++ b/arch/mips/lantiq/xway/prom-xway.c
 @@ -13,6 +13,7 @@
@@ -661,7 +631,7 @@ index 2228133..d823a92 100644
  #include "../prom.h"
  
  #define SOC_DANUBE    "Danube"
  #include "../prom.h"
  
  #define SOC_DANUBE    "Danube"
-@@ -28,6 +29,7 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
+@@ -28,6 +29,7 @@ void __init ltq_soc_detect(struct ltq_so
  {
        i->partnum = (ltq_r32(LTQ_MPS_CHIPID) & PART_MASK) >> PART_SHIFT;
        i->rev = (ltq_r32(LTQ_MPS_CHIPID) & REV_MASK) >> REV_SHIFT;
  {
        i->partnum = (ltq_r32(LTQ_MPS_CHIPID) & PART_MASK) >> PART_SHIFT;
        i->rev = (ltq_r32(LTQ_MPS_CHIPID) & REV_MASK) >> REV_SHIFT;
@@ -669,7 +639,7 @@ index 2228133..d823a92 100644
        switch (i->partnum) {
        case SOC_ID_DANUBE1:
        case SOC_ID_DANUBE2:
        switch (i->partnum) {
        case SOC_ID_DANUBE1:
        case SOC_ID_DANUBE2:
-@@ -52,3 +54,11 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
+@@ -52,3 +54,11 @@ void __init ltq_soc_detect(struct ltq_so
                break;
        }
  }
                break;
        }
  }
@@ -681,8 +651,6 @@ index 2228133..d823a92 100644
 +      ltq_register_gpio();
 +      ltq_register_wdt();
 +}
 +      ltq_register_gpio();
 +      ltq_register_wdt();
 +}
-diff --git a/arch/mips/lantiq/xway/reset.c b/arch/mips/lantiq/xway/reset.c
-index 3d41f0b..ca2212a 100644
 --- a/arch/mips/lantiq/xway/reset.c
 +++ b/arch/mips/lantiq/xway/reset.c
 @@ -15,6 +15,8 @@
 --- a/arch/mips/lantiq/xway/reset.c
 +++ b/arch/mips/lantiq/xway/reset.c
 @@ -15,6 +15,8 @@
@@ -728,9 +696,6 @@ index 3d41f0b..ca2212a 100644
        if (!ltq_rcu_membase)
                panic("Failed to remap rcu memory\n");
  
        if (!ltq_rcu_membase)
                panic("Failed to remap rcu memory\n");
  
-diff --git a/arch/mips/lantiq/xway/setup-ase.c b/arch/mips/lantiq/xway/setup-ase.c
-deleted file mode 100644
-index f6f3267..0000000
 --- a/arch/mips/lantiq/xway/setup-ase.c
 +++ /dev/null
 @@ -1,19 +0,0 @@
 --- a/arch/mips/lantiq/xway/setup-ase.c
 +++ /dev/null
 @@ -1,19 +0,0 @@
@@ -753,9 +718,6 @@ index f6f3267..0000000
 -      ltq_register_gpio();
 -      ltq_register_wdt();
 -}
 -      ltq_register_gpio();
 -      ltq_register_wdt();
 -}
-diff --git a/arch/mips/lantiq/xway/setup-xway.c b/arch/mips/lantiq/xway/setup-xway.c
-deleted file mode 100644
-index c292f64..0000000
 --- a/arch/mips/lantiq/xway/setup-xway.c
 +++ /dev/null
 @@ -1,20 +0,0 @@
 --- a/arch/mips/lantiq/xway/setup-xway.c
 +++ /dev/null
 @@ -1,20 +0,0 @@
@@ -779,9 +741,6 @@ index c292f64..0000000
 -      ltq_register_gpio();
 -      ltq_register_wdt();
 -}
 -      ltq_register_gpio();
 -      ltq_register_wdt();
 -}
-diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
-new file mode 100644
-index 0000000..8fd13a1
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -0,0 +1,78 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -0,0 +1,78 @@
@@ -863,8 +822,6 @@ index 0000000..8fd13a1
 +      /* make sure to unprotect the memory region where flash is located */
 +      ltq_ebu_w32(ltq_ebu_r32(LTQ_EBU_BUSCON0) & ~EBU_WRDIS, LTQ_EBU_BUSCON0);
 +}
 +      /* make sure to unprotect the memory region where flash is located */
 +      ltq_ebu_w32(ltq_ebu_r32(LTQ_EBU_BUSCON0) & ~EBU_WRDIS, LTQ_EBU_BUSCON0);
 +}
-diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c
-index 102aed0..179bf98 100644
 --- a/drivers/watchdog/lantiq_wdt.c
 +++ b/drivers/watchdog/lantiq_wdt.c
 @@ -16,7 +16,7 @@
 --- a/drivers/watchdog/lantiq_wdt.c
 +++ b/drivers/watchdog/lantiq_wdt.c
 @@ -16,7 +16,7 @@
@@ -876,6 +833,3 @@ index 102aed0..179bf98 100644
  
  /* Section 3.4 of the datasheet
   * The password sequence protects the WDT control register from unintended
  
  /* Section 3.4 of the datasheet
   * The password sequence protects the WDT control register from unintended
--- 
-1.7.7.1
-
index 4700bc91d9829becafcd3ea9a7d52fb64aeea4ef..3799a73b2cdf2d904f937dd7b8cc726339e4d302 100644 (file)
@@ -17,8 +17,6 @@ Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
  arch/mips/pci/pci-lantiq.c                         |   36 +++++++++----------
  4 files changed, 26 insertions(+), 28 deletions(-)
 
  arch/mips/pci/pci-lantiq.c                         |   36 +++++++++----------
  4 files changed, 26 insertions(+), 28 deletions(-)
 
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index 9b7ee366..87f6d24 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -135,8 +135,8 @@ extern __iomem void *ltq_ebu_membase;
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -135,8 +135,8 @@ extern __iomem void *ltq_ebu_membase;
@@ -32,8 +30,6 @@ index 9b7ee366..87f6d24 100644
  extern void ltq_pmu_enable(unsigned int module);
  extern void ltq_pmu_disable(unsigned int module);
  extern void ltq_cgu_enable(unsigned int clk);
  extern void ltq_pmu_enable(unsigned int module);
  extern void ltq_pmu_disable(unsigned int module);
  extern void ltq_cgu_enable(unsigned int clk);
-diff --git a/arch/mips/lantiq/xway/gpio.c b/arch/mips/lantiq/xway/gpio.c
-index d2fa98f..f204f6c 100644
 --- a/arch/mips/lantiq/xway/gpio.c
 +++ b/arch/mips/lantiq/xway/gpio.c
 @@ -48,8 +48,8 @@ int irq_to_gpio(unsigned int gpio)
 --- a/arch/mips/lantiq/xway/gpio.c
 +++ b/arch/mips/lantiq/xway/gpio.c
 @@ -48,8 +48,8 @@ int irq_to_gpio(unsigned int gpio)
@@ -47,7 +43,7 @@ index d2fa98f..f204f6c 100644
  {
        int id = 0;
  
  {
        int id = 0;
  
-@@ -67,13 +67,13 @@ int ltq_gpio_request(unsigned int pin, unsigned int alt0,
+@@ -67,13 +67,13 @@ int ltq_gpio_request(unsigned int pin, u
                pin -= PINS_PER_PORT;
                id++;
        }
                pin -= PINS_PER_PORT;
                id++;
        }
@@ -63,8 +59,6 @@ index d2fa98f..f204f6c 100644
                ltq_gpio_setbit(ltq_gpio_port[id].membase,
                        LTQ_GPIO_ALTSEL1, pin);
        else
                ltq_gpio_setbit(ltq_gpio_port[id].membase,
                        LTQ_GPIO_ALTSEL1, pin);
        else
-diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c
-index ff9991c..2c78660 100644
 --- a/arch/mips/lantiq/xway/gpio_stp.c
 +++ b/arch/mips/lantiq/xway/gpio_stp.c
 @@ -79,9 +79,9 @@ static struct gpio_chip ltq_stp_chip = {
 --- a/arch/mips/lantiq/xway/gpio_stp.c
 +++ b/arch/mips/lantiq/xway/gpio_stp.c
 @@ -79,9 +79,9 @@ static struct gpio_chip ltq_stp_chip = {
@@ -80,8 +74,6 @@ index ff9991c..2c78660 100644
  
        /* sane defaults */
        ltq_stp_w32(0, LTQ_STP_AR);
  
        /* sane defaults */
        ltq_stp_w32(0, LTQ_STP_AR);
-diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c
-index be1e1af..c001c5a 100644
 --- a/arch/mips/pci/pci-lantiq.c
 +++ b/arch/mips/pci/pci-lantiq.c
 @@ -70,28 +70,27 @@
 --- a/arch/mips/pci/pci-lantiq.c
 +++ b/arch/mips/pci/pci-lantiq.c
 @@ -70,28 +70,27 @@
@@ -144,6 +136,3 @@ index be1e1af..c001c5a 100644
        ltq_pci_req_mask = (gpio >> PCI_REQ_SHIFT) & PCI_REQ_MASK;
  }
  
        ltq_pci_req_mask = (gpio >> PCI_REQ_SHIFT) & PCI_REQ_MASK;
  }
  
--- 
-1.7.7.1
-
index fd45e61e4c802a64d6f10be31f24222bf53ce61c..a32817db2da8618ae3b48a002d7c0b1444fa7740 100644 (file)
@@ -16,11 +16,9 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/irq.c |   24 +++++++++++++-----------
  1 files changed, 13 insertions(+), 11 deletions(-)
 
  arch/mips/lantiq/irq.c |   24 +++++++++++++-----------
  1 files changed, 13 insertions(+), 11 deletions(-)
 
-diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c
-index f9737bb..17c057f 100644
 --- a/arch/mips/lantiq/irq.c
 +++ b/arch/mips/lantiq/irq.c
 --- a/arch/mips/lantiq/irq.c
 +++ b/arch/mips/lantiq/irq.c
-@@ -195,7 +195,7 @@ static void ltq_hw_irqdispatch(int module)
+@@ -195,7 +195,7 @@ static void ltq_hw_irqdispatch(int modul
        do_IRQ((int)irq + INT_NUM_IM0_IRL0 + (INT_NUM_IM_OFFSET * module));
  
        /* if this is a EBU irq, we need to ack it or get a deadlock */
        do_IRQ((int)irq + INT_NUM_IM0_IRL0 + (INT_NUM_IM_OFFSET * module));
  
        /* if this is a EBU irq, we need to ack it or get a deadlock */
@@ -38,14 +36,15 @@ index f9737bb..17c057f 100644
 +      if (LTQ_EIU_BASE_ADDR) {
 +              if (insert_resource(&iomem_resource, &ltq_eiu_resource) < 0)
 +                      panic("Failed to insert eiu memory\n");
 +      if (LTQ_EIU_BASE_ADDR) {
 +              if (insert_resource(&iomem_resource, &ltq_eiu_resource) < 0)
 +                      panic("Failed to insert eiu memory\n");
--      if (request_mem_region(ltq_eiu_resource.start,
--                      resource_size(&ltq_eiu_resource), "eiu") < 0)
--              panic("Failed to request eiu memory\n");
++
 +              if (request_mem_region(ltq_eiu_resource.start,
 +                              resource_size(&ltq_eiu_resource), "eiu") < 0)
 +                      panic("Failed to request eiu memory\n");
  
 +              if (request_mem_region(ltq_eiu_resource.start,
 +                              resource_size(&ltq_eiu_resource), "eiu") < 0)
 +                      panic("Failed to request eiu memory\n");
  
+-      if (request_mem_region(ltq_eiu_resource.start,
+-                      resource_size(&ltq_eiu_resource), "eiu") < 0)
+-              panic("Failed to request eiu memory\n");
+-
 -      ltq_eiu_membase = ioremap_nocache(ltq_eiu_resource.start,
 +              ltq_eiu_membase = ioremap_nocache(ltq_eiu_resource.start,
                                resource_size(&ltq_eiu_resource));
 -      ltq_eiu_membase = ioremap_nocache(ltq_eiu_resource.start,
 +              ltq_eiu_membase = ioremap_nocache(ltq_eiu_resource.start,
                                resource_size(&ltq_eiu_resource));
@@ -68,6 +67,3 @@ index f9737bb..17c057f 100644
                        irq_set_chip_and_handler(i, &ltq_eiu_type,
                                handle_level_irq);
                /* EIU3-5 only exist on ar9 and vr9 */
                        irq_set_chip_and_handler(i, &ltq_eiu_type,
                                handle_level_irq);
                /* EIU3-5 only exist on ar9 and vr9 */
--- 
-1.7.7.1
-
index 72b0fa7438cfad36bbeeff41e76f29634897c970..5690fc68b3a653a523e796bbc65c0b40a0fd8467 100644 (file)
@@ -34,9 +34,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  create mode 100644 arch/mips/lantiq/falcon/reset.c
  create mode 100644 arch/mips/lantiq/falcon/sysctrl.c
 
  create mode 100644 arch/mips/lantiq/falcon/reset.c
  create mode 100644 arch/mips/lantiq/falcon/sysctrl.c
 
-diff --git a/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h b/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h
-new file mode 100644
-index 0000000..4dc6466
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h
 @@ -0,0 +1,268 @@
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h
 @@ -0,0 +1,268 @@
@@ -308,9 +305,6 @@ index 0000000..4dc6466
 +#define FALCON_IRQ_VPE0_PMCIR                 (INT_NUM_IM4_IRL0 + 31)
 +
 +#endif /* _FALCON_IRQ__ */
 +#define FALCON_IRQ_VPE0_PMCIR                 (INT_NUM_IM4_IRL0 + 31)
 +
 +#endif /* _FALCON_IRQ__ */
-diff --git a/arch/mips/include/asm/mach-lantiq/falcon/irq.h b/arch/mips/include/asm/mach-lantiq/falcon/irq.h
-new file mode 100644
-index 0000000..2caccd9
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/irq.h
 @@ -0,0 +1,18 @@
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/irq.h
 @@ -0,0 +1,18 @@
@@ -332,9 +326,6 @@ index 0000000..2caccd9
 +#include_next <irq.h>
 +
 +#endif
 +#include_next <irq.h>
 +
 +#endif
-diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
-new file mode 100644
-index 0000000..b074748
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 @@ -0,0 +1,143 @@
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 @@ -0,0 +1,143 @@
@@ -481,11 +472,9 @@ index 0000000..b074748
 +
 +#endif /* CONFIG_SOC_FALCON */
 +#endif /* _LTQ_XWAY_H__ */
 +
 +#endif /* CONFIG_SOC_FALCON */
 +#endif /* _LTQ_XWAY_H__ */
-diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h
-index 66d7300..188de0f 100644
 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h
 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h
-@@ -25,6 +25,7 @@ extern unsigned int ltq_get_soc_type(void);
+@@ -25,6 +25,7 @@ extern unsigned int ltq_get_soc_type(voi
  /* clock speeds */
  #define CLOCK_60M     60000000
  #define CLOCK_83M     83333333
  /* clock speeds */
  #define CLOCK_60M     60000000
  #define CLOCK_83M     83333333
@@ -493,8 +482,6 @@ index 66d7300..188de0f 100644
  #define CLOCK_111M    111111111
  #define CLOCK_133M    133333333
  #define CLOCK_167M    166666667
  #define CLOCK_111M    111111111
  #define CLOCK_133M    133333333
  #define CLOCK_167M    166666667
-diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig
-index 3fccf21..cb6b39f 100644
 --- a/arch/mips/lantiq/Kconfig
 +++ b/arch/mips/lantiq/Kconfig
 @@ -16,8 +16,12 @@ config SOC_XWAY
 --- a/arch/mips/lantiq/Kconfig
 +++ b/arch/mips/lantiq/Kconfig
 @@ -16,8 +16,12 @@ config SOC_XWAY
@@ -510,17 +497,13 @@ index 3fccf21..cb6b39f 100644
 +source "arch/mips/lantiq/falcon/Kconfig"
  
  endif
 +source "arch/mips/lantiq/falcon/Kconfig"
  
  endif
-diff --git a/arch/mips/lantiq/Makefile b/arch/mips/lantiq/Makefile
-index e5dae0e..7e9c69e 100644
 --- a/arch/mips/lantiq/Makefile
 +++ b/arch/mips/lantiq/Makefile
 --- a/arch/mips/lantiq/Makefile
 +++ b/arch/mips/lantiq/Makefile
-@@ -9,3 +9,4 @@ obj-y := irq.o setup.o clk.o prom.o devices.o
+@@ -9,3 +9,4 @@ obj-y := irq.o setup.o clk.o prom.o devi
  obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
  
  obj-$(CONFIG_SOC_TYPE_XWAY) += xway/
 +obj-$(CONFIG_SOC_FALCON) += falcon/
  obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
  
  obj-$(CONFIG_SOC_TYPE_XWAY) += xway/
 +obj-$(CONFIG_SOC_FALCON) += falcon/
-diff --git a/arch/mips/lantiq/Platform b/arch/mips/lantiq/Platform
-index f3dff05..b3ec498 100644
 --- a/arch/mips/lantiq/Platform
 +++ b/arch/mips/lantiq/Platform
 @@ -6,3 +6,4 @@ platform-$(CONFIG_LANTIQ)      += lantiq/
 --- a/arch/mips/lantiq/Platform
 +++ b/arch/mips/lantiq/Platform
 @@ -6,3 +6,4 @@ platform-$(CONFIG_LANTIQ)      += lantiq/
@@ -528,16 +511,10 @@ index f3dff05..b3ec498 100644
  load-$(CONFIG_LANTIQ)         = 0xffffffff80002000
  cflags-$(CONFIG_SOC_TYPE_XWAY)        += -I$(srctree)/arch/mips/include/asm/mach-lantiq/xway
 +cflags-$(CONFIG_SOC_FALCON)   += -I$(srctree)/arch/mips/include/asm/mach-lantiq/falcon
  load-$(CONFIG_LANTIQ)         = 0xffffffff80002000
  cflags-$(CONFIG_SOC_TYPE_XWAY)        += -I$(srctree)/arch/mips/include/asm/mach-lantiq/xway
 +cflags-$(CONFIG_SOC_FALCON)   += -I$(srctree)/arch/mips/include/asm/mach-lantiq/falcon
-diff --git a/arch/mips/lantiq/falcon/Makefile b/arch/mips/lantiq/falcon/Makefile
-new file mode 100644
-index 0000000..e9c7455
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/Makefile
 @@ -0,0 +1 @@
 +obj-y := clk.o prom.o reset.o sysctrl.o devices.o
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/Makefile
 @@ -0,0 +1 @@
 +obj-y := clk.o prom.o reset.o sysctrl.o devices.o
-diff --git a/arch/mips/lantiq/falcon/clk.c b/arch/mips/lantiq/falcon/clk.c
-new file mode 100644
-index 0000000..afe1b52
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/clk.c
 @@ -0,0 +1,44 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/clk.c
 @@ -0,0 +1,44 @@
@@ -585,9 +562,6 @@ index 0000000..afe1b52
 +      return CLOCK_100M;
 +}
 +EXPORT_SYMBOL(ltq_get_fpi_hz);
 +      return CLOCK_100M;
 +}
 +EXPORT_SYMBOL(ltq_get_fpi_hz);
-diff --git a/arch/mips/lantiq/falcon/devices.c b/arch/mips/lantiq/falcon/devices.c
-new file mode 100644
-index 0000000..c4606f2
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/devices.c
 @@ -0,0 +1,87 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/devices.c
 @@ -0,0 +1,87 @@
@@ -678,9 +652,6 @@ index 0000000..c4606f2
 +{
 +      platform_device_register(&ltq_flash_nand);
 +}
 +{
 +      platform_device_register(&ltq_flash_nand);
 +}
-diff --git a/arch/mips/lantiq/falcon/devices.h b/arch/mips/lantiq/falcon/devices.h
-new file mode 100644
-index 0000000..e802a7c
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/devices.h
 @@ -0,0 +1,18 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/devices.h
 @@ -0,0 +1,18 @@
@@ -702,9 +673,6 @@ index 0000000..e802a7c
 +extern void falcon_register_nand(void);
 +
 +#endif
 +extern void falcon_register_nand(void);
 +
 +#endif
-diff --git a/arch/mips/lantiq/falcon/prom.c b/arch/mips/lantiq/falcon/prom.c
-new file mode 100644
-index 0000000..b50d6f9
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/prom.c
 @@ -0,0 +1,93 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/prom.c
 @@ -0,0 +1,93 @@
@@ -801,9 +769,6 @@ index 0000000..b50d6f9
 +              break;
 +      }
 +}
 +              break;
 +      }
 +}
-diff --git a/arch/mips/lantiq/falcon/reset.c b/arch/mips/lantiq/falcon/reset.c
-new file mode 100644
-index 0000000..cbcadc5
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/reset.c
 @@ -0,0 +1,87 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/reset.c
 @@ -0,0 +1,87 @@
@@ -894,9 +859,6 @@ index 0000000..cbcadc5
 +}
 +
 +arch_initcall(mips_reboot_setup);
 +}
 +
 +arch_initcall(mips_reboot_setup);
-diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c
-new file mode 100644
-index 0000000..905a142
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/sysctrl.c
 @@ -0,0 +1,183 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/sysctrl.c
 @@ -0,0 +1,183 @@
@@ -1083,6 +1045,3 @@ index 0000000..905a142
 +
 +      ltq_gpe_enable();
 +}
 +
 +      ltq_gpe_enable();
 +}
--- 
-1.7.7.1
-
index 2e50422bbd788e4f1a568732ad758126769efe88..bd39eff3528812ecd517acd098d20dfc40bd0fdb 100644 (file)
@@ -16,15 +16,11 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  4 files changed, 443 insertions(+), 1 deletions(-)
  create mode 100644 arch/mips/lantiq/falcon/gpio.c
 
  4 files changed, 443 insertions(+), 1 deletions(-)
  create mode 100644 arch/mips/lantiq/falcon/gpio.c
 
-diff --git a/arch/mips/lantiq/falcon/Makefile b/arch/mips/lantiq/falcon/Makefile
-index e9c7455..de72209 100644
 --- a/arch/mips/lantiq/falcon/Makefile
 +++ b/arch/mips/lantiq/falcon/Makefile
 @@ -1 +1 @@
 -obj-y := clk.o prom.o reset.o sysctrl.o devices.o
 +obj-y := clk.o prom.o reset.o sysctrl.o devices.o gpio.o
 --- a/arch/mips/lantiq/falcon/Makefile
 +++ b/arch/mips/lantiq/falcon/Makefile
 @@ -1 +1 @@
 -obj-y := clk.o prom.o reset.o sysctrl.o devices.o
 +obj-y := clk.o prom.o reset.o sysctrl.o devices.o gpio.o
-diff --git a/arch/mips/lantiq/falcon/devices.c b/arch/mips/lantiq/falcon/devices.c
-index c4606f2..4f47b44 100644
 --- a/arch/mips/lantiq/falcon/devices.c
 +++ b/arch/mips/lantiq/falcon/devices.c
 @@ -9,6 +9,7 @@
 --- a/arch/mips/lantiq/falcon/devices.c
 +++ b/arch/mips/lantiq/falcon/devices.c
 @@ -9,6 +9,7 @@
@@ -79,8 +75,6 @@ index c4606f2..4f47b44 100644
 +      ltq_sysctl_activate(SYSCTL_SYS1,
 +              ACTS_PADCTRL3 | ACTS_PADCTRL4 | ACTS_P3 | ACTS_P4);
 +}
 +      ltq_sysctl_activate(SYSCTL_SYS1,
 +              ACTS_PADCTRL3 | ACTS_PADCTRL4 | ACTS_P3 | ACTS_P4);
 +}
-diff --git a/arch/mips/lantiq/falcon/devices.h b/arch/mips/lantiq/falcon/devices.h
-index e802a7c..18be8b6 100644
 --- a/arch/mips/lantiq/falcon/devices.h
 +++ b/arch/mips/lantiq/falcon/devices.h
 @@ -14,5 +14,7 @@
 --- a/arch/mips/lantiq/falcon/devices.h
 +++ b/arch/mips/lantiq/falcon/devices.h
 @@ -14,5 +14,7 @@
@@ -91,9 +85,6 @@ index e802a7c..18be8b6 100644
 +extern void falcon_register_gpio_extra(void);
  
  #endif
 +extern void falcon_register_gpio_extra(void);
  
  #endif
-diff --git a/arch/mips/lantiq/falcon/gpio.c b/arch/mips/lantiq/falcon/gpio.c
-new file mode 100644
-index 0000000..28f8639
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/gpio.c
 @@ -0,0 +1,399 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/gpio.c
 @@ -0,0 +1,399 @@
@@ -496,6 +487,3 @@ index 0000000..28f8639
 +}
 +
 +postcore_initcall(falcon_gpio_init);
 +}
 +
 +postcore_initcall(falcon_gpio_init);
--- 
-1.7.7.1
-
index 93d608e889835bb2088e72ab19195a963a4555d1..79ab62c2eb4511b9f06862b32f57def14bdfa0ec 100644 (file)
@@ -17,9 +17,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  create mode 100644 arch/mips/lantiq/falcon/Kconfig
  create mode 100644 arch/mips/lantiq/falcon/mach-easy98000.c
 
  create mode 100644 arch/mips/lantiq/falcon/Kconfig
  create mode 100644 arch/mips/lantiq/falcon/mach-easy98000.c
 
-diff --git a/arch/mips/lantiq/falcon/Kconfig b/arch/mips/lantiq/falcon/Kconfig
-new file mode 100644
-index 0000000..03e999d
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/Kconfig
 @@ -0,0 +1,11 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/Kconfig
 @@ -0,0 +1,11 @@
@@ -34,16 +31,11 @@ index 0000000..03e999d
 +endmenu
 +
 +endif
 +endmenu
 +
 +endif
-diff --git a/arch/mips/lantiq/falcon/Makefile b/arch/mips/lantiq/falcon/Makefile
-index de72209..56b22eb 100644
 --- a/arch/mips/lantiq/falcon/Makefile
 +++ b/arch/mips/lantiq/falcon/Makefile
 @@ -1 +1,2 @@
  obj-y := clk.o prom.o reset.o sysctrl.o devices.o gpio.o
 +obj-$(CONFIG_LANTIQ_MACH_EASY98000) += mach-easy98000.o
 --- a/arch/mips/lantiq/falcon/Makefile
 +++ b/arch/mips/lantiq/falcon/Makefile
 @@ -1 +1,2 @@
  obj-y := clk.o prom.o reset.o sysctrl.o devices.o gpio.o
 +obj-$(CONFIG_LANTIQ_MACH_EASY98000) += mach-easy98000.o
-diff --git a/arch/mips/lantiq/falcon/mach-easy98000.c b/arch/mips/lantiq/falcon/mach-easy98000.c
-new file mode 100644
-index 0000000..361b8f0
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/mach-easy98000.c
 @@ -0,0 +1,110 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/mach-easy98000.c
 @@ -0,0 +1,110 @@
@@ -157,8 +149,6 @@ index 0000000..361b8f0
 +                      "EASY98000NAND",
 +                      "EASY98000 Eval Board (NAND Flash)",
 +                      easy98000nand_init);
 +                      "EASY98000NAND",
 +                      "EASY98000 Eval Board (NAND Flash)",
 +                      easy98000nand_init);
-diff --git a/arch/mips/lantiq/machtypes.h b/arch/mips/lantiq/machtypes.h
-index 7e01b8c..dfc6af7 100644
 --- a/arch/mips/lantiq/machtypes.h
 +++ b/arch/mips/lantiq/machtypes.h
 @@ -15,6 +15,11 @@ enum lantiq_mach_type {
 --- a/arch/mips/lantiq/machtypes.h
 +++ b/arch/mips/lantiq/machtypes.h
 @@ -15,6 +15,11 @@ enum lantiq_mach_type {
@@ -173,6 +163,3 @@ index 7e01b8c..dfc6af7 100644
  };
  
  #endif
  };
  
  #endif
--- 
-1.7.7.1
-
index 8cffe09b6fc8ca6b344684fa706364a817d2ec8e..1eb29e6ea3c1eb4531d541ae10446bb3b4f16b3f 100644 (file)
@@ -14,8 +14,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/early_printk.c                    |   14 ++++++++------
  2 files changed, 14 insertions(+), 6 deletions(-)
 
  arch/mips/lantiq/early_printk.c                    |   14 ++++++++------
  2 files changed, 14 insertions(+), 6 deletions(-)
 
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index 87f6d24..e31f52d 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -34,6 +34,12 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -34,6 +34,12 @@
@@ -31,8 +29,6 @@ index 87f6d24..e31f52d 100644
  /* RCU - reset control unit */
  #define LTQ_RCU_BASE_ADDR     0x1F203000
  #define LTQ_RCU_SIZE          0x1000
  /* RCU - reset control unit */
  #define LTQ_RCU_BASE_ADDR     0x1F203000
  #define LTQ_RCU_SIZE          0x1000
-diff --git a/arch/mips/lantiq/early_printk.c b/arch/mips/lantiq/early_printk.c
-index 972e05f..5089075 100644
 --- a/arch/mips/lantiq/early_printk.c
 +++ b/arch/mips/lantiq/early_printk.c
 @@ -12,11 +12,13 @@
 --- a/arch/mips/lantiq/early_printk.c
 +++ b/arch/mips/lantiq/early_printk.c
 @@ -12,11 +12,13 @@
@@ -63,6 +59,3 @@ index 972e05f..5089075 100644
 +      ltq_w8(c, LTQ_ASC_TBUF);
        local_irq_restore(flags);
  }
 +      ltq_w8(c, LTQ_ASC_TBUF);
        local_irq_restore(flags);
  }
--- 
-1.7.7.1
-
index ac8103d427263a2c485b929cb2cb03f4180545b8..6ef423b292da205e59ab6dd6ef44316dbabc6216 100644 (file)
@@ -12,11 +12,9 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/prom.c |    6 ++++--
  1 files changed, 4 insertions(+), 2 deletions(-)
 
  arch/mips/lantiq/prom.c |    6 ++++--
  1 files changed, 4 insertions(+), 2 deletions(-)
 
-diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c
-index e3b1e25..acb8921 100644
 --- a/arch/mips/lantiq/prom.c
 +++ b/arch/mips/lantiq/prom.c
 --- a/arch/mips/lantiq/prom.c
 +++ b/arch/mips/lantiq/prom.c
-@@ -49,10 +49,12 @@ static void __init prom_init_cmdline(void)
+@@ -49,10 +49,12 @@ static void __init prom_init_cmdline(voi
        char **argv = (char **) KSEG1ADDR(fw_arg1);
        int i;
  
        char **argv = (char **) KSEG1ADDR(fw_arg1);
        int i;
  
@@ -31,6 +29,3 @@ index e3b1e25..acb8921 100644
                        strlcat(arcs_cmdline, p, sizeof(arcs_cmdline));
                        strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline));
                }
                        strlcat(arcs_cmdline, p, sizeof(arcs_cmdline));
                        strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline));
                }
--- 
-1.7.7.1
-
index 7ca3b7a1184a0af6f0c868d9b672acb44434b9f0..4b5ed69ea88293a23d271bc3df79cb03fafbfdf0 100644 (file)
@@ -12,8 +12,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/xway/gpio_stp.c |    7 +++++--
  1 files changed, 5 insertions(+), 2 deletions(-)
 
  arch/mips/lantiq/xway/gpio_stp.c |    7 +++++--
  1 files changed, 5 insertions(+), 2 deletions(-)
 
-diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c
-index 2c78660..cb6f170 100644
 --- a/arch/mips/lantiq/xway/gpio_stp.c
 +++ b/arch/mips/lantiq/xway/gpio_stp.c
 @@ -35,6 +35,8 @@
 --- a/arch/mips/lantiq/xway/gpio_stp.c
 +++ b/arch/mips/lantiq/xway/gpio_stp.c
 @@ -35,6 +35,8 @@
@@ -37,6 +35,3 @@ index 2c78660..cb6f170 100644
  
        /* stp are update periodically by the FPI bus */
        ltq_stp_w32_mask(LTQ_STP_UPD_MASK, LTQ_STP_UPD_FPI, LTQ_STP_CON1);
  
        /* stp are update periodically by the FPI bus */
        ltq_stp_w32_mask(LTQ_STP_UPD_MASK, LTQ_STP_UPD_FPI, LTQ_STP_CON1);
--- 
-1.7.7.1
-
index 40b8667ca3386c84394fb9fbd25e702e9ae67dbd..192add70efac14759fe935ecf0a03ac1540117dc 100644 (file)
@@ -12,8 +12,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/xway/gpio.c |    6 ++++++
  1 files changed, 6 insertions(+), 0 deletions(-)
 
  arch/mips/lantiq/xway/gpio.c |    6 ++++++
  1 files changed, 6 insertions(+), 0 deletions(-)
 
-diff --git a/arch/mips/lantiq/xway/gpio.c b/arch/mips/lantiq/xway/gpio.c
-index f204f6c..14ff7c7 100644
 --- a/arch/mips/lantiq/xway/gpio.c
 +++ b/arch/mips/lantiq/xway/gpio.c
 @@ -21,6 +21,8 @@
 --- a/arch/mips/lantiq/xway/gpio.c
 +++ b/arch/mips/lantiq/xway/gpio.c
 @@ -21,6 +21,8 @@
@@ -25,7 +23,7 @@ index f204f6c..14ff7c7 100644
  
  #define PINS_PER_PORT         16
  #define MAX_PORTS             3
  
  #define PINS_PER_PORT         16
  #define MAX_PORTS             3
-@@ -106,6 +108,8 @@ static int ltq_gpio_direction_input(struct gpio_chip *chip, unsigned int offset)
+@@ -106,6 +108,8 @@ static int ltq_gpio_direction_input(stru
  
        ltq_gpio_clearbit(ltq_gpio->membase, LTQ_GPIO_OD, offset);
        ltq_gpio_clearbit(ltq_gpio->membase, LTQ_GPIO_DIR, offset);
  
        ltq_gpio_clearbit(ltq_gpio->membase, LTQ_GPIO_OD, offset);
        ltq_gpio_clearbit(ltq_gpio->membase, LTQ_GPIO_DIR, offset);
@@ -34,7 +32,7 @@ index f204f6c..14ff7c7 100644
  
        return 0;
  }
  
        return 0;
  }
-@@ -117,6 +121,8 @@ static int ltq_gpio_direction_output(struct gpio_chip *chip,
+@@ -117,6 +121,8 @@ static int ltq_gpio_direction_output(str
  
        ltq_gpio_setbit(ltq_gpio->membase, LTQ_GPIO_OD, offset);
        ltq_gpio_setbit(ltq_gpio->membase, LTQ_GPIO_DIR, offset);
  
        ltq_gpio_setbit(ltq_gpio->membase, LTQ_GPIO_OD, offset);
        ltq_gpio_setbit(ltq_gpio->membase, LTQ_GPIO_DIR, offset);
@@ -43,6 +41,3 @@ index f204f6c..14ff7c7 100644
        ltq_gpio_set(chip, offset, value);
  
        return 0;
        ltq_gpio_set(chip, offset, value);
  
        return 0;
--- 
-1.7.7.1
-
index bc55e51ee03dd4321640cc80b3c40b3d0309dc7f..88a4b809d403ebe8e3295ccc407f9db95cf63c59 100644 (file)
@@ -19,9 +19,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  create mode 100644 arch/mips/configs/falcon_defconfig
  create mode 100644 arch/mips/configs/xway_defconfig
 
  create mode 100644 arch/mips/configs/falcon_defconfig
  create mode 100644 arch/mips/configs/xway_defconfig
 
-diff --git a/arch/mips/configs/ase_defconfig b/arch/mips/configs/ase_defconfig
-new file mode 100644
-index 0000000..5bb1d93
 --- /dev/null
 +++ b/arch/mips/configs/ase_defconfig
 @@ -0,0 +1,67 @@
 --- /dev/null
 +++ b/arch/mips/configs/ase_defconfig
 @@ -0,0 +1,67 @@
@@ -92,9 +89,6 @@ index 0000000..5bb1d93
 +CONFIG_SQUASHFS_XZ=y
 +CONFIG_STRIP_ASM_SYMS=y
 +CONFIG_DEBUG_FS=y
 +CONFIG_SQUASHFS_XZ=y
 +CONFIG_STRIP_ASM_SYMS=y
 +CONFIG_DEBUG_FS=y
-diff --git a/arch/mips/configs/falcon_defconfig b/arch/mips/configs/falcon_defconfig
-new file mode 100644
-index 0000000..ce242a8
 --- /dev/null
 +++ b/arch/mips/configs/falcon_defconfig
 @@ -0,0 +1,72 @@
 --- /dev/null
 +++ b/arch/mips/configs/falcon_defconfig
 @@ -0,0 +1,72 @@
@@ -170,9 +164,6 @@ index 0000000..ce242a8
 +CONFIG_SQUASHFS_XZ=y
 +CONFIG_STRIP_ASM_SYMS=y
 +CONFIG_DEBUG_FS=y
 +CONFIG_SQUASHFS_XZ=y
 +CONFIG_STRIP_ASM_SYMS=y
 +CONFIG_DEBUG_FS=y
-diff --git a/arch/mips/configs/xway_defconfig b/arch/mips/configs/xway_defconfig
-new file mode 100644
-index 0000000..510a964
 --- /dev/null
 +++ b/arch/mips/configs/xway_defconfig
 @@ -0,0 +1,66 @@
 --- /dev/null
 +++ b/arch/mips/configs/xway_defconfig
 @@ -0,0 +1,66 @@
@@ -242,6 +233,3 @@ index 0000000..510a964
 +CONFIG_SQUASHFS_XZ=y
 +CONFIG_STRIP_ASM_SYMS=y
 +CONFIG_DEBUG_FS=y
 +CONFIG_SQUASHFS_XZ=y
 +CONFIG_STRIP_ASM_SYMS=y
 +CONFIG_DEBUG_FS=y
--- 
-1.7.7.1
-
index 9b8e3240ab77ac5787c7a98aa0dd438e2ad5dbdd..5fc52939dcaacd967f277e77c306bf8fa361316a 100644 (file)
@@ -10,11 +10,9 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  MAINTAINERS |   12 ++++++++++++
  1 files changed, 12 insertions(+), 0 deletions(-)
 
  MAINTAINERS |   12 ++++++++++++
  1 files changed, 12 insertions(+), 0 deletions(-)
 
-diff --git a/MAINTAINERS b/MAINTAINERS
-index 62f1cd3..c04defd 100644
 --- a/MAINTAINERS
 +++ b/MAINTAINERS
 --- a/MAINTAINERS
 +++ b/MAINTAINERS
-@@ -4348,6 +4348,18 @@ S:      Supported
+@@ -4353,6 +4353,18 @@ S:      Supported
  F:    Documentation/mips/
  F:    arch/mips/
  
  F:    Documentation/mips/
  F:    arch/mips/
  
@@ -33,6 +31,3 @@ index 62f1cd3..c04defd 100644
  MISCELLANEOUS MCA-SUPPORT
  M:    James Bottomley <James.Bottomley@HansenPartnership.com>
  S:    Maintained
  MISCELLANEOUS MCA-SUPPORT
  M:    James Bottomley <James.Bottomley@HansenPartnership.com>
  S:    Maintained
--- 
-1.7.7.1
-
diff --git a/target/linux/lantiq/patches-3.2/0017-MIPS-make-oprofile-use-cp0_perfcount_irq-if-it-is-se.patch b/target/linux/lantiq/patches-3.2/0017-MIPS-make-oprofile-use-cp0_perfcount_irq-if-it-is-se.patch
deleted file mode 100644 (file)
index a879cd8..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-From bc3a07e6c5149a82a22239a43e9f98514c2010d9 Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Wed, 24 Aug 2011 13:24:11 +0200
-Subject: [PATCH 17/70] MIPS: make oprofile use cp0_perfcount_irq if it is set
-
-The patch makes the oprofile code use the performance counters irq.
-
-This patch is written by Felix Fietkau.
-
-Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-Signed-off-by: John Crispin <blogic@openwrt.org>
----
- arch/mips/oprofile/op_model_mipsxx.c |   12 ++++++++++++
- 1 files changed, 12 insertions(+), 0 deletions(-)
-
-diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c
-index 54759f1..86cf234 100644
---- a/arch/mips/oprofile/op_model_mipsxx.c
-+++ b/arch/mips/oprofile/op_model_mipsxx.c
-@@ -298,6 +298,11 @@ static void reset_counters(void *arg)
-       }
- }
-+static irqreturn_t mipsxx_perfcount_int(int irq, void *dev_id)
-+{
-+      return mipsxx_perfcount_handler();
-+}
-+
- static int __init mipsxx_init(void)
- {
-       int counters;
-@@ -374,6 +379,10 @@ static int __init mipsxx_init(void)
-       save_perf_irq = perf_irq;
-       perf_irq = mipsxx_perfcount_handler;
-+      if (cp0_perfcount_irq >= 0)
-+              return request_irq(cp0_perfcount_irq, mipsxx_perfcount_int,
-+                      IRQF_SHARED, "Perfcounter", save_perf_irq);
-+
-       return 0;
- }
-@@ -381,6 +390,9 @@ static void mipsxx_exit(void)
- {
-       int counters = op_model_mipsxx_ops.num_counters;
-+      if (cp0_perfcount_irq >= 0)
-+              free_irq(cp0_perfcount_irq, save_perf_irq);
-+
-       counters = counters_per_cpu_to_total(counters);
-       on_each_cpu(reset_counters, (void *)(long)counters, 1);
--- 
-1.7.7.1
-
index 7ab5ff76bd8b9252e6b0ef451a5d37f618b6c48c..b6494cfd1159a1593070c1d6505352a689ce3122 100644 (file)
@@ -13,8 +13,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/irq.c |    5 +++++
  2 files changed, 6 insertions(+), 0 deletions(-)
 
  arch/mips/lantiq/irq.c |    5 +++++
  2 files changed, 6 insertions(+), 0 deletions(-)
 
-diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
-index d46f1da..c1ceadb 100644
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
 @@ -226,6 +226,7 @@ config LANTIQ
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
 @@ -226,6 +226,7 @@ config LANTIQ
@@ -25,8 +23,6 @@ index d46f1da..c1ceadb 100644
        select MIPS_MACHINE
  
  config LASAT
        select MIPS_MACHINE
  
  config LASAT
-diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c
-index 17c057f..0b2ed87 100644
 --- a/arch/mips/lantiq/irq.c
 +++ b/arch/mips/lantiq/irq.c
 @@ -40,6 +40,9 @@
 --- a/arch/mips/lantiq/irq.c
 +++ b/arch/mips/lantiq/irq.c
 @@ -40,6 +40,9 @@
@@ -48,6 +44,3 @@ index 17c057f..0b2ed87 100644
  }
  
  unsigned int __cpuinit get_c0_compare_int(void)
  }
  
  unsigned int __cpuinit get_c0_compare_int(void)
--- 
-1.7.7.1
-
index d7e2ed94a5ca3ad158fc652ba6a44c2640d39699..594a8b23fa760046af12a9e5769509a55e177265 100644 (file)
@@ -16,8 +16,6 @@ Cc: netdev@vger.kernel.org
  drivers/net/ethernet/lantiq_etop.c                 |  171 ++++++++++++++++++--
  4 files changed, 174 insertions(+), 40 deletions(-)
 
  drivers/net/ethernet/lantiq_etop.c                 |  171 ++++++++++++++++++--
  4 files changed, 174 insertions(+), 40 deletions(-)
 
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h
-index b4465a8..2a8d5ad 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h
 @@ -38,26 +38,8 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h
 @@ -38,26 +38,8 @@
@@ -49,8 +47,6 @@ index b4465a8..2a8d5ad 100644
  
  #define LTQ_PPE_MBOX_INT      (INT_NUM_IM2_IRL0 + 24)
  
  
  #define LTQ_PPE_MBOX_INT      (INT_NUM_IM2_IRL0 + 24)
  
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index e31f52d..6983d75 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -82,6 +82,7 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -82,6 +82,7 @@
@@ -72,7 +68,7 @@ index e31f52d..6983d75 100644
  /* DMA */
  #define LTQ_DMA_BASE_ADDR     0x1E104100
  #define LTQ_DMA_SIZE          0x800
  /* DMA */
  #define LTQ_DMA_BASE_ADDR     0x1E104100
  #define LTQ_DMA_SIZE          0x800
-@@ -147,6 +152,11 @@ extern void ltq_pmu_enable(unsigned int module);
+@@ -147,6 +152,11 @@ extern void ltq_pmu_enable(unsigned int
  extern void ltq_pmu_disable(unsigned int module);
  extern void ltq_cgu_enable(unsigned int clk);
  
  extern void ltq_pmu_disable(unsigned int module);
  extern void ltq_cgu_enable(unsigned int clk);
  
@@ -84,8 +80,6 @@ index e31f52d..6983d75 100644
  static inline int ltq_is_ar9(void)
  {
        return (ltq_get_soc_type() == SOC_TYPE_AR9);
  static inline int ltq_is_ar9(void)
  {
        return (ltq_get_soc_type() == SOC_TYPE_AR9);
-diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c
-index f97e565..eab4644d 100644
 --- a/arch/mips/lantiq/xway/devices.c
 +++ b/arch/mips/lantiq/xway/devices.c
 @@ -74,18 +74,23 @@ void __init ltq_register_ase_asc(void)
 --- a/arch/mips/lantiq/xway/devices.c
 +++ b/arch/mips/lantiq/xway/devices.c
 @@ -74,18 +74,23 @@ void __init ltq_register_ase_asc(void)
@@ -115,18 +109,15 @@ index f97e565..eab4644d 100644
        if (eth) {
                ltq_etop.dev.platform_data = eth;
                platform_device_register(&ltq_etop);
        if (eth) {
                ltq_etop.dev.platform_data = eth;
                platform_device_register(&ltq_etop);
-diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
-index 0b3567a..d3d4931 100644
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -71,10 +71,43 @@
  #define ETOP_MII_REVERSE      0xe
  #define ETOP_PLEN_UNDER               0x40
  #define ETOP_CGEN             0x800
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -71,10 +71,43 @@
  #define ETOP_MII_REVERSE      0xe
  #define ETOP_PLEN_UNDER               0x40
  #define ETOP_CGEN             0x800
--
--/* use 2 static channels for TX/RX */
 +#define ETOP_CFG_MII0         0x01
 +#define ETOP_CFG_MII0         0x01
-+
+-/* use 2 static channels for TX/RX */
 +#define LTQ_GBIT_MDIO_CTL     0xCC
 +#define LTQ_GBIT_MDIO_DATA    0xd0
 +#define LTQ_GBIT_GCTL0                0x68
 +#define LTQ_GBIT_MDIO_CTL     0xCC
 +#define LTQ_GBIT_MDIO_DATA    0xd0
 +#define LTQ_GBIT_GCTL0                0x68
@@ -274,7 +265,7 @@ index 0b3567a..d3d4931 100644
                struct ltq_etop_chan *ch = &priv->ch[i];
  
                ch->idx = ch->dma.nr = i;
                struct ltq_etop_chan *ch = &priv->ch[i];
  
                ch->idx = ch->dma.nr = i;
-@@ -339,6 +421,39 @@ static const struct ethtool_ops ltq_etop_ethtool_ops = {
+@@ -339,6 +421,39 @@ static const struct ethtool_ops ltq_etop
  };
  
  static int
  };
  
  static int
@@ -314,7 +305,7 @@ index 0b3567a..d3d4931 100644
  ltq_etop_mdio_wr(struct mii_bus *bus, int phy_addr, int phy_reg, u16 phy_data)
  {
        u32 val = MDIO_REQUEST |
  ltq_etop_mdio_wr(struct mii_bus *bus, int phy_addr, int phy_reg, u16 phy_data)
  {
        u32 val = MDIO_REQUEST |
-@@ -379,14 +494,11 @@ ltq_etop_mdio_probe(struct net_device *dev)
+@@ -379,14 +494,11 @@ ltq_etop_mdio_probe(struct net_device *d
  {
        struct ltq_etop_priv *priv = netdev_priv(dev);
        struct phy_device *phydev = NULL;
  {
        struct ltq_etop_priv *priv = netdev_priv(dev);
        struct phy_device *phydev = NULL;
@@ -333,7 +324,7 @@ index 0b3567a..d3d4931 100644
  
        if (!phydev) {
                netdev_err(dev, "no PHY found\n");
  
        if (!phydev) {
                netdev_err(dev, "no PHY found\n");
-@@ -408,6 +520,9 @@ ltq_etop_mdio_probe(struct net_device *dev)
+@@ -408,6 +520,9 @@ ltq_etop_mdio_probe(struct net_device *d
                              | SUPPORTED_Autoneg
                              | SUPPORTED_MII
                              | SUPPORTED_TP);
                              | SUPPORTED_Autoneg
                              | SUPPORTED_MII
                              | SUPPORTED_TP);
@@ -343,7 +334,7 @@ index 0b3567a..d3d4931 100644
  
        phydev->advertising = phydev->supported;
        priv->phydev = phydev;
  
        phydev->advertising = phydev->supported;
        priv->phydev = phydev;
-@@ -433,8 +548,13 @@ ltq_etop_mdio_init(struct net_device *dev)
+@@ -433,8 +548,13 @@ ltq_etop_mdio_init(struct net_device *de
        }
  
        priv->mii_bus->priv = dev;
        }
  
        priv->mii_bus->priv = dev;
@@ -359,7 +350,7 @@ index 0b3567a..d3d4931 100644
        priv->mii_bus->name = "ltq_mii";
        snprintf(priv->mii_bus->id, MII_BUS_ID_SIZE, "%x", 0);
        priv->mii_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL);
        priv->mii_bus->name = "ltq_mii";
        snprintf(priv->mii_bus->id, MII_BUS_ID_SIZE, "%x", 0);
        priv->mii_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL);
-@@ -524,9 +644,9 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev)
+@@ -524,9 +644,9 @@ ltq_etop_tx(struct sk_buff *skb, struct
        struct ltq_etop_priv *priv = netdev_priv(dev);
        struct ltq_etop_chan *ch = &priv->ch[(queue << 1) | 1];
        struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
        struct ltq_etop_priv *priv = netdev_priv(dev);
        struct ltq_etop_chan *ch = &priv->ch[(queue << 1) | 1];
        struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
@@ -370,7 +361,7 @@ index 0b3567a..d3d4931 100644
  
        len = skb->len < ETH_ZLEN ? ETH_ZLEN : skb->len;
  
  
        len = skb->len < ETH_ZLEN ? ETH_ZLEN : skb->len;
  
-@@ -700,7 +820,7 @@ ltq_etop_probe(struct platform_device *pdev)
+@@ -700,7 +820,7 @@ ltq_etop_probe(struct platform_device *p
  {
        struct net_device *dev;
        struct ltq_etop_priv *priv;
  {
        struct net_device *dev;
        struct ltq_etop_priv *priv;
@@ -379,7 +370,7 @@ index 0b3567a..d3d4931 100644
        int err;
        int i;
  
        int err;
        int i;
  
-@@ -728,6 +848,23 @@ ltq_etop_probe(struct platform_device *pdev)
+@@ -728,6 +848,23 @@ ltq_etop_probe(struct platform_device *p
                goto err_out;
        }
  
                goto err_out;
        }
  
@@ -403,6 +394,3 @@ index 0b3567a..d3d4931 100644
        dev = alloc_etherdev_mq(sizeof(struct ltq_etop_priv), 4);
        strcpy(dev->name, "eth%d");
        dev->netdev_ops = &ltq_eth_netdev_ops;
        dev = alloc_etherdev_mq(sizeof(struct ltq_etop_priv), 4);
        strcpy(dev->name, "eth%d");
        dev->netdev_ops = &ltq_eth_netdev_ops;
--- 
-1.7.7.1
-
index c0cc3d6fc0fba4ca080458a1511a54a34c1a827d..95dd0a9ad00d5e8c769e5532a5e367ccaca3b0e2 100644 (file)
@@ -16,8 +16,6 @@ Cc: netdev@vger.kernel.org
  drivers/net/ethernet/lantiq_etop.c |   14 ++++++++------
  1 files changed, 8 insertions(+), 6 deletions(-)
 
  drivers/net/ethernet/lantiq_etop.c |   14 ++++++++------
  1 files changed, 8 insertions(+), 6 deletions(-)
 
-diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
-index d3d4931..9fd6779 100644
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -612,7 +612,8 @@ ltq_etop_open(struct net_device *dev)
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -612,7 +612,8 @@ ltq_etop_open(struct net_device *dev)
@@ -54,7 +52,7 @@ index d3d4931..9fd6779 100644
        return 0;
  
  err_netdev:
        return 0;
  
  err_netdev:
-@@ -868,7 +871,6 @@ ltq_etop_probe(struct platform_device *pdev)
+@@ -868,7 +871,6 @@ ltq_etop_probe(struct platform_device *p
        dev = alloc_etherdev_mq(sizeof(struct ltq_etop_priv), 4);
        strcpy(dev->name, "eth%d");
        dev->netdev_ops = &ltq_eth_netdev_ops;
        dev = alloc_etherdev_mq(sizeof(struct ltq_etop_priv), 4);
        strcpy(dev->name, "eth%d");
        dev->netdev_ops = &ltq_eth_netdev_ops;
@@ -62,6 +60,3 @@ index d3d4931..9fd6779 100644
        priv = netdev_priv(dev);
        priv->res = res;
        priv->pldata = dev_get_platdata(&pdev->dev);
        priv = netdev_priv(dev);
        priv->res = res;
        priv->pldata = dev_get_platdata(&pdev->dev);
--- 
-1.7.7.1
-
index f27ebfbfdf5dffe6f3cb25084aee340579dcbf0b..45d850857feb71dba9a7b9c807801ae7c9725414 100644 (file)
@@ -17,8 +17,6 @@ Cc: netdev@vger.kernel.org
  drivers/net/ethernet/lantiq_etop.c |   14 ++++++++------
  1 files changed, 8 insertions(+), 6 deletions(-)
 
  drivers/net/ethernet/lantiq_etop.c |   14 ++++++++------
  1 files changed, 8 insertions(+), 6 deletions(-)
 
-diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
-index 9fd6779..dddb9fe 100644
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -312,6 +312,7 @@ ltq_etop_hw_init(struct net_device *dev)
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -312,6 +312,7 @@ ltq_etop_hw_init(struct net_device *dev)
@@ -66,6 +64,3 @@ index 9fd6779..dddb9fe 100644
  }
  
  static void
  }
  
  static void
--- 
-1.7.7.1
-
index 0d4a92769a1d0b371df2bf33dcc4f0678130d2d2..61c3b85b5e440df8d32225c0e24c81e81c1cdd67 100644 (file)
@@ -22,8 +22,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  drivers/tty/serial/lantiq.c                        |   12 ++++++++++++
  10 files changed, 45 insertions(+), 33 deletions(-)
 
  drivers/tty/serial/lantiq.c                        |   12 ++++++++++++
  10 files changed, 45 insertions(+), 33 deletions(-)
 
-diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
-index b074748..a5dc06a 100644
 --- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 @@ -126,9 +126,7 @@ extern __iomem void *ltq_sys1_membase;
 --- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 @@ -126,9 +126,7 @@ extern __iomem void *ltq_sys1_membase;
@@ -37,11 +35,9 @@ index b074748..a5dc06a 100644
  extern int ltq_gpio_mux_set(unsigned int pin, unsigned int mux);
  
  /* to keep the irq code generic we need to define these to 0 as falcon
  extern int ltq_gpio_mux_set(unsigned int pin, unsigned int mux);
  
  /* to keep the irq code generic we need to define these to 0 as falcon
-diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h
-index 188de0f..924b91a 100644
 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h
 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h
-@@ -37,6 +37,10 @@ extern unsigned int ltq_get_soc_type(void);
+@@ -37,6 +37,10 @@ extern unsigned int ltq_get_soc_type(voi
  /* spinlock all ebu i/o */
  extern spinlock_t ebu_lock;
  
  /* spinlock all ebu i/o */
  extern spinlock_t ebu_lock;
  
@@ -52,8 +48,6 @@ index 188de0f..924b91a 100644
  /* some irq helpers */
  extern void ltq_disable_irq(struct irq_data *data);
  extern void ltq_mask_and_ack_irq(struct irq_data *data);
  /* some irq helpers */
  extern void ltq_disable_irq(struct irq_data *data);
  extern void ltq_mask_and_ack_irq(struct irq_data *data);
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index 6983d75..6c5b705 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -145,9 +145,6 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -145,9 +145,6 @@
@@ -66,11 +60,9 @@ index 6983d75..6c5b705 100644
  extern void ltq_pmu_enable(unsigned int module);
  extern void ltq_pmu_disable(unsigned int module);
  extern void ltq_cgu_enable(unsigned int clk);
  extern void ltq_pmu_enable(unsigned int module);
  extern void ltq_pmu_disable(unsigned int module);
  extern void ltq_cgu_enable(unsigned int clk);
-diff --git a/arch/mips/lantiq/falcon/gpio.c b/arch/mips/lantiq/falcon/gpio.c
-index 28f8639..a44f71b 100644
 --- a/arch/mips/lantiq/falcon/gpio.c
 +++ b/arch/mips/lantiq/falcon/gpio.c
 --- a/arch/mips/lantiq/falcon/gpio.c
 +++ b/arch/mips/lantiq/falcon/gpio.c
-@@ -97,7 +97,7 @@ int ltq_gpio_mux_set(unsigned int pin, unsigned int mux)
+@@ -97,7 +97,7 @@ int ltq_gpio_mux_set(unsigned int pin, u
  }
  EXPORT_SYMBOL(ltq_gpio_mux_set);
  
  }
  EXPORT_SYMBOL(ltq_gpio_mux_set);
  
@@ -79,7 +71,7 @@ index 28f8639..a44f71b 100644
                        unsigned int dir, const char *name)
  {
        int port = pin / 100;
                        unsigned int dir, const char *name)
  {
        int port = pin / 100;
-@@ -106,7 +106,7 @@ int ltq_gpio_request(unsigned int pin, unsigned int mux,
+@@ -106,7 +106,7 @@ int ltq_gpio_request(unsigned int pin, u
        if (offset >= PINS_PER_PORT || port >= MAX_PORTS)
                return -EINVAL;
  
        if (offset >= PINS_PER_PORT || port >= MAX_PORTS)
                return -EINVAL;
  
@@ -88,8 +80,6 @@ index 28f8639..a44f71b 100644
                pr_err("failed to setup lantiq gpio: %s\n", name);
                return -EBUSY;
        }
                pr_err("failed to setup lantiq gpio: %s\n", name);
                return -EBUSY;
        }
-diff --git a/arch/mips/lantiq/falcon/prom.c b/arch/mips/lantiq/falcon/prom.c
-index b50d6f9..f98b389 100644
 --- a/arch/mips/lantiq/falcon/prom.c
 +++ b/arch/mips/lantiq/falcon/prom.c
 @@ -27,9 +27,6 @@
 --- a/arch/mips/lantiq/falcon/prom.c
 +++ b/arch/mips/lantiq/falcon/prom.c
 @@ -27,9 +27,6 @@
@@ -113,8 +103,6 @@ index b50d6f9..f98b389 100644
                ltq_sysctl_activate(SYSCTL_SYS1, ACTS_ASC1_ACT);
        }
  }
                ltq_sysctl_activate(SYSCTL_SYS1, ACTS_ASC1_ACT);
        }
  }
-diff --git a/arch/mips/lantiq/xway/gpio.c b/arch/mips/lantiq/xway/gpio.c
-index 14ff7c7..54ec6c9 100644
 --- a/arch/mips/lantiq/xway/gpio.c
 +++ b/arch/mips/lantiq/xway/gpio.c
 @@ -50,14 +50,14 @@ int irq_to_gpio(unsigned int gpio)
 --- a/arch/mips/lantiq/xway/gpio.c
 +++ b/arch/mips/lantiq/xway/gpio.c
 @@ -50,14 +50,14 @@ int irq_to_gpio(unsigned int gpio)
@@ -134,8 +122,6 @@ index 14ff7c7..54ec6c9 100644
                pr_err("failed to setup lantiq gpio: %s\n", name);
                return -EBUSY;
        }
                pr_err("failed to setup lantiq gpio: %s\n", name);
                return -EBUSY;
        }
-diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c
-index cb6f170..e6b4809 100644
 --- a/arch/mips/lantiq/xway/gpio_stp.c
 +++ b/arch/mips/lantiq/xway/gpio_stp.c
 @@ -80,11 +80,6 @@ static struct gpio_chip ltq_stp_chip = {
 --- a/arch/mips/lantiq/xway/gpio_stp.c
 +++ b/arch/mips/lantiq/xway/gpio_stp.c
 @@ -80,11 +80,6 @@ static struct gpio_chip ltq_stp_chip = {
@@ -150,7 +136,7 @@ index cb6f170..e6b4809 100644
        /* sane defaults */
        ltq_stp_w32(0, LTQ_STP_AR);
        ltq_stp_w32(0, LTQ_STP_CPU0);
        /* sane defaults */
        ltq_stp_w32(0, LTQ_STP_AR);
        ltq_stp_w32(0, LTQ_STP_CPU0);
-@@ -133,6 +128,14 @@ static int __devinit ltq_stp_probe(struct platform_device *pdev)
+@@ -133,6 +128,14 @@ static int __devinit ltq_stp_probe(struc
                dev_err(&pdev->dev, "failed to remap STP memory\n");
                return -ENOMEM;
        }
                dev_err(&pdev->dev, "failed to remap STP memory\n");
                return -ENOMEM;
        }
@@ -165,8 +151,6 @@ index cb6f170..e6b4809 100644
        ret = gpiochip_add(&ltq_stp_chip);
        if (!ret)
                ret = ltq_stp_hw_init();
        ret = gpiochip_add(&ltq_stp_chip);
        if (!ret)
                ret = ltq_stp_hw_init();
-diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c
-index c001c5a..47b551c 100644
 --- a/arch/mips/pci/pci-lantiq.c
 +++ b/arch/mips/pci/pci-lantiq.c
 @@ -150,24 +150,26 @@ static u32 ltq_calc_bar11mask(void)
 --- a/arch/mips/pci/pci-lantiq.c
 +++ b/arch/mips/pci/pci-lantiq.c
 @@ -150,24 +150,26 @@ static u32 ltq_calc_bar11mask(void)
@@ -202,7 +186,7 @@ index c001c5a..47b551c 100644
  
        /* set clock to 33Mhz */
        if (ltq_is_ar9()) {
  
        /* set clock to 33Mhz */
        if (ltq_is_ar9()) {
-@@ -190,7 +192,7 @@ static int __devinit ltq_pci_startup(struct ltq_pci_data *conf)
+@@ -190,7 +192,7 @@ static int __devinit ltq_pci_startup(str
        }
  
        /* setup pci clock and gpis used by pci */
        }
  
        /* setup pci clock and gpis used by pci */
@@ -211,7 +195,7 @@ index c001c5a..47b551c 100644
  
        /* enable auto-switching between PCI and EBU */
        ltq_pci_w32(0xa, PCI_CR_CLK_CTRL);
  
        /* enable auto-switching between PCI and EBU */
        ltq_pci_w32(0xa, PCI_CR_CLK_CTRL);
-@@ -275,7 +277,7 @@ static int __devinit ltq_pci_probe(struct platform_device *pdev)
+@@ -275,7 +277,7 @@ static int __devinit ltq_pci_probe(struc
                ioremap_nocache(LTQ_PCI_CFG_BASE, LTQ_PCI_CFG_BASE);
        ltq_pci_controller.io_map_base =
                (unsigned long)ioremap(LTQ_PCI_IO_BASE, LTQ_PCI_IO_SIZE - 1);
                ioremap_nocache(LTQ_PCI_CFG_BASE, LTQ_PCI_CFG_BASE);
        ltq_pci_controller.io_map_base =
                (unsigned long)ioremap(LTQ_PCI_IO_BASE, LTQ_PCI_IO_SIZE - 1);
@@ -220,8 +204,6 @@ index c001c5a..47b551c 100644
        register_pci_controller(&ltq_pci_controller);
  
        return 0;
        register_pci_controller(&ltq_pci_controller);
  
        return 0;
-diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
-index dddb9fe..fcbb9c7 100644
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -291,9 +291,6 @@ ltq_etop_gbit_init(void)
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -291,9 +291,6 @@ ltq_etop_gbit_init(void)
@@ -234,7 +216,7 @@ index dddb9fe..fcbb9c7 100644
        ltq_gbit_w32_mask(0, GCTL0_SE, LTQ_GBIT_GCTL0);
        /** Disable MDIO auto polling mode */
        ltq_gbit_w32_mask(0, PX_CTL_DMDIO, LTQ_GBIT_P0_CTL);
        ltq_gbit_w32_mask(0, GCTL0_SE, LTQ_GBIT_GCTL0);
        /** Disable MDIO auto polling mode */
        ltq_gbit_w32_mask(0, PX_CTL_DMDIO, LTQ_GBIT_P0_CTL);
-@@ -868,6 +865,12 @@ ltq_etop_probe(struct platform_device *pdev)
+@@ -868,6 +865,12 @@ ltq_etop_probe(struct platform_device *p
                        err = -ENOMEM;
                        goto err_out;
                }
                        err = -ENOMEM;
                        goto err_out;
                }
@@ -247,8 +229,6 @@ index dddb9fe..fcbb9c7 100644
        }
  
        dev = alloc_etherdev_mq(sizeof(struct ltq_etop_priv), 4);
        }
  
        dev = alloc_etherdev_mq(sizeof(struct ltq_etop_priv), 4);
-diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c
-index 96c1cac..5d25828 100644
 --- a/drivers/tty/serial/lantiq.c
 +++ b/drivers/tty/serial/lantiq.c
 @@ -107,6 +107,9 @@
 --- a/drivers/tty/serial/lantiq.c
 +++ b/drivers/tty/serial/lantiq.c
 @@ -107,6 +107,9 @@
@@ -261,7 +241,7 @@ index 96c1cac..5d25828 100644
  static void lqasc_tx_chars(struct uart_port *port);
  static struct ltq_uart_port *lqasc_port[MAXPORTS];
  static struct uart_driver lqasc_reg;
  static void lqasc_tx_chars(struct uart_port *port);
  static struct ltq_uart_port *lqasc_port[MAXPORTS];
  static struct uart_driver lqasc_reg;
-@@ -529,6 +532,15 @@ lqasc_request_port(struct uart_port *port)
+@@ -529,6 +532,15 @@ lqasc_request_port(struct uart_port *por
                if (port->membase == NULL)
                        return -ENOMEM;
        }
                if (port->membase == NULL)
                        return -ENOMEM;
        }
@@ -277,6 +257,3 @@ index 96c1cac..5d25828 100644
        return 0;
  }
  
        return 0;
  }
  
--- 
-1.7.7.1
-
index f6686381d81e58670e3c665d0e5da2067e0974ee..ac16610728429a0a970cef301c74cedb42742939 100644 (file)
@@ -13,9 +13,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  1 files changed, 25 insertions(+), 0 deletions(-)
  create mode 100644 arch/mips/include/asm/clkdev.h
 
  1 files changed, 25 insertions(+), 0 deletions(-)
  create mode 100644 arch/mips/include/asm/clkdev.h
 
-diff --git a/arch/mips/include/asm/clkdev.h b/arch/mips/include/asm/clkdev.h
-new file mode 100644
-index 0000000..2624754
 --- /dev/null
 +++ b/arch/mips/include/asm/clkdev.h
 @@ -0,0 +1,25 @@
 --- /dev/null
 +++ b/arch/mips/include/asm/clkdev.h
 @@ -0,0 +1,25 @@
@@ -44,6 +41,3 @@ index 0000000..2624754
 +}
 +
 +#endif
 +}
 +
 +#endif
--- 
-1.7.7.1
-
index 8fbb2c2c8a89a6afc87388b1ca98f918ea3493dd..064aa64f5951c3f51305143bcfcb1dfe2a5e5fca 100644 (file)
@@ -12,11 +12,9 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  .../mips/include/asm/mach-lantiq/xway/lantiq_soc.h |    5 +++++
  2 files changed, 19 insertions(+), 2 deletions(-)
 
  .../mips/include/asm/mach-lantiq/xway/lantiq_soc.h |    5 +++++
  2 files changed, 19 insertions(+), 2 deletions(-)
 
-diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
-index a5dc06a..0aa1f16 100644
 --- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 --- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
-@@ -134,8 +134,20 @@ extern int ltq_gpio_mux_set(unsigned int pin, unsigned int mux);
+@@ -134,8 +134,20 @@ extern int ltq_gpio_mux_set(unsigned int
  #define LTQ_EIU_BASE_ADDR     0
  #define LTQ_EBU_PCC_ISTAT     0
  
  #define LTQ_EIU_BASE_ADDR     0
  #define LTQ_EBU_PCC_ISTAT     0
  
@@ -39,8 +37,6 @@ index a5dc06a..0aa1f16 100644
  
  #endif /* CONFIG_SOC_FALCON */
  #endif /* _LTQ_XWAY_H__ */
  
  #endif /* CONFIG_SOC_FALCON */
  #endif /* _LTQ_XWAY_H__ */
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index 6c5b705..45e480c 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -164,5 +164,10 @@ static inline int ltq_is_vr9(void)
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -164,5 +164,10 @@ static inline int ltq_is_vr9(void)
@@ -54,6 +50,3 @@ index 6c5b705..45e480c 100644
 +
  #endif /* CONFIG_SOC_TYPE_XWAY */
  #endif /* _LTQ_XWAY_H__ */
 +
  #endif /* CONFIG_SOC_TYPE_XWAY */
  #endif /* _LTQ_XWAY_H__ */
--- 
-1.7.7.1
-
index cad0a99ea0e3e567281d7dc5ddf5fe321da93827..d2709e9e472bbd62ae3d1fcfbe5189b2d15f1936 100644 (file)
@@ -17,8 +17,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/prom.c                    |    1 -
  5 files changed, 111 insertions(+), 61 deletions(-)
 
  arch/mips/lantiq/prom.c                    |    1 -
  5 files changed, 111 insertions(+), 61 deletions(-)
 
-diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
-index c1ceadb..1b78cd7 100644
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
 @@ -225,7 +225,8 @@ config LANTIQ
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
 @@ -225,7 +225,8 @@ config LANTIQ
@@ -31,8 +29,6 @@ index c1ceadb..1b78cd7 100644
        select HAVE_OPROFILE
        select MIPS_MACHINE
  
        select HAVE_OPROFILE
        select MIPS_MACHINE
  
-diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h
-index 924b91a..622847f 100644
 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h
 @@ -9,6 +9,7 @@
 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h
 @@ -9,6 +9,7 @@
@@ -62,7 +58,7 @@ index 924b91a..622847f 100644
  /* spinlock all ebu i/o */
  extern spinlock_t ebu_lock;
  
  /* spinlock all ebu i/o */
  extern spinlock_t ebu_lock;
  
-@@ -46,6 +35,13 @@ extern void ltq_disable_irq(struct irq_data *data);
+@@ -46,6 +35,13 @@ extern void ltq_disable_irq(struct irq_d
  extern void ltq_mask_and_ack_irq(struct irq_data *data);
  extern void ltq_enable_irq(struct irq_data *data);
  
  extern void ltq_mask_and_ack_irq(struct irq_data *data);
  extern void ltq_enable_irq(struct irq_data *data);
  
@@ -76,8 +72,6 @@ index 924b91a..622847f 100644
  /* find out what caused the last cpu reset */
  extern int ltq_reset_cause(void);
  
  /* find out what caused the last cpu reset */
  extern int ltq_reset_cause(void);
  
-diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c
-index 39eef7f..84a201e 100644
 --- a/arch/mips/lantiq/clk.c
 +++ b/arch/mips/lantiq/clk.c
 @@ -12,6 +12,7 @@
 --- a/arch/mips/lantiq/clk.c
 +++ b/arch/mips/lantiq/clk.c
 @@ -12,6 +12,7 @@
@@ -122,27 +116,26 @@ index 39eef7f..84a201e 100644
 -              .get_rate = ltq_get_io_region_clock,
 -      },
 -};
 -              .get_rate = ltq_get_io_region_clock,
 -      },
 -};
--
--void clk_init(void)
 +struct clk *clk_get_cpu(void)
 +{
 +      return &cpu_clk_generic[0];
 +}
 +
 +struct clk *clk_get_fpi(void)
 +struct clk *clk_get_cpu(void)
 +{
 +      return &cpu_clk_generic[0];
 +}
 +
 +struct clk *clk_get_fpi(void)
- {
--      cpu_clk = cpu_clk_generic;
--      cpu_clk_cnt = ARRAY_SIZE(cpu_clk_generic);
++{
 +      return &cpu_clk_generic[1];
 +}
 +      return &cpu_clk_generic[1];
 +}
-+
+-void clk_init(void)
 +struct clk *clk_get_io(void)
 +struct clk *clk_get_io(void)
-+{
+ {
+-      cpu_clk = cpu_clk_generic;
+-      cpu_clk_cnt = ARRAY_SIZE(cpu_clk_generic);
 +      return &cpu_clk_generic[2];
  }
  
  static inline int clk_good(struct clk *clk)
 +      return &cpu_clk_generic[2];
  }
  
  static inline int clk_good(struct clk *clk)
-@@ -73,36 +70,49 @@ unsigned long clk_get_rate(struct clk *clk)
+@@ -73,36 +70,49 @@ unsigned long clk_get_rate(struct clk *c
  }
  EXPORT_SYMBOL(clk_get_rate);
  
  }
  EXPORT_SYMBOL(clk_get_rate);
  
@@ -152,15 +145,15 @@ index 39eef7f..84a201e 100644
 -      int i;
 +      if (unlikely(!clk_good(clk)))
 +              return -1;
 -      int i;
 +      if (unlikely(!clk_good(clk)))
 +              return -1;
-+
-+      if (clk->enable)
-+              return clk->enable(clk);
  
 -      for (i = 0; i < cpu_clk_cnt; i++)
 -              if (!strcmp(id, cpu_clk[i].name))
 -                      return &cpu_clk[i];
 -      BUG();
 -      return ERR_PTR(-ENOENT);
  
 -      for (i = 0; i < cpu_clk_cnt; i++)
 -              if (!strcmp(id, cpu_clk[i].name))
 -                      return &cpu_clk[i];
 -      BUG();
 -      return ERR_PTR(-ENOENT);
++      if (clk->enable)
++              return clk->enable(clk);
++
 +      return -1;
  }
 -EXPORT_SYMBOL(clk_get);
 +      return -1;
  }
 -EXPORT_SYMBOL(clk_get);
@@ -219,8 +212,6 @@ index 39eef7f..84a201e 100644
        mips_hpt_frequency = clk_get_rate(clk) / ltq_get_counter_resolution();
        write_c0_compare(read_c0_count());
        pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000);
        mips_hpt_frequency = clk_get_rate(clk) / ltq_get_counter_resolution();
        write_c0_compare(read_c0_count());
        pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000);
-diff --git a/arch/mips/lantiq/clk.h b/arch/mips/lantiq/clk.h
-index 3328925..d047768 100644
 --- a/arch/mips/lantiq/clk.h
 +++ b/arch/mips/lantiq/clk.h
 @@ -9,10 +9,54 @@
 --- a/arch/mips/lantiq/clk.h
 +++ b/arch/mips/lantiq/clk.h
 @@ -9,10 +9,54 @@
@@ -282,8 +273,6 @@ index 3328925..d047768 100644
 +extern unsigned long ltq_vr9_io_region_clock(void);
  
  #endif
 +extern unsigned long ltq_vr9_io_region_clock(void);
  
  #endif
-diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c
-index acb8921..971554b 100644
 --- a/arch/mips/lantiq/prom.c
 +++ b/arch/mips/lantiq/prom.c
 @@ -103,7 +103,6 @@ EXPORT_SYMBOL(ltq_remap_resource);
 --- a/arch/mips/lantiq/prom.c
 +++ b/arch/mips/lantiq/prom.c
 @@ -103,7 +103,6 @@ EXPORT_SYMBOL(ltq_remap_resource);
@@ -294,6 +283,3 @@ index acb8921..971554b 100644
        snprintf(soc_info.sys_type, LTQ_SYS_TYPE_LEN - 1, "%s rev %s",
                soc_info.name, soc_info.rev_type);
        soc_info.sys_type[LTQ_SYS_TYPE_LEN - 1] = '\0';
        snprintf(soc_info.sys_type, LTQ_SYS_TYPE_LEN - 1, "%s rev %s",
                soc_info.name, soc_info.rev_type);
        soc_info.sys_type[LTQ_SYS_TYPE_LEN - 1] = '\0';
--- 
-1.7.7.1
-
index c35f2302a0830e788cbe17cb7144e3b2c78d0841..3a658f8a637cfc735e7c2a07ebd0dbfe2845fbf1 100644 (file)
@@ -18,8 +18,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  delete mode 100644 arch/mips/lantiq/xway/clk-xway.c
  create mode 100644 arch/mips/lantiq/xway/clk.c
 
  delete mode 100644 arch/mips/lantiq/xway/clk-xway.c
  create mode 100644 arch/mips/lantiq/xway/clk.c
 
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index 45e480c..e9d2dd4 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -81,15 +81,6 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -81,15 +81,6 @@
@@ -49,8 +47,6 @@ index 45e480c..e9d2dd4 100644
  static inline int ltq_is_ase(void)
  {
        return (ltq_get_soc_type() == SOC_TYPE_AMAZON_SE);
  static inline int ltq_is_ase(void)
  {
        return (ltq_get_soc_type() == SOC_TYPE_AMAZON_SE);
-diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile
-index 6678402..4dcb96f 100644
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,7 +1,7 @@
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,7 +1,7 @@
@@ -64,9 +60,6 @@ index 6678402..4dcb96f 100644
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
-diff --git a/arch/mips/lantiq/xway/clk-ase.c b/arch/mips/lantiq/xway/clk-ase.c
-deleted file mode 100644
-index 6522583..0000000
 --- a/arch/mips/lantiq/xway/clk-ase.c
 +++ /dev/null
 @@ -1,48 +0,0 @@
 --- a/arch/mips/lantiq/xway/clk-ase.c
 +++ /dev/null
 @@ -1,48 +0,0 @@
@@ -118,9 +111,6 @@ index 6522583..0000000
 -      return CLOCK_133M;
 -}
 -EXPORT_SYMBOL(ltq_get_fpi_hz);
 -      return CLOCK_133M;
 -}
 -EXPORT_SYMBOL(ltq_get_fpi_hz);
-diff --git a/arch/mips/lantiq/xway/clk-xway.c b/arch/mips/lantiq/xway/clk-xway.c
-deleted file mode 100644
-index 696b1a3..0000000
 --- a/arch/mips/lantiq/xway/clk-xway.c
 +++ /dev/null
 @@ -1,223 +0,0 @@
 --- a/arch/mips/lantiq/xway/clk-xway.c
 +++ /dev/null
 @@ -1,223 +0,0 @@
@@ -347,9 +337,6 @@ index 696b1a3..0000000
 -      return ddr_clock;
 -}
 -EXPORT_SYMBOL(ltq_get_fpi_hz);
 -      return ddr_clock;
 -}
 -EXPORT_SYMBOL(ltq_get_fpi_hz);
-diff --git a/arch/mips/lantiq/xway/clk.c b/arch/mips/lantiq/xway/clk.c
-new file mode 100644
-index 0000000..f3b50fc
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/clk.c
 @@ -0,0 +1,227 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/clk.c
 @@ -0,0 +1,227 @@
@@ -580,8 +567,6 @@ index 0000000..f3b50fc
 +              return ddr_clock >> 1;
 +      return ddr_clock;
 +}
 +              return ddr_clock >> 1;
 +      return ddr_clock;
 +}
-diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
-index 8fd13a1..c5782b5 100644
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -8,17 +8,48 @@
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -8,17 +8,48 @@
@@ -639,18 +624,18 @@ index 8fd13a1..c5782b5 100644
  
 -void ltq_cgu_enable(unsigned int clk)
 +static int ltq_cgu_enable(struct clk *clk)
  
 -void ltq_cgu_enable(unsigned int clk)
 +static int ltq_cgu_enable(struct clk *clk)
- {
--      ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) | clk, LTQ_CGU_IFCCR);
++{
 +      ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) | clk->bits, LTQ_CGU_IFCCR);
 +      return 0;
 +      ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) | clk->bits, LTQ_CGU_IFCCR);
 +      return 0;
++}
++
++static void ltq_cgu_disable(struct clk *clk)
+ {
+-      ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) | clk, LTQ_CGU_IFCCR);
++      ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) & ~clk->bits, LTQ_CGU_IFCCR);
  }
  
 -void ltq_pmu_enable(unsigned int module)
  }
  
 -void ltq_pmu_enable(unsigned int module)
-+static void ltq_cgu_disable(struct clk *clk)
-+{
-+      ltq_cgu_w32(ltq_cgu_r32(LTQ_CGU_IFCCR) & ~clk->bits, LTQ_CGU_IFCCR);
-+}
-+
 +static int ltq_pmu_enable(struct clk *clk)
  {
        int err = 1000000;
 +static int ltq_pmu_enable(struct clk *clk)
  {
        int err = 1000000;
@@ -665,13 +650,10 @@ index 8fd13a1..c5782b5 100644
                panic("activating PMU module failed!\n");
 +
 +      return 0;
                panic("activating PMU module failed!\n");
 +
 +      return 0;
- }
--EXPORT_SYMBOL(ltq_pmu_enable);
--void ltq_pmu_disable(unsigned int module)
++}
++
 +static void ltq_pmu_disable(struct clk *clk)
 +static void ltq_pmu_disable(struct clk *clk)
- {
--      ltq_pmu_w32(ltq_pmu_r32(LTQ_PMU_PWDCR) | module, LTQ_PMU_PWDCR);
++{
 +      ltq_pmu_w32(ltq_pmu_r32(LTQ_PMU_PWDCR) | clk->bits, LTQ_PMU_PWDCR);
 +}
 +
 +      ltq_pmu_w32(ltq_pmu_r32(LTQ_PMU_PWDCR) | clk->bits, LTQ_PMU_PWDCR);
 +}
 +
@@ -688,11 +670,14 @@ index 8fd13a1..c5782b5 100644
 +      clk->module = module;
 +      clk->bits = bits;
 +      clkdev_add(&clk->cl);
 +      clk->module = module;
 +      clk->bits = bits;
 +      clkdev_add(&clk->cl);
-+}
-+
+ }
+-EXPORT_SYMBOL(ltq_pmu_enable);
+-void ltq_pmu_disable(unsigned int module)
 +static inline void clkdev_add_cgu(const char *dev, const char *con,
 +                                      unsigned int bits)
 +static inline void clkdev_add_cgu(const char *dev, const char *con,
 +                                      unsigned int bits)
-+{
+ {
+-      ltq_pmu_w32(ltq_pmu_r32(LTQ_PMU_PWDCR) | module, LTQ_PMU_PWDCR);
 +      struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL);
 +
 +      clk->cl.dev_id = dev;
 +      struct clk *clk = kzalloc(sizeof(struct clk), GFP_KERNEL);
 +
 +      clk->cl.dev_id = dev;
@@ -731,6 +716,3 @@ index 8fd13a1..c5782b5 100644
 +                      clkdev_add_pmu("ltq_etop", "switch", 0, PMU_SWITCH);
 +      }
  }
 +                      clkdev_add_pmu("ltq_etop", "switch", 0, PMU_SWITCH);
 +      }
  }
--- 
-1.7.7.1
-
index 83cd89e4e3ef17d01b4811521c05a8687c5a0e78..c8f2e990a4a05e2a855f8ac15666b85b7a4dc995 100644 (file)
@@ -12,8 +12,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/falcon/sysctrl.c                  |  129 ++++++++++++--------
  3 files changed, 80 insertions(+), 59 deletions(-)
 
  arch/mips/lantiq/falcon/sysctrl.c                  |  129 ++++++++++++--------
  3 files changed, 80 insertions(+), 59 deletions(-)
 
-diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
-index 0aa1f16..120c56c 100644
 --- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 @@ -95,6 +95,7 @@
 --- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 @@ -95,6 +95,7 @@
@@ -38,16 +36,12 @@ index 0aa1f16..120c56c 100644
  /* global register ranges */
  extern __iomem void *ltq_ebu_membase;
  extern __iomem void *ltq_sys1_membase;
  /* global register ranges */
  extern __iomem void *ltq_ebu_membase;
  extern __iomem void *ltq_sys1_membase;
-diff --git a/arch/mips/lantiq/falcon/Makefile b/arch/mips/lantiq/falcon/Makefile
-index 56b22eb..3634154 100644
 --- a/arch/mips/lantiq/falcon/Makefile
 +++ b/arch/mips/lantiq/falcon/Makefile
 @@ -1,2 +1,2 @@
 -obj-y := clk.o prom.o reset.o sysctrl.o devices.o gpio.o
 +obj-y := prom.o reset.o sysctrl.o devices.o gpio.o
  obj-$(CONFIG_LANTIQ_MACH_EASY98000) += mach-easy98000.o
 --- a/arch/mips/lantiq/falcon/Makefile
 +++ b/arch/mips/lantiq/falcon/Makefile
 @@ -1,2 +1,2 @@
 -obj-y := clk.o prom.o reset.o sysctrl.o devices.o gpio.o
 +obj-y := prom.o reset.o sysctrl.o devices.o gpio.o
  obj-$(CONFIG_LANTIQ_MACH_EASY98000) += mach-easy98000.o
-diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c
-index 905a142..900f0e5 100644
 --- a/arch/mips/lantiq/falcon/sysctrl.c
 +++ b/arch/mips/lantiq/falcon/sysctrl.c
 @@ -9,11 +9,13 @@
 --- a/arch/mips/lantiq/falcon/sysctrl.c
 +++ b/arch/mips/lantiq/falcon/sysctrl.c
 @@ -9,11 +9,13 @@
@@ -99,15 +93,16 @@ index 905a142..900f0e5 100644
  
 -void
 -ltq_sysctl_activate(int module, unsigned int mask)
  
 -void
 -ltq_sysctl_activate(int module, unsigned int mask)
-+static int
-+ltq_sysctl_activate(struct clk *clk)
- {
+-{
 -      if (module > SYSCTL_SYSGPE)
 -              return;
 -
 -      ltq_reg_w32(module, mask, LTQ_SYSCTL_CLKEN);
 -      ltq_reg_w32(module, mask, LTQ_SYSCTL_ACT);
 -      ltq_sysctl_wait(module, mask, mask, LTQ_SYSCTL_ACTS);
 -      if (module > SYSCTL_SYSGPE)
 -              return;
 -
 -      ltq_reg_w32(module, mask, LTQ_SYSCTL_CLKEN);
 -      ltq_reg_w32(module, mask, LTQ_SYSCTL_ACT);
 -      ltq_sysctl_wait(module, mask, mask, LTQ_SYSCTL_ACTS);
++static int
++ltq_sysctl_activate(struct clk *clk)
++{
 +      ltq_reg_w32(clk->module, clk->bits, LTQ_SYSCTL_CLKEN);
 +      ltq_reg_w32(clk->module, clk->bits, LTQ_SYSCTL_ACT);
 +      ltq_sysctl_wait(clk, clk->bits, LTQ_SYSCTL_ACTS);
 +      ltq_reg_w32(clk->module, clk->bits, LTQ_SYSCTL_CLKEN);
 +      ltq_reg_w32(clk->module, clk->bits, LTQ_SYSCTL_ACT);
 +      ltq_sysctl_wait(clk, clk->bits, LTQ_SYSCTL_ACTS);
@@ -169,7 +164,8 @@ index 905a142..900f0e5 100644
 +ltq_sysctl_reboot(struct clk *clk)
  {
        unsigned int act;
 +ltq_sysctl_reboot(struct clk *clk)
  {
        unsigned int act;
--
++      unsigned int bits;
 -      if (module > SYSCTL_SYSGPE)
 -              return;
 -
 -      if (module > SYSCTL_SYSGPE)
 -              return;
 -
@@ -178,8 +174,6 @@ index 905a142..900f0e5 100644
 -              ltq_sysctl_activate(module, ~act & mask);
 -      ltq_reg_w32(module, act & mask, LTQ_SYSCTL_RBT);
 -      ltq_sysctl_wait(module, mask, mask, LTQ_SYSCTL_ACTS);
 -              ltq_sysctl_activate(module, ~act & mask);
 -      ltq_reg_w32(module, act & mask, LTQ_SYSCTL_RBT);
 -      ltq_sysctl_wait(module, mask, mask, LTQ_SYSCTL_ACTS);
-+      unsigned int bits;
-+
 +      act = ltq_reg_r32(clk->module, LTQ_SYSCTL_ACT);
 +      bits = ~act & clk->bits;
 +      if (bits != 0) {
 +      act = ltq_reg_r32(clk->module, LTQ_SYSCTL_ACT);
 +      bits = ~act & clk->bits;
 +      if (bits != 0) {
@@ -239,6 +233,3 @@ index 905a142..900f0e5 100644
 +      clkdev_add_sys("ltq_asc.1", SYSCTL_SYS1, ACTS_ASC1_ACT);
 +      clkdev_add_sys("falcon_i2c", SYSCTL_SYS1, ACTS_I2C_ACT);
  }
 +      clkdev_add_sys("ltq_asc.1", SYSCTL_SYS1, ACTS_ASC1_ACT);
 +      clkdev_add_sys("falcon_i2c", SYSCTL_SYS1, ACTS_I2C_ACT);
  }
--- 
-1.7.7.1
-
index 6458af5ccf1b6d4ea061c366a4819b3519439fe7..93215768b917064463c0a9a97b6c34370f119000 100644 (file)
@@ -12,9 +12,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  2 files changed, 16 insertions(+), 1 deletions(-)
  create mode 100644 arch/mips/lantiq/xway/Makefile.rej
 
  2 files changed, 16 insertions(+), 1 deletions(-)
  create mode 100644 arch/mips/lantiq/xway/Makefile.rej
 
-diff --git a/arch/mips/lantiq/xway/Makefile.rej b/arch/mips/lantiq/xway/Makefile.rej
-new file mode 100644
-index 0000000..c0d5b52
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/Makefile.rej
 @@ -0,0 +1,11 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/Makefile.rej
 @@ -0,0 +1,11 @@
@@ -29,8 +26,6 @@ index 0000000..c0d5b52
 + 
 + obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
 + obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
 + 
 + obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
 + obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
-diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
-index 60cd11f..388f1aa 100644
 --- a/arch/mips/lantiq/xway/dma.c
 +++ b/arch/mips/lantiq/xway/dma.c
 @@ -20,6 +20,7 @@
 --- a/arch/mips/lantiq/xway/dma.c
 +++ b/arch/mips/lantiq/xway/dma.c
 @@ -20,6 +20,7 @@
@@ -60,6 +55,3 @@ index 60cd11f..388f1aa 100644
        ltq_dma_w32_mask(0, DMA_RESET, LTQ_DMA_CTRL);
  
        /* disable all interrupts */
        ltq_dma_w32_mask(0, DMA_RESET, LTQ_DMA_CTRL);
  
        /* disable all interrupts */
--- 
-1.7.7.1
-
index 7b56c4f4704511a5b60a337c6e709b6a571d2e21..e9655db6b8ff12c1ae58bcbcf9512d87bfc52274 100644 (file)
@@ -10,8 +10,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/xway/gpio_stp.c |   12 +++++++++---
  1 files changed, 9 insertions(+), 3 deletions(-)
 
  arch/mips/lantiq/xway/gpio_stp.c |   12 +++++++++---
  1 files changed, 9 insertions(+), 3 deletions(-)
 
-diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c
-index e6b4809..da91c5e 100644
 --- a/arch/mips/lantiq/xway/gpio_stp.c
 +++ b/arch/mips/lantiq/xway/gpio_stp.c
 @@ -15,6 +15,8 @@
 --- a/arch/mips/lantiq/xway/gpio_stp.c
 +++ b/arch/mips/lantiq/xway/gpio_stp.c
 @@ -15,6 +15,8 @@
@@ -46,7 +44,7 @@ index e6b4809..da91c5e 100644
        return 0;
  }
  
        return 0;
  }
  
-@@ -138,7 +144,7 @@ static int __devinit ltq_stp_probe(struct platform_device *pdev)
+@@ -138,7 +144,7 @@ static int __devinit ltq_stp_probe(struc
        }
        ret = gpiochip_add(&ltq_stp_chip);
        if (!ret)
        }
        ret = gpiochip_add(&ltq_stp_chip);
        if (!ret)
@@ -55,6 +53,3 @@ index e6b4809..da91c5e 100644
  
        return ret;
  }
  
        return ret;
  }
--- 
-1.7.7.1
-
index 733112edd38c9ecfed53ab46683d8e892fbf7859..7b56046fc3219530d730615163c88e76820b0e81 100644 (file)
@@ -12,8 +12,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/falcon/gpio.c    |   10 ++++++++++
  2 files changed, 10 insertions(+), 5 deletions(-)
 
  arch/mips/lantiq/falcon/gpio.c    |   10 ++++++++++
  2 files changed, 10 insertions(+), 5 deletions(-)
 
-diff --git a/arch/mips/lantiq/falcon/devices.c b/arch/mips/lantiq/falcon/devices.c
-index 4f47b44..6cd7a88 100644
 --- a/arch/mips/lantiq/falcon/devices.c
 +++ b/arch/mips/lantiq/falcon/devices.c
 @@ -111,9 +111,6 @@ falcon_register_gpio(void)
 --- a/arch/mips/lantiq/falcon/devices.c
 +++ b/arch/mips/lantiq/falcon/devices.c
 @@ -111,9 +111,6 @@ falcon_register_gpio(void)
@@ -33,8 +31,6 @@ index 4f47b44..6cd7a88 100644
 -      ltq_sysctl_activate(SYSCTL_SYS1,
 -              ACTS_PADCTRL3 | ACTS_PADCTRL4 | ACTS_P3 | ACTS_P4);
  }
 -      ltq_sysctl_activate(SYSCTL_SYS1,
 -              ACTS_PADCTRL3 | ACTS_PADCTRL4 | ACTS_P3 | ACTS_P4);
  }
-diff --git a/arch/mips/lantiq/falcon/gpio.c b/arch/mips/lantiq/falcon/gpio.c
-index a44f71b..4147d61 100644
 --- a/arch/mips/lantiq/falcon/gpio.c
 +++ b/arch/mips/lantiq/falcon/gpio.c
 @@ -11,6 +11,7 @@
 --- a/arch/mips/lantiq/falcon/gpio.c
 +++ b/arch/mips/lantiq/falcon/gpio.c
 @@ -11,6 +11,7 @@
@@ -53,7 +49,7 @@ index a44f71b..4147d61 100644
  };
  
  static struct falcon_gpio_port ltq_gpio_port[MAX_PORTS];
  };
  
  static struct falcon_gpio_port ltq_gpio_port[MAX_PORTS];
-@@ -332,6 +334,14 @@ falcon_gpio_probe(struct platform_device *pdev)
+@@ -332,6 +334,14 @@ falcon_gpio_probe(struct platform_device
                goto err;
        }
  
                goto err;
        }
  
@@ -68,6 +64,3 @@ index a44f71b..4147d61 100644
        if (irq > 0) {
                /* irq_chip support */
                gpio_port->gpio_chip.to_irq = falcon_gpio_to_irq;
        if (irq > 0) {
                /* irq_chip support */
                gpio_port->gpio_chip.to_irq = falcon_gpio_to_irq;
--- 
-1.7.7.1
-
index dc651aa9e0943bdc842f5d726241345f5824d1f6..e282b0ba9323af5c2ec82ac1f39bf6d1f25e5cc8 100644 (file)
@@ -12,11 +12,9 @@ Cc: linux-serial@vger.kernel.org
  drivers/tty/serial/lantiq.c |    6 +++++-
  1 files changed, 5 insertions(+), 1 deletions(-)
 
  drivers/tty/serial/lantiq.c |    6 +++++-
  1 files changed, 5 insertions(+), 1 deletions(-)
 
-diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c
-index 5d25828..1542ad6 100644
 --- a/drivers/tty/serial/lantiq.c
 +++ b/drivers/tty/serial/lantiq.c
 --- a/drivers/tty/serial/lantiq.c
 +++ b/drivers/tty/serial/lantiq.c
-@@ -540,6 +540,10 @@ lqasc_request_port(struct uart_port *port)
+@@ -540,6 +540,10 @@ lqasc_request_port(struct uart_port *por
                if (ltq_gpio_request(&pdev->dev, MUXC_SIF_TX_PIN,
                                3, 1, "asc1-tx"))
                        return -EBUSY;
                if (ltq_gpio_request(&pdev->dev, MUXC_SIF_TX_PIN,
                                3, 1, "asc1-tx"))
                        return -EBUSY;
@@ -27,7 +25,7 @@ index 5d25828..1542ad6 100644
        }
        return 0;
  }
        }
        return 0;
  }
-@@ -698,7 +702,7 @@ lqasc_probe(struct platform_device *pdev)
+@@ -698,7 +702,7 @@ lqasc_probe(struct platform_device *pdev
        if (lqasc_port[pdev->id] != NULL)
                return -EBUSY;
  
        if (lqasc_port[pdev->id] != NULL)
                return -EBUSY;
  
@@ -36,6 +34,3 @@ index 5d25828..1542ad6 100644
        if (IS_ERR(clk)) {
                pr_err("failed to get fpi clk\n");
                return -ENOENT;
        if (IS_ERR(clk)) {
                pr_err("failed to get fpi clk\n");
                return -ENOENT;
--- 
-1.7.7.1
-
index e13f951cb84ccb0966d97ac814f796ade895216e..944d50701a7408ac6552a160541690ed6ddd7c70 100644 (file)
@@ -13,8 +13,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  drivers/tty/serial/lantiq.c    |    7 ++++---
  2 files changed, 5 insertions(+), 6 deletions(-)
 
  drivers/tty/serial/lantiq.c    |    7 ++++---
  2 files changed, 5 insertions(+), 6 deletions(-)
 
-diff --git a/arch/mips/lantiq/falcon/prom.c b/arch/mips/lantiq/falcon/prom.c
-index f98b389..2a4eea1 100644
 --- a/arch/mips/lantiq/falcon/prom.c
 +++ b/arch/mips/lantiq/falcon/prom.c
 @@ -43,10 +43,8 @@ ltq_soc_setup(void)
 --- a/arch/mips/lantiq/falcon/prom.c
 +++ b/arch/mips/lantiq/falcon/prom.c
 @@ -43,10 +43,8 @@ ltq_soc_setup(void)
@@ -29,8 +27,6 @@ index f98b389..2a4eea1 100644
  }
  
  void __init
  }
  
  void __init
-diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c
-index 1542ad6..82956de 100644
 --- a/drivers/tty/serial/lantiq.c
 +++ b/drivers/tty/serial/lantiq.c
 @@ -117,6 +117,7 @@ static DEFINE_SPINLOCK(ltq_asc_lock);
 --- a/drivers/tty/serial/lantiq.c
 +++ b/drivers/tty/serial/lantiq.c
 @@ -117,6 +117,7 @@ static DEFINE_SPINLOCK(ltq_asc_lock);
@@ -50,7 +46,7 @@ index 1542ad6..82956de 100644
  
        ltq_w32_mask(ASCCLC_DISS | ASCCLC_RMCMASK, (1 << ASCCLC_RMCOFFSET),
                port->membase + LTQ_ASC_CLC);
  
        ltq_w32_mask(ASCCLC_DISS | ASCCLC_RMCMASK, (1 << ASCCLC_RMCOFFSET),
                port->membase + LTQ_ASC_CLC);
-@@ -646,7 +647,7 @@ lqasc_console_setup(struct console *co, char *options)
+@@ -646,7 +647,7 @@ lqasc_console_setup(struct console *co,
  
        port = &ltq_port->port;
  
  
        port = &ltq_port->port;
  
@@ -59,7 +55,7 @@ index 1542ad6..82956de 100644
  
        if (options)
                uart_parse_options(options, &baud, &parity, &bits, &flow);
  
        if (options)
                uart_parse_options(options, &baud, &parity, &bits, &flow);
-@@ -731,7 +732,7 @@ lqasc_probe(struct platform_device *pdev)
+@@ -731,7 +732,7 @@ lqasc_probe(struct platform_device *pdev
        port->irq       = tx_irq; /* unused, just to be backward-compatibe */
        port->mapbase   = mmres->start;
  
        port->irq       = tx_irq; /* unused, just to be backward-compatibe */
        port->mapbase   = mmres->start;
  
@@ -68,6 +64,3 @@ index 1542ad6..82956de 100644
  
        ltq_port->tx_irq = tx_irq;
        ltq_port->rx_irq = rx_irq;
  
        ltq_port->tx_irq = tx_irq;
        ltq_port->rx_irq = rx_irq;
--- 
-1.7.7.1
-
index a57b95604862532c2eb2d4b305d12defe91d3f5f..daf33c971103d03435ab25cd7c3eab079296b440 100644 (file)
@@ -11,8 +11,6 @@ Cc: netdev@vger.kernel.org
  drivers/net/ethernet/lantiq_etop.c |   49 ++++++++++++++++++++++++++++++-----
  1 files changed, 42 insertions(+), 7 deletions(-)
 
  drivers/net/ethernet/lantiq_etop.c |   49 ++++++++++++++++++++++++++++++-----
  1 files changed, 42 insertions(+), 7 deletions(-)
 
-diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
-index fcbb9c7..a084d74 100644
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -36,6 +36,7 @@
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -36,6 +36,7 @@
@@ -93,7 +91,7 @@ index fcbb9c7..a084d74 100644
                        /* we need to write this magic to the internal phy to
                           make it work */
                        ltq_etop_mdio_wr(NULL, 0x8, 0x12, 0xC020);
                        /* we need to write this magic to the internal phy to
                           make it work */
                        ltq_etop_mdio_wr(NULL, 0x8, 0x12, 0xC020);
-@@ -880,6 +897,24 @@ ltq_etop_probe(struct platform_device *pdev)
+@@ -880,6 +897,24 @@ ltq_etop_probe(struct platform_device *p
        priv->res = res;
        priv->pldata = dev_get_platdata(&pdev->dev);
        priv->netdev = dev;
        priv->res = res;
        priv->pldata = dev_get_platdata(&pdev->dev);
        priv->netdev = dev;
@@ -118,6 +116,3 @@ index fcbb9c7..a084d74 100644
        spin_lock_init(&priv->lock);
  
        for (i = 0; i < MAX_DMA_CHAN; i++) {
        spin_lock_init(&priv->lock);
  
        for (i = 0; i < MAX_DMA_CHAN; i++) {
--- 
-1.7.7.1
-
index 8eb401d2967afeda75f52f4220fa4ce85ea38b19..284d2487c1247fd6c7e1f9e1ec706760248239c5 100644 (file)
@@ -12,11 +12,9 @@ Cc: linux-watchdog@vger.kernel.org
  drivers/watchdog/lantiq_wdt.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 
  drivers/watchdog/lantiq_wdt.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 
-diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c
-index 179bf98..da2b09f 100644
 --- a/drivers/watchdog/lantiq_wdt.c
 +++ b/drivers/watchdog/lantiq_wdt.c
 --- a/drivers/watchdog/lantiq_wdt.c
 +++ b/drivers/watchdog/lantiq_wdt.c
-@@ -206,7 +206,7 @@ ltq_wdt_probe(struct platform_device *pdev)
+@@ -206,7 +206,7 @@ ltq_wdt_probe(struct platform_device *pd
        }
  
        /* we do not need to enable the clock as it is always running */
        }
  
        /* we do not need to enable the clock as it is always running */
@@ -25,6 +23,3 @@ index 179bf98..da2b09f 100644
        WARN_ON(!clk);
        ltq_io_region_clk_rate = clk_get_rate(clk);
        clk_put(clk);
        WARN_ON(!clk);
        ltq_io_region_clk_rate = clk_get_rate(clk);
        clk_put(clk);
--- 
-1.7.7.1
-
index 69a0ffb417486d9e875b2551abea7e5b4f166057..736abfed29cd5e0740baa35c27dcf8c0788e412b 100644 (file)
@@ -18,8 +18,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  delete mode 100644 arch/mips/lantiq/xway/prom-xway.c
  create mode 100644 arch/mips/lantiq/xway/prom.c
 
  delete mode 100644 arch/mips/lantiq/xway/prom-xway.c
  create mode 100644 arch/mips/lantiq/xway/prom.c
 
-diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile
-index 4dcb96f..9d1a0a2 100644
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,7 +1,4 @@
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,7 +1,4 @@
@@ -31,9 +29,6 @@ index 4dcb96f..9d1a0a2 100644
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
-diff --git a/arch/mips/lantiq/xway/Makefile.rej b/arch/mips/lantiq/xway/Makefile.rej
-deleted file mode 100644
-index c0d5b52..0000000
 --- a/arch/mips/lantiq/xway/Makefile.rej
 +++ /dev/null
 @@ -1,11 +0,0 @@
 --- a/arch/mips/lantiq/xway/Makefile.rej
 +++ /dev/null
 @@ -1,11 +0,0 @@
@@ -48,9 +43,6 @@ index c0d5b52..0000000
 - 
 - obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
 - obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
 - 
 - obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
 - obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
-diff --git a/arch/mips/lantiq/xway/prom-ase.c b/arch/mips/lantiq/xway/prom-ase.c
-deleted file mode 100644
-index 3f86a3b..0000000
 --- a/arch/mips/lantiq/xway/prom-ase.c
 +++ /dev/null
 @@ -1,48 +0,0 @@
 --- a/arch/mips/lantiq/xway/prom-ase.c
 +++ /dev/null
 @@ -1,48 +0,0 @@
@@ -102,9 +94,6 @@ index 3f86a3b..0000000
 -      ltq_register_gpio();
 -      ltq_register_wdt();
 -}
 -      ltq_register_gpio();
 -      ltq_register_wdt();
 -}
-diff --git a/arch/mips/lantiq/xway/prom-xway.c b/arch/mips/lantiq/xway/prom-xway.c
-deleted file mode 100644
-index d823a92..0000000
 --- a/arch/mips/lantiq/xway/prom-xway.c
 +++ /dev/null
 @@ -1,64 +0,0 @@
 --- a/arch/mips/lantiq/xway/prom-xway.c
 +++ /dev/null
 @@ -1,64 +0,0 @@
@@ -172,9 +161,6 @@ index d823a92..0000000
 -      ltq_register_gpio();
 -      ltq_register_wdt();
 -}
 -      ltq_register_gpio();
 -      ltq_register_wdt();
 -}
-diff --git a/arch/mips/lantiq/xway/prom.c b/arch/mips/lantiq/xway/prom.c
-new file mode 100644
-index 0000000..0929acb
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/prom.c
 @@ -0,0 +1,79 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/prom.c
 @@ -0,0 +1,79 @@
@@ -257,6 +243,3 @@ index 0000000..0929acb
 +      ltq_register_gpio();
 +      ltq_register_wdt();
 +}
 +      ltq_register_gpio();
 +      ltq_register_wdt();
 +}
--- 
-1.7.7.1
-
index c63be05defad2241e4c78494e616c922d74f80eb..54bd759cc67ce6d19056c0c5feefa7f3a7abbe38 100644 (file)
@@ -15,8 +15,6 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
  arch/mips/lantiq/xway/sysctrl.c                    |   12 +++-
  4 files changed, 103 insertions(+), 1 deletions(-)
 
  arch/mips/lantiq/xway/sysctrl.c                    |   12 +++-
  4 files changed, 103 insertions(+), 1 deletions(-)
 
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index e9d2dd4..5d11eb7 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -21,6 +21,9 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -21,6 +21,9 @@
@@ -29,8 +27,6 @@ index e9d2dd4..5d11eb7 100644
  
  /* SoC Types */
  #define SOC_TYPE_DANUBE               0x01
  
  /* SoC Types */
  #define SOC_TYPE_DANUBE               0x01
-diff --git a/arch/mips/lantiq/xway/clk.c b/arch/mips/lantiq/xway/clk.c
-index f3b50fc..3635c9f 100644
 --- a/arch/mips/lantiq/xway/clk.c
 +++ b/arch/mips/lantiq/xway/clk.c
 @@ -225,3 +225,86 @@ unsigned long ltq_danube_fpi_hz(void)
 --- a/arch/mips/lantiq/xway/clk.c
 +++ b/arch/mips/lantiq/xway/clk.c
 @@ -225,3 +225,86 @@ unsigned long ltq_danube_fpi_hz(void)
@@ -120,11 +116,9 @@ index f3b50fc..3635c9f 100644
 +{
 +      return ltq_vr9_fpi_hz();
 +}
 +{
 +      return ltq_vr9_fpi_hz();
 +}
-diff --git a/arch/mips/lantiq/xway/prom.c b/arch/mips/lantiq/xway/prom.c
-index 0929acb..b6f56b7 100644
 --- a/arch/mips/lantiq/xway/prom.c
 +++ b/arch/mips/lantiq/xway/prom.c
 --- a/arch/mips/lantiq/xway/prom.c
 +++ b/arch/mips/lantiq/xway/prom.c
-@@ -60,6 +60,12 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
+@@ -60,6 +60,12 @@ void __init ltq_soc_detect(struct ltq_so
  #endif
                break;
  
  #endif
                break;
  
@@ -137,8 +131,6 @@ index 0929acb..b6f56b7 100644
        default:
                unreachable();
                break;
        default:
                unreachable();
                break;
-diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
-index c5782b5..38f02f9 100644
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -147,7 +147,8 @@ void __init ltq_soc_init(void)
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -147,7 +147,8 @@ void __init ltq_soc_init(void)
@@ -167,6 +159,3 @@ index c5782b5..38f02f9 100644
        } else {
                clkdev_add_static(ltq_danube_cpu_hz(), ltq_danube_fpi_hz(),
                                        ltq_danube_io_region_clock());
        } else {
                clkdev_add_static(ltq_danube_cpu_hz(), ltq_danube_fpi_hz(),
                                        ltq_danube_io_region_clock());
--- 
-1.7.7.1
-
index 06e7dd3f31105e290ea4c366e1531a56af4c7714..758e6a72ac0844fa60ec9ec5d51816e664c69dc3 100644 (file)
@@ -12,8 +12,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  arch/mips/lantiq/prom.c |    5 ++++
  2 files changed, 66 insertions(+), 0 deletions(-)
 
  arch/mips/lantiq/prom.c |    5 ++++
  2 files changed, 66 insertions(+), 0 deletions(-)
 
-diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c
-index 0b2ed87..770a10c 100644
 --- a/arch/mips/lantiq/irq.c
 +++ b/arch/mips/lantiq/irq.c
 @@ -9,6 +9,7 @@
 --- a/arch/mips/lantiq/irq.c
 +++ b/arch/mips/lantiq/irq.c
 @@ -9,6 +9,7 @@
@@ -105,8 +103,6 @@ index 0b2ed87..770a10c 100644
  #if !defined(CONFIG_MIPS_MT_SMP) && !defined(CONFIG_MIPS_MT_SMTC)
        set_c0_status(IE_IRQ0 | IE_IRQ1 | IE_IRQ2 |
                IE_IRQ3 | IE_IRQ4 | IE_IRQ5);
  #if !defined(CONFIG_MIPS_MT_SMP) && !defined(CONFIG_MIPS_MT_SMTC)
        set_c0_status(IE_IRQ0 | IE_IRQ1 | IE_IRQ2 |
                IE_IRQ3 | IE_IRQ4 | IE_IRQ5);
-diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c
-index 971554b..00ad59c 100644
 --- a/arch/mips/lantiq/prom.c
 +++ b/arch/mips/lantiq/prom.c
 @@ -108,4 +108,9 @@ void __init prom_init(void)
 --- a/arch/mips/lantiq/prom.c
 +++ b/arch/mips/lantiq/prom.c
 @@ -108,4 +108,9 @@ void __init prom_init(void)
@@ -119,6 +115,3 @@ index 971554b..00ad59c 100644
 +              panic("failed to register_vsmp_smp_ops()");
 +#endif
  }
 +              panic("failed to register_vsmp_smp_ops()");
 +#endif
  }
--- 
-1.7.7.1
-
index d5ab3843cdff2d15c3d0225274d85d86b3d0307c..33e25146d8ac6acc4697a30f8716710d7ed021f1 100644 (file)
@@ -8,8 +8,6 @@ Subject: [PATCH 38/70] MIPS: lantiq: add additional soc ids
  arch/mips/lantiq/xway/prom.c                       |   35 ++++++++++++++++--
  2 files changed, 61 insertions(+), 12 deletions(-)
 
  arch/mips/lantiq/xway/prom.c                       |   35 ++++++++++++++++--
  2 files changed, 61 insertions(+), 12 deletions(-)
 
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index 5d11eb7..3f22acb 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -17,20 +17,32 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -17,20 +17,32 @@
@@ -73,8 +71,6 @@ index 5d11eb7..3f22acb 100644
  }
  
  static inline int ltq_is_falcon(void)
  }
  
  static inline int ltq_is_falcon(void)
-diff --git a/arch/mips/lantiq/xway/prom.c b/arch/mips/lantiq/xway/prom.c
-index b6f56b7..e3dcbbd 100644
 --- a/arch/mips/lantiq/xway/prom.c
 +++ b/arch/mips/lantiq/xway/prom.c
 @@ -18,7 +18,9 @@
 --- a/arch/mips/lantiq/xway/prom.c
 +++ b/arch/mips/lantiq/xway/prom.c
 @@ -18,7 +18,9 @@
@@ -95,7 +91,7 @@ index b6f56b7..e3dcbbd 100644
  
  void __init ltq_soc_detect(struct ltq_soc_info *i)
  {
  
  void __init ltq_soc_detect(struct ltq_soc_info *i)
  {
-@@ -46,13 +47,21 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
+@@ -46,13 +47,21 @@ void __init ltq_soc_detect(struct ltq_so
                break;
  
        case SOC_ID_ARX188:
                break;
  
        case SOC_ID_ARX188:
@@ -119,7 +115,7 @@ index b6f56b7..e3dcbbd 100644
                i->name = SOC_AMAZON_SE;
                i->type = SOC_TYPE_AMAZON_SE;
  #ifdef CONFIG_PCI
                i->name = SOC_AMAZON_SE;
                i->type = SOC_TYPE_AMAZON_SE;
  #ifdef CONFIG_PCI
-@@ -60,12 +69,30 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
+@@ -60,12 +69,30 @@ void __init ltq_soc_detect(struct ltq_so
  #endif
                break;
  
  #endif
                break;
  
@@ -151,6 +147,3 @@ index b6f56b7..e3dcbbd 100644
        default:
                unreachable();
                break;
        default:
                unreachable();
                break;
--- 
-1.7.7.1
-
index 384ed2e0036f72445e4ca08344eb621b875e2ad1..e9d7239eb17ff3914c7a584c308dc7637f328c67 100644 (file)
@@ -20,8 +20,6 @@ Cc: spi-devel-general@lists.sourceforge.net
  6 files changed, 532 insertions(+), 0 deletions(-)
  create mode 100644 drivers/spi/spi-falcon.c
 
  6 files changed, 532 insertions(+), 0 deletions(-)
  create mode 100644 drivers/spi/spi-falcon.c
 
-diff --git a/arch/mips/lantiq/falcon/devices.c b/arch/mips/lantiq/falcon/devices.c
-index 6cd7a88..92ec571 100644
 --- a/arch/mips/lantiq/falcon/devices.c
 +++ b/arch/mips/lantiq/falcon/devices.c
 @@ -121,3 +121,16 @@ falcon_register_gpio_extra(void)
 --- a/arch/mips/lantiq/falcon/devices.c
 +++ b/arch/mips/lantiq/falcon/devices.c
 @@ -121,3 +121,16 @@ falcon_register_gpio_extra(void)
@@ -41,8 +39,6 @@ index 6cd7a88..92ec571 100644
 +      spi_register_board_info(data, 1);
 +      platform_device_register(&ltq_spi);
 +}
 +      spi_register_board_info(data, 1);
 +      platform_device_register(&ltq_spi);
 +}
-diff --git a/arch/mips/lantiq/falcon/devices.h b/arch/mips/lantiq/falcon/devices.h
-index 18be8b6..5e6f720 100644
 --- a/arch/mips/lantiq/falcon/devices.h
 +++ b/arch/mips/lantiq/falcon/devices.h
 @@ -11,10 +11,14 @@
 --- a/arch/mips/lantiq/falcon/devices.h
 +++ b/arch/mips/lantiq/falcon/devices.h
 @@ -11,10 +11,14 @@
@@ -60,11 +56,9 @@ index 18be8b6..5e6f720 100644
 +extern void falcon_register_spi_flash(struct spi_board_info *data);
  
  #endif
 +extern void falcon_register_spi_flash(struct spi_board_info *data);
  
  #endif
-diff --git a/arch/mips/lantiq/falcon/mach-easy98000.c b/arch/mips/lantiq/falcon/mach-easy98000.c
-index 361b8f0..1a7caad 100644
 --- a/arch/mips/lantiq/falcon/mach-easy98000.c
 +++ b/arch/mips/lantiq/falcon/mach-easy98000.c
 --- a/arch/mips/lantiq/falcon/mach-easy98000.c
 +++ b/arch/mips/lantiq/falcon/mach-easy98000.c
-@@ -40,6 +40,21 @@ struct physmap_flash_data easy98000_nor_flash_data = {
+@@ -40,6 +40,21 @@ struct physmap_flash_data easy98000_nor_
        .parts          = easy98000_nor_partitions,
  };
  
        .parts          = easy98000_nor_partitions,
  };
  
@@ -112,11 +106,9 @@ index 361b8f0..1a7caad 100644
  MIPS_MACHINE(LANTIQ_MACH_EASY98000NAND,
                        "EASY98000NAND",
                        "EASY98000 Eval Board (NAND Flash)",
  MIPS_MACHINE(LANTIQ_MACH_EASY98000NAND,
                        "EASY98000NAND",
                        "EASY98000 Eval Board (NAND Flash)",
-diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
-index 8ba4510..b8424ba 100644
 --- a/drivers/spi/Kconfig
 +++ b/drivers/spi/Kconfig
 --- a/drivers/spi/Kconfig
 +++ b/drivers/spi/Kconfig
-@@ -180,6 +180,10 @@ config SPI_MPC52xx
+@@ -189,6 +189,10 @@ config SPI_MPC52xx
          This drivers supports the MPC52xx SPI controller in master SPI
          mode.
  
          This drivers supports the MPC52xx SPI controller in master SPI
          mode.
  
@@ -127,11 +119,9 @@ index 8ba4510..b8424ba 100644
  config SPI_MPC52xx_PSC
        tristate "Freescale MPC52xx PSC SPI controller"
        depends on PPC_MPC52xx && EXPERIMENTAL
  config SPI_MPC52xx_PSC
        tristate "Freescale MPC52xx PSC SPI controller"
        depends on PPC_MPC52xx && EXPERIMENTAL
-diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
-index 61c3261..570894c 100644
 --- a/drivers/spi/Makefile
 +++ b/drivers/spi/Makefile
 --- a/drivers/spi/Makefile
 +++ b/drivers/spi/Makefile
-@@ -25,6 +25,7 @@ obj-$(CONFIG_SPI_DW_MMIO)            += spi-dw-mmio.o
+@@ -25,6 +25,7 @@ obj-$(CONFIG_SPI_DW_MMIO)            += spi-dw-mmi
  obj-$(CONFIG_SPI_DW_PCI)              += spi-dw-midpci.o
  spi-dw-midpci-objs                    := spi-dw-pci.o spi-dw-mid.o
  obj-$(CONFIG_SPI_EP93XX)              += spi-ep93xx.o
  obj-$(CONFIG_SPI_DW_PCI)              += spi-dw-midpci.o
  spi-dw-midpci-objs                    := spi-dw-pci.o spi-dw-mid.o
  obj-$(CONFIG_SPI_EP93XX)              += spi-ep93xx.o
@@ -139,9 +129,6 @@ index 61c3261..570894c 100644
  obj-$(CONFIG_SPI_FSL_LIB)             += spi-fsl-lib.o
  obj-$(CONFIG_SPI_FSL_ESPI)            += spi-fsl-espi.o
  obj-$(CONFIG_SPI_FSL_SPI)             += spi-fsl-spi.o
  obj-$(CONFIG_SPI_FSL_LIB)             += spi-fsl-lib.o
  obj-$(CONFIG_SPI_FSL_ESPI)            += spi-fsl-espi.o
  obj-$(CONFIG_SPI_FSL_SPI)             += spi-fsl-spi.o
-diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c
-new file mode 100644
-index 0000000..447bbaa
 --- /dev/null
 +++ b/drivers/spi/spi-falcon.c
 @@ -0,0 +1,483 @@
 --- /dev/null
 +++ b/drivers/spi/spi-falcon.c
 @@ -0,0 +1,483 @@
@@ -628,6 +615,3 @@ index 0000000..447bbaa
 +
 +MODULE_LICENSE("GPL");
 +MODULE_DESCRIPTION("Lantiq Falcon SPI controller driver");
 +
 +MODULE_LICENSE("GPL");
 +MODULE_DESCRIPTION("Lantiq Falcon SPI controller driver");
--- 
-1.7.7.1
-
index f8534bfaf0d61bfe2e9c55e08ee5952d3bc798f6..8b3775a5265ad07227969d6fca48e55fe938a29a 100644 (file)
@@ -21,8 +21,6 @@ Cc: linux-i2c@vger.kernel.org
  delete mode 100644 arch/mips/lantiq/falcon/clk.c
  create mode 100644 drivers/i2c/busses/i2c-falcon.c
 
  delete mode 100644 arch/mips/lantiq/falcon/clk.c
  create mode 100644 drivers/i2c/busses/i2c-falcon.c
 
-diff --git a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
-index 120c56c..fff5ecd 100644
 --- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 @@ -72,6 +72,10 @@
 --- a/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
 @@ -72,6 +72,10 @@
@@ -44,9 +42,6 @@ index 120c56c..fff5ecd 100644
  
  /* global register ranges */
  extern __iomem void *ltq_ebu_membase;
  
  /* global register ranges */
  extern __iomem void *ltq_ebu_membase;
-diff --git a/arch/mips/lantiq/falcon/clk.c b/arch/mips/lantiq/falcon/clk.c
-deleted file mode 100644
-index afe1b52..0000000
 --- a/arch/mips/lantiq/falcon/clk.c
 +++ /dev/null
 @@ -1,44 +0,0 @@
 --- a/arch/mips/lantiq/falcon/clk.c
 +++ /dev/null
 @@ -1,44 +0,0 @@
@@ -94,11 +89,9 @@ index afe1b52..0000000
 -      return CLOCK_100M;
 -}
 -EXPORT_SYMBOL(ltq_get_fpi_hz);
 -      return CLOCK_100M;
 -}
 -EXPORT_SYMBOL(ltq_get_fpi_hz);
-diff --git a/arch/mips/lantiq/falcon/devices.c b/arch/mips/lantiq/falcon/devices.c
-index 92ec571..e684ed4 100644
 --- a/arch/mips/lantiq/falcon/devices.c
 +++ b/arch/mips/lantiq/falcon/devices.c
 --- a/arch/mips/lantiq/falcon/devices.c
 +++ b/arch/mips/lantiq/falcon/devices.c
-@@ -134,3 +134,19 @@ falcon_register_spi_flash(struct spi_board_info *data)
+@@ -134,3 +134,19 @@ falcon_register_spi_flash(struct spi_boa
        spi_register_board_info(data, 1);
        platform_device_register(&ltq_spi);
  }
        spi_register_board_info(data, 1);
        platform_device_register(&ltq_spi);
  }
@@ -118,8 +111,6 @@ index 92ec571..e684ed4 100644
 +      platform_device_register_simple("i2c-falcon", 0,
 +              falcon_i2c_resources, ARRAY_SIZE(falcon_i2c_resources));
 +}
 +      platform_device_register_simple("i2c-falcon", 0,
 +              falcon_i2c_resources, ARRAY_SIZE(falcon_i2c_resources));
 +}
-diff --git a/arch/mips/lantiq/falcon/devices.h b/arch/mips/lantiq/falcon/devices.h
-index 5e6f720..d81edbe 100644
 --- a/arch/mips/lantiq/falcon/devices.h
 +++ b/arch/mips/lantiq/falcon/devices.h
 @@ -20,5 +20,6 @@ extern void falcon_register_nand(void);
 --- a/arch/mips/lantiq/falcon/devices.h
 +++ b/arch/mips/lantiq/falcon/devices.h
 @@ -20,5 +20,6 @@ extern void falcon_register_nand(void);
@@ -129,8 +120,6 @@ index 5e6f720..d81edbe 100644
 +extern void falcon_register_i2c(void);
  
  #endif
 +extern void falcon_register_i2c(void);
  
  #endif
-diff --git a/arch/mips/lantiq/falcon/mach-easy98000.c b/arch/mips/lantiq/falcon/mach-easy98000.c
-index 1a7caad..fc5720d 100644
 --- a/arch/mips/lantiq/falcon/mach-easy98000.c
 +++ b/arch/mips/lantiq/falcon/mach-easy98000.c
 @@ -98,6 +98,7 @@ easy98000_init_common(void)
 --- a/arch/mips/lantiq/falcon/mach-easy98000.c
 +++ b/arch/mips/lantiq/falcon/mach-easy98000.c
 @@ -98,6 +98,7 @@ easy98000_init_common(void)
@@ -141,8 +130,6 @@ index 1a7caad..fc5720d 100644
  }
  
  static void __init
  }
  
  static void __init
-diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
-index a3afac4..41be6cc 100644
 --- a/drivers/i2c/busses/Kconfig
 +++ b/drivers/i2c/busses/Kconfig
 @@ -369,6 +369,16 @@ config I2C_DESIGNWARE_PCI
 --- a/drivers/i2c/busses/Kconfig
 +++ b/drivers/i2c/busses/Kconfig
 @@ -369,6 +369,16 @@ config I2C_DESIGNWARE_PCI
@@ -162,11 +149,9 @@ index a3afac4..41be6cc 100644
  config I2C_GPIO
        tristate "GPIO-based bitbanging I2C"
        depends on GENERIC_GPIO
  config I2C_GPIO
        tristate "GPIO-based bitbanging I2C"
        depends on GENERIC_GPIO
-diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile
-index fba6da6..36239c8 100644
 --- a/drivers/i2c/busses/Makefile
 +++ b/drivers/i2c/busses/Makefile
 --- a/drivers/i2c/busses/Makefile
 +++ b/drivers/i2c/busses/Makefile
-@@ -37,6 +37,7 @@ obj-$(CONFIG_I2C_DESIGNWARE_PLATFORM)        += i2c-designware-platform.o
+@@ -37,6 +37,7 @@ obj-$(CONFIG_I2C_DESIGNWARE_PLATFORM)        +=
  i2c-designware-platform-objs := i2c-designware-platdrv.o i2c-designware-core.o
  obj-$(CONFIG_I2C_DESIGNWARE_PCI)      += i2c-designware-pci.o
  i2c-designware-pci-objs := i2c-designware-pcidrv.o i2c-designware-core.o
  i2c-designware-platform-objs := i2c-designware-platdrv.o i2c-designware-core.o
  obj-$(CONFIG_I2C_DESIGNWARE_PCI)      += i2c-designware-pci.o
  i2c-designware-pci-objs := i2c-designware-pcidrv.o i2c-designware-core.o
@@ -174,9 +159,6 @@ index fba6da6..36239c8 100644
  obj-$(CONFIG_I2C_GPIO)                += i2c-gpio.o
  obj-$(CONFIG_I2C_HIGHLANDER)  += i2c-highlander.o
  obj-$(CONFIG_I2C_IBM_IIC)     += i2c-ibm_iic.o
  obj-$(CONFIG_I2C_GPIO)                += i2c-gpio.o
  obj-$(CONFIG_I2C_HIGHLANDER)  += i2c-highlander.o
  obj-$(CONFIG_I2C_IBM_IIC)     += i2c-ibm_iic.o
-diff --git a/drivers/i2c/busses/i2c-falcon.c b/drivers/i2c/busses/i2c-falcon.c
-new file mode 100644
-index 0000000..fc4f0eb
 --- /dev/null
 +++ b/drivers/i2c/busses/i2c-falcon.c
 @@ -0,0 +1,1040 @@
 --- /dev/null
 +++ b/drivers/i2c/busses/i2c-falcon.c
 @@ -0,0 +1,1040 @@
@@ -1220,6 +1202,3 @@ index 0000000..fc4f0eb
 +MODULE_ALIAS("platform:" DRV_NAME);
 +MODULE_LICENSE("GPL");
 +MODULE_VERSION(DRV_VERSION);
 +MODULE_ALIAS("platform:" DRV_NAME);
 +MODULE_LICENSE("GPL");
 +MODULE_VERSION(DRV_VERSION);
--- 
-1.7.7.1
-
index c2e2e1bff4cf2895068bff9d1354ea8e3d2008e5..155085e81e385acfb15ae951b622df75019055a3 100644 (file)
@@ -25,8 +25,6 @@ TODO : memory ranges
  6 files changed, 222 insertions(+), 1 deletions(-)
  create mode 100644 arch/mips/lantiq/xway/nand.c
 
  6 files changed, 222 insertions(+), 1 deletions(-)
  create mode 100644 arch/mips/lantiq/xway/nand.c
 
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index 3f22acb..ab2d236 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -145,6 +145,8 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -145,6 +145,8 @@
@@ -38,8 +36,6 @@ index 3f22acb..ab2d236 100644
  #define ltq_cgu_w32(x, y)     ltq_w32((x), ltq_cgu_membase + (y))
  #define ltq_cgu_r32(x)                ltq_r32(ltq_cgu_membase + (x))
  
  #define ltq_cgu_w32(x, y)     ltq_w32((x), ltq_cgu_membase + (y))
  #define ltq_cgu_r32(x)                ltq_r32(ltq_cgu_membase + (x))
  
-diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile
-index 9d1a0a2..277aa34 100644
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,4 +1,4 @@
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,4 +1,4 @@
@@ -48,8 +44,6 @@ index 9d1a0a2..277aa34 100644
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
-diff --git a/arch/mips/lantiq/xway/devices.h b/arch/mips/lantiq/xway/devices.h
-index e904934..d825cbd 100644
 --- a/arch/mips/lantiq/xway/devices.h
 +++ b/arch/mips/lantiq/xway/devices.h
 @@ -16,5 +16,6 @@ extern void ltq_register_gpio(void);
 --- a/arch/mips/lantiq/xway/devices.h
 +++ b/arch/mips/lantiq/xway/devices.h
 @@ -16,5 +16,6 @@ extern void ltq_register_gpio(void);
@@ -59,9 +53,6 @@ index e904934..d825cbd 100644
 +extern void xway_register_nand(struct mtd_partition *parts, int count);
  
  #endif
 +extern void xway_register_nand(struct mtd_partition *parts, int count);
  
  #endif
-diff --git a/arch/mips/lantiq/xway/nand.c b/arch/mips/lantiq/xway/nand.c
-new file mode 100644
-index 0000000..9ab91d8
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/nand.c
 @@ -0,0 +1,216 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/nand.c
 @@ -0,0 +1,216 @@
@@ -281,11 +272,9 @@ index 0000000..9ab91d8
 +      falcon_flash_nand_data.chip.nr_partitions = count;
 +      platform_device_register(&ltq_flash_nand);
 +}
 +      falcon_flash_nand_data.chip.nr_partitions = count;
 +      platform_device_register(&ltq_flash_nand);
 +}
-diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c
-index ea8e123..9040ba1 100644
 --- a/drivers/mtd/nand/plat_nand.c
 +++ b/drivers/mtd/nand/plat_nand.c
 --- a/drivers/mtd/nand/plat_nand.c
 +++ b/drivers/mtd/nand/plat_nand.c
-@@ -75,6 +75,7 @@ static int __devinit plat_nand_probe(struct platform_device *pdev)
+@@ -75,6 +75,7 @@ static int __devinit plat_nand_probe(str
        data->chip.select_chip = pdata->ctrl.select_chip;
        data->chip.write_buf = pdata->ctrl.write_buf;
        data->chip.read_buf = pdata->ctrl.read_buf;
        data->chip.select_chip = pdata->ctrl.select_chip;
        data->chip.write_buf = pdata->ctrl.write_buf;
        data->chip.read_buf = pdata->ctrl.read_buf;
@@ -293,11 +282,9 @@ index ea8e123..9040ba1 100644
        data->chip.chip_delay = pdata->chip.chip_delay;
        data->chip.options |= pdata->chip.options;
        data->chip.bbt_options |= pdata->chip.bbt_options;
        data->chip.chip_delay = pdata->chip.chip_delay;
        data->chip.options |= pdata->chip.options;
        data->chip.bbt_options |= pdata->chip.bbt_options;
-diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
-index 904131b..80e11b9 100644
 --- a/include/linux/mtd/nand.h
 +++ b/include/linux/mtd/nand.h
 --- a/include/linux/mtd/nand.h
 +++ b/include/linux/mtd/nand.h
-@@ -650,6 +650,7 @@ struct platform_nand_ctrl {
+@@ -651,6 +651,7 @@ struct platform_nand_ctrl {
        void (*cmd_ctrl)(struct mtd_info *mtd, int dat, unsigned int ctrl);
        void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len);
        void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len);
        void (*cmd_ctrl)(struct mtd_info *mtd, int dat, unsigned int ctrl);
        void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len);
        void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len);
@@ -305,6 +292,3 @@ index 904131b..80e11b9 100644
        void *priv;
  };
  
        void *priv;
  };
  
--- 
-1.7.7.1
-
index ca6e8921ab6793881b1e230b4e720f21957dcab6..1619b0a20f94aed05c3781d23aa0ea80f75f3539 100644 (file)
@@ -12,8 +12,6 @@ Subject: [PATCH 42/70] SPI: MIPS: lantiq: adds spi xway
  5 files changed, 1088 insertions(+), 0 deletions(-)
  create mode 100644 drivers/spi/spi-xway.c
 
  5 files changed, 1088 insertions(+), 0 deletions(-)
  create mode 100644 drivers/spi/spi-xway.c
 
-diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_platform.h b/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
-index a305f1d..38ed938 100644
 --- a/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
 @@ -50,4 +50,13 @@ struct ltq_eth_data {
 --- a/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
 @@ -50,4 +50,13 @@ struct ltq_eth_data {
@@ -30,8 +28,6 @@ index a305f1d..38ed938 100644
 +};
 +
  #endif
 +};
 +
  #endif
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h
-index 2a8d5ad..b7f10e6 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h
 @@ -27,6 +27,8 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h
 @@ -27,6 +27,8 @@
@@ -43,11 +39,9 @@ index 2a8d5ad..b7f10e6 100644
  #define LTQ_SSC_EIR           (INT_NUM_IM0_IRL0 + 16)
  
  #define LTQ_MEI_DYING_GASP_INT        (INT_NUM_IM1_IRL0 + 21)
  #define LTQ_SSC_EIR           (INT_NUM_IM0_IRL0 + 16)
  
  #define LTQ_MEI_DYING_GASP_INT        (INT_NUM_IM1_IRL0 + 21)
-diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
-index b8424ba..ca4189c 100644
 --- a/drivers/spi/Kconfig
 +++ b/drivers/spi/Kconfig
 --- a/drivers/spi/Kconfig
 +++ b/drivers/spi/Kconfig
-@@ -384,6 +384,14 @@ config SPI_NUC900
+@@ -393,6 +393,14 @@ config SPI_NUC900
        help
          SPI driver for Nuvoton NUC900 series ARM SoCs
  
        help
          SPI driver for Nuvoton NUC900 series ARM SoCs
  
@@ -62,19 +56,14 @@ index b8424ba..ca4189c 100644
  #
  # Add new SPI master controllers in alphabetical order above this line
  #
  #
  # Add new SPI master controllers in alphabetical order above this line
  #
-diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
-index 570894c..a465d9a 100644
 --- a/drivers/spi/Makefile
 +++ b/drivers/spi/Makefile
 --- a/drivers/spi/Makefile
 +++ b/drivers/spi/Makefile
-@@ -59,4 +59,5 @@ obj-$(CONFIG_SPI_TLE62X0)            += spi-tle62x0.o
+@@ -60,4 +60,5 @@ obj-$(CONFIG_SPI_TLE62X0)            += spi-tle62x
  obj-$(CONFIG_SPI_TOPCLIFF_PCH)                += spi-topcliff-pch.o
  obj-$(CONFIG_SPI_TXX9)                        += spi-txx9.o
  obj-$(CONFIG_SPI_XILINX)              += spi-xilinx.o
 +obj-$(CONFIG_SPI_XWAY)                        += spi-xway.o
  
  obj-$(CONFIG_SPI_TOPCLIFF_PCH)                += spi-topcliff-pch.o
  obj-$(CONFIG_SPI_TXX9)                        += spi-txx9.o
  obj-$(CONFIG_SPI_XILINX)              += spi-xilinx.o
 +obj-$(CONFIG_SPI_XWAY)                        += spi-xway.o
  
-diff --git a/drivers/spi/spi-xway.c b/drivers/spi/spi-xway.c
-new file mode 100644
-index 0000000..016a6d0
 --- /dev/null
 +++ b/drivers/spi/spi-xway.c
 @@ -0,0 +1,1068 @@
 --- /dev/null
 +++ b/drivers/spi/spi-xway.c
 @@ -0,0 +1,1068 @@
@@ -1146,6 +1135,3 @@ index 0000000..016a6d0
 +MODULE_AUTHOR("Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>");
 +MODULE_LICENSE("GPL");
 +MODULE_ALIAS("platform:ltq-spi");
 +MODULE_AUTHOR("Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>");
 +MODULE_LICENSE("GPL");
 +MODULE_ALIAS("platform:ltq-spi");
--- 
-1.7.7.1
-
index 312ac5630dcf29614eb2405387a42d7739dbf4fb..394f3a625e4d45b7972c461784a84f2daf0f2b5a 100644 (file)
@@ -13,8 +13,6 @@ Subject: [PATCH 43/70] NET: adds driver for lantiq vr9 ethernet
  6 files changed, 1387 insertions(+), 1 deletions(-)
  create mode 100644 drivers/net/ethernet/lantiq_vrx200.c
 
  6 files changed, 1387 insertions(+), 1 deletions(-)
  create mode 100644 drivers/net/ethernet/lantiq_vrx200.c
 
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index ab2d236..d1b8cc8 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -102,7 +102,7 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -102,7 +102,7 @@
@@ -26,11 +24,9 @@ index ab2d236..d1b8cc8 100644
  
  /* DMA */
  #define LTQ_DMA_BASE_ADDR     0x1E104100
  
  /* DMA */
  #define LTQ_DMA_BASE_ADDR     0x1E104100
-diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c
-index eab4644d..5efa4f3 100644
 --- a/arch/mips/lantiq/xway/devices.c
 +++ b/arch/mips/lantiq/xway/devices.c
 --- a/arch/mips/lantiq/xway/devices.c
 +++ b/arch/mips/lantiq/xway/devices.c
-@@ -83,6 +83,7 @@ static struct platform_device ltq_etop = {
+@@ -83,6 +83,7 @@ static struct platform_device ltq_etop =
        .name           = "ltq_etop",
        .resource       = ltq_etop_resources,
        .num_resources  = 1,
        .name           = "ltq_etop",
        .resource       = ltq_etop_resources,
        .num_resources  = 1,
@@ -38,7 +34,7 @@ index eab4644d..5efa4f3 100644
  };
  
  void __init
  };
  
  void __init
-@@ -96,3 +97,22 @@ ltq_register_etop(struct ltq_eth_data *eth)
+@@ -96,3 +97,22 @@ ltq_register_etop(struct ltq_eth_data *e
                platform_device_register(&ltq_etop);
        }
  }
                platform_device_register(&ltq_etop);
        }
  }
@@ -61,8 +57,6 @@ index eab4644d..5efa4f3 100644
 +      ltq_vrx200.dev.platform_data = eth;
 +      platform_device_register(&ltq_vrx200);
 +}
 +      ltq_vrx200.dev.platform_data = eth;
 +      platform_device_register(&ltq_vrx200);
 +}
-diff --git a/arch/mips/lantiq/xway/devices.h b/arch/mips/lantiq/xway/devices.h
-index d825cbd..08befd9 100644
 --- a/arch/mips/lantiq/xway/devices.h
 +++ b/arch/mips/lantiq/xway/devices.h
 @@ -17,5 +17,6 @@ extern void ltq_register_gpio_stp(void);
 --- a/arch/mips/lantiq/xway/devices.h
 +++ b/arch/mips/lantiq/xway/devices.h
 @@ -17,5 +17,6 @@ extern void ltq_register_gpio_stp(void);
@@ -72,8 +66,6 @@ index d825cbd..08befd9 100644
 +extern void ltq_register_vrx200(struct ltq_eth_data *eth);
  
  #endif
 +extern void ltq_register_vrx200(struct ltq_eth_data *eth);
  
  #endif
-diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
-index 597f4d4..2035cab 100644
 --- a/drivers/net/ethernet/Kconfig
 +++ b/drivers/net/ethernet/Kconfig
 @@ -84,6 +84,12 @@ config LANTIQ_ETOP
 --- a/drivers/net/ethernet/Kconfig
 +++ b/drivers/net/ethernet/Kconfig
 @@ -84,6 +84,12 @@ config LANTIQ_ETOP
@@ -89,8 +81,6 @@ index 597f4d4..2035cab 100644
  source "drivers/net/ethernet/marvell/Kconfig"
  source "drivers/net/ethernet/mellanox/Kconfig"
  source "drivers/net/ethernet/micrel/Kconfig"
  source "drivers/net/ethernet/marvell/Kconfig"
  source "drivers/net/ethernet/mellanox/Kconfig"
  source "drivers/net/ethernet/micrel/Kconfig"
-diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
-index be5dde0..4fde2be 100644
 --- a/drivers/net/ethernet/Makefile
 +++ b/drivers/net/ethernet/Makefile
 @@ -35,6 +35,7 @@ obj-$(CONFIG_IP1000) += icplus/
 --- a/drivers/net/ethernet/Makefile
 +++ b/drivers/net/ethernet/Makefile
 @@ -35,6 +35,7 @@ obj-$(CONFIG_IP1000) += icplus/
@@ -101,9 +91,6 @@ index be5dde0..4fde2be 100644
  obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
  obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
  obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/
  obj-$(CONFIG_NET_VENDOR_MARVELL) += marvell/
  obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
  obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/
-diff --git a/drivers/net/ethernet/lantiq_vrx200.c b/drivers/net/ethernet/lantiq_vrx200.c
-new file mode 100644
-index 0000000..d79d380
 --- /dev/null
 +++ b/drivers/net/ethernet/lantiq_vrx200.c
 @@ -0,0 +1,1358 @@
 --- /dev/null
 +++ b/drivers/net/ethernet/lantiq_vrx200.c
 @@ -0,0 +1,1358 @@
@@ -1465,6 +1452,3 @@ index 0000000..d79d380
 +MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
 +MODULE_DESCRIPTION("Lantiq SoC ETOP");
 +MODULE_LICENSE("GPL");
 +MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
 +MODULE_DESCRIPTION("Lantiq SoC ETOP");
 +MODULE_LICENSE("GPL");
--- 
-1.7.7.1
-
index dbb205be630fac8c1641635e4e303f1f51558864..f17016733574d29a96eb8173c3542f92812c4262 100644 (file)
@@ -7,8 +7,6 @@ Subject: [PATCH 44/70] MIPS: NET: several fixes to etop driver
  drivers/net/ethernet/lantiq_etop.c |  208 +++++++++++++++++++-----------------
  1 files changed, 108 insertions(+), 100 deletions(-)
 
  drivers/net/ethernet/lantiq_etop.c |  208 +++++++++++++++++++-----------------
  1 files changed, 108 insertions(+), 100 deletions(-)
 
-diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
-index a084d74..1a807d8 100644
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -103,15 +103,6 @@
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 @@ -103,15 +103,6 @@
@@ -48,7 +46,7 @@ index a084d74..1a807d8 100644
  
        spinlock_t lock;
  
  
        spinlock_t lock;
  
-@@ -206,8 +197,10 @@ ltq_etop_poll_rx(struct napi_struct *napi, int budget)
+@@ -206,8 +197,10 @@ ltq_etop_poll_rx(struct napi_struct *nap
  {
        struct ltq_etop_chan *ch = container_of(napi,
                                struct ltq_etop_chan, napi);
  {
        struct ltq_etop_chan *ch = container_of(napi,
                                struct ltq_etop_chan, napi);
@@ -59,7 +57,7 @@ index a084d74..1a807d8 100644
  
        while ((rx < budget) && !complete) {
                struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
  
        while ((rx < budget) && !complete) {
                struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
-@@ -221,7 +214,9 @@ ltq_etop_poll_rx(struct napi_struct *napi, int budget)
+@@ -221,7 +214,9 @@ ltq_etop_poll_rx(struct napi_struct *nap
        }
        if (complete || !rx) {
                napi_complete(&ch->napi);
        }
        if (complete || !rx) {
                napi_complete(&ch->napi);
@@ -69,7 +67,7 @@ index a084d74..1a807d8 100644
        }
        return rx;
  }
        }
        return rx;
  }
-@@ -233,7 +228,7 @@ ltq_etop_poll_tx(struct napi_struct *napi, int budget)
+@@ -233,7 +228,7 @@ ltq_etop_poll_tx(struct napi_struct *nap
                container_of(napi, struct ltq_etop_chan, napi);
        struct ltq_etop_priv *priv = netdev_priv(ch->netdev);
        struct netdev_queue *txq =
                container_of(napi, struct ltq_etop_chan, napi);
        struct ltq_etop_priv *priv = netdev_priv(ch->netdev);
        struct netdev_queue *txq =
@@ -78,7 +76,7 @@ index a084d74..1a807d8 100644
        unsigned long flags;
  
        spin_lock_irqsave(&priv->lock, flags);
        unsigned long flags;
  
        spin_lock_irqsave(&priv->lock, flags);
-@@ -251,7 +246,9 @@ ltq_etop_poll_tx(struct napi_struct *napi, int budget)
+@@ -251,7 +246,9 @@ ltq_etop_poll_tx(struct napi_struct *nap
        if (netif_tx_queue_stopped(txq))
                netif_tx_start_queue(txq);
        napi_complete(&ch->napi);
        if (netif_tx_queue_stopped(txq))
                netif_tx_start_queue(txq);
        napi_complete(&ch->napi);
@@ -102,7 +100,7 @@ index a084d74..1a807d8 100644
        return IRQ_HANDLED;
  }
  
        return IRQ_HANDLED;
  }
  
-@@ -273,7 +271,7 @@ ltq_etop_free_channel(struct net_device *dev, struct ltq_etop_chan *ch)
+@@ -273,7 +271,7 @@ ltq_etop_free_channel(struct net_device
        ltq_dma_free(&ch->dma);
        if (ch->dma.irq)
                free_irq(ch->dma.irq, priv);
        ltq_dma_free(&ch->dma);
        if (ch->dma.irq)
                free_irq(ch->dma.irq, priv);
@@ -212,7 +210,7 @@ index a084d74..1a807d8 100644
        return err;
  }
  
        return err;
  }
  
-@@ -410,7 +423,10 @@ ltq_etop_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
+@@ -410,7 +423,10 @@ ltq_etop_get_settings(struct net_device
  {
        struct ltq_etop_priv *priv = netdev_priv(dev);
  
  {
        struct ltq_etop_priv *priv = netdev_priv(dev);
  
@@ -224,7 +222,7 @@ index a084d74..1a807d8 100644
  }
  
  static int
  }
  
  static int
-@@ -418,7 +434,10 @@ ltq_etop_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
+@@ -418,7 +434,10 @@ ltq_etop_set_settings(struct net_device
  {
        struct ltq_etop_priv *priv = netdev_priv(dev);
  
  {
        struct ltq_etop_priv *priv = netdev_priv(dev);
  
@@ -236,7 +234,7 @@ index a084d74..1a807d8 100644
  }
  
  static int
  }
  
  static int
-@@ -426,7 +445,10 @@ ltq_etop_nway_reset(struct net_device *dev)
+@@ -426,7 +445,10 @@ ltq_etop_nway_reset(struct net_device *d
  {
        struct ltq_etop_priv *priv = netdev_priv(dev);
  
  {
        struct ltq_etop_priv *priv = netdev_priv(dev);
  
@@ -304,7 +302,7 @@ index a084d74..1a807d8 100644
        return 0;
  }
  
        return 0;
  }
  
-@@ -660,16 +683,16 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev)
+@@ -660,16 +683,16 @@ ltq_etop_tx(struct sk_buff *skb, struct
        int queue = skb_get_queue_mapping(skb);
        struct netdev_queue *txq = netdev_get_tx_queue(dev, queue);
        struct ltq_etop_priv *priv = netdev_priv(dev);
        int queue = skb_get_queue_mapping(skb);
        struct netdev_queue *txq = netdev_get_tx_queue(dev, queue);
        struct ltq_etop_priv *priv = netdev_priv(dev);
@@ -325,7 +323,7 @@ index a084d74..1a807d8 100644
                netdev_err(dev, "tx ring full\n");
                netif_tx_stop_queue(txq);
                return NETDEV_TX_BUSY;
                netdev_err(dev, "tx ring full\n");
                netif_tx_stop_queue(txq);
                return NETDEV_TX_BUSY;
-@@ -677,7 +700,7 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev)
+@@ -677,7 +700,7 @@ ltq_etop_tx(struct sk_buff *skb, struct
  
        /* dma needs to start on a 16 byte aligned address */
        byte_offset = CPHYSADDR(skb->data) % 16;
  
        /* dma needs to start on a 16 byte aligned address */
        byte_offset = CPHYSADDR(skb->data) % 16;
@@ -334,7 +332,7 @@ index a084d74..1a807d8 100644
  
        dev->trans_start = jiffies;
  
  
        dev->trans_start = jiffies;
  
-@@ -687,11 +710,11 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev)
+@@ -687,11 +710,11 @@ ltq_etop_tx(struct sk_buff *skb, struct
        wmb();
        desc->ctl = LTQ_DMA_OWN | LTQ_DMA_SOP | LTQ_DMA_EOP |
                LTQ_DMA_TX_OFFSET(byte_offset) | (len & LTQ_DMA_SIZE_MASK);
        wmb();
        desc->ctl = LTQ_DMA_OWN | LTQ_DMA_SOP | LTQ_DMA_EOP |
                LTQ_DMA_TX_OFFSET(byte_offset) | (len & LTQ_DMA_SIZE_MASK);
@@ -360,7 +358,7 @@ index a084d74..1a807d8 100644
        ltq_etop_change_mtu(dev, 1500);
  
        memcpy(&mac, &priv->pldata->mac, sizeof(struct sockaddr));
        ltq_etop_change_mtu(dev, 1500);
  
        memcpy(&mac, &priv->pldata->mac, sizeof(struct sockaddr));
-@@ -811,6 +838,9 @@ ltq_etop_tx_timeout(struct net_device *dev)
+@@ -811,6 +838,9 @@ ltq_etop_tx_timeout(struct net_device *d
        err = ltq_etop_hw_init(dev);
        if (err)
                goto err_hw;
        err = ltq_etop_hw_init(dev);
        if (err)
                goto err_hw;
@@ -370,7 +368,7 @@ index a084d74..1a807d8 100644
        dev->trans_start = jiffies;
        netif_wake_queue(dev);
        return;
        dev->trans_start = jiffies;
        netif_wake_queue(dev);
        return;
-@@ -834,14 +864,13 @@ static const struct net_device_ops ltq_eth_netdev_ops = {
+@@ -834,14 +864,13 @@ static const struct net_device_ops ltq_e
        .ndo_tx_timeout = ltq_etop_tx_timeout,
  };
  
        .ndo_tx_timeout = ltq_etop_tx_timeout,
  };
  
@@ -386,7 +384,7 @@ index a084d74..1a807d8 100644
  
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        if (!res) {
  
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        if (!res) {
-@@ -917,15 +946,10 @@ ltq_etop_probe(struct platform_device *pdev)
+@@ -917,15 +946,10 @@ ltq_etop_probe(struct platform_device *p
  
        spin_lock_init(&priv->lock);
  
  
        spin_lock_init(&priv->lock);
  
@@ -406,7 +404,7 @@ index a084d74..1a807d8 100644
  
        err = register_netdev(dev);
        if (err)
  
        err = register_netdev(dev);
        if (err)
-@@ -955,6 +979,7 @@ ltq_etop_remove(struct platform_device *pdev)
+@@ -955,6 +979,7 @@ ltq_etop_remove(struct platform_device *
  }
  
  static struct platform_driver ltq_mii_driver = {
  }
  
  static struct platform_driver ltq_mii_driver = {
@@ -414,7 +412,7 @@ index a084d74..1a807d8 100644
        .remove = __devexit_p(ltq_etop_remove),
        .driver = {
                .name = "ltq_etop",
        .remove = __devexit_p(ltq_etop_remove),
        .driver = {
                .name = "ltq_etop",
-@@ -962,24 +987,7 @@ static struct platform_driver ltq_mii_driver = {
+@@ -962,24 +987,7 @@ static struct platform_driver ltq_mii_dr
        },
  };
  
        },
  };
  
@@ -440,6 +438,3 @@ index a084d74..1a807d8 100644
  
  MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
  MODULE_DESCRIPTION("Lantiq SoC ETOP");
  
  MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
  MODULE_DESCRIPTION("Lantiq SoC ETOP");
--- 
-1.7.7.1
-
index afbdbc92f09d9f087ff3f8f3791fc5bfe8a8ee5e..b7ddea6b7d72506f05f783bda911355e376ba450 100644 (file)
@@ -12,11 +12,9 @@ Cc: linux-mtd@lists.infradead.org
  drivers/mtd/maps/lantiq-flash.c |   22 +++-------------------
  1 files changed, 3 insertions(+), 19 deletions(-)
 
  drivers/mtd/maps/lantiq-flash.c |   22 +++-------------------
  1 files changed, 3 insertions(+), 19 deletions(-)
 
-diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c
-index 764d468..b55212c 100644
 --- a/drivers/mtd/maps/lantiq-flash.c
 +++ b/drivers/mtd/maps/lantiq-flash.c
 --- a/drivers/mtd/maps/lantiq-flash.c
 +++ b/drivers/mtd/maps/lantiq-flash.c
-@@ -108,7 +108,7 @@ ltq_copy_to(struct map_info *map, unsigned long to,
+@@ -108,7 +108,7 @@ ltq_copy_to(struct map_info *map, unsign
        spin_unlock_irqrestore(&ebu_lock, flags);
  }
  
        spin_unlock_irqrestore(&ebu_lock, flags);
  }
  
@@ -25,7 +23,7 @@ index 764d468..b55212c 100644
  ltq_mtd_probe(struct platform_device *pdev)
  {
        struct physmap_flash_data *ltq_mtd_data = dev_get_platdata(&pdev->dev);
  ltq_mtd_probe(struct platform_device *pdev)
  {
        struct physmap_flash_data *ltq_mtd_data = dev_get_platdata(&pdev->dev);
-@@ -208,6 +208,7 @@ ltq_mtd_remove(struct platform_device *pdev)
+@@ -208,6 +208,7 @@ ltq_mtd_remove(struct platform_device *p
  }
  
  static struct platform_driver ltq_mtd_driver = {
  }
  
  static struct platform_driver ltq_mtd_driver = {
@@ -33,7 +31,7 @@ index 764d468..b55212c 100644
        .remove = __devexit_p(ltq_mtd_remove),
        .driver = {
                .name = "ltq_nor",
        .remove = __devexit_p(ltq_mtd_remove),
        .driver = {
                .name = "ltq_nor",
-@@ -215,24 +216,7 @@ static struct platform_driver ltq_mtd_driver = {
+@@ -215,24 +216,7 @@ static struct platform_driver ltq_mtd_dr
        },
  };
  
        },
  };
  
@@ -59,6 +57,3 @@ index 764d468..b55212c 100644
  
  MODULE_LICENSE("GPL");
  MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
  
  MODULE_LICENSE("GPL");
  MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
--- 
-1.7.7.1
-
index f8a247b907f4da8404909c9116d980f3f76eb664..90dfa8b56d0bf8ea7808ca5207fac3bd1e17c1b7 100644 (file)
@@ -12,11 +12,9 @@ Cc: linux-watchdog@vger.kernel.org
  drivers/watchdog/lantiq_wdt.c |   19 +++----------------
  1 files changed, 3 insertions(+), 16 deletions(-)
 
  drivers/watchdog/lantiq_wdt.c |   19 +++----------------
  1 files changed, 3 insertions(+), 16 deletions(-)
 
-diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c
-index da2b09f..40c9eb7 100644
 --- a/drivers/watchdog/lantiq_wdt.c
 +++ b/drivers/watchdog/lantiq_wdt.c
 --- a/drivers/watchdog/lantiq_wdt.c
 +++ b/drivers/watchdog/lantiq_wdt.c
-@@ -182,7 +182,7 @@ static struct miscdevice ltq_wdt_miscdev = {
+@@ -182,7 +182,7 @@ static struct miscdevice ltq_wdt_miscdev
        .fops   = &ltq_wdt_fops,
  };
  
        .fops   = &ltq_wdt_fops,
  };
  
@@ -25,7 +23,7 @@ index da2b09f..40c9eb7 100644
  ltq_wdt_probe(struct platform_device *pdev)
  {
        struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
  ltq_wdt_probe(struct platform_device *pdev)
  {
        struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-@@ -230,6 +230,7 @@ ltq_wdt_remove(struct platform_device *pdev)
+@@ -230,6 +230,7 @@ ltq_wdt_remove(struct platform_device *p
  
  
  static struct platform_driver ltq_wdt_driver = {
  
  
  static struct platform_driver ltq_wdt_driver = {
@@ -33,7 +31,7 @@ index da2b09f..40c9eb7 100644
        .remove = __devexit_p(ltq_wdt_remove),
        .driver = {
                .name = "ltq_wdt",
        .remove = __devexit_p(ltq_wdt_remove),
        .driver = {
                .name = "ltq_wdt",
-@@ -237,21 +238,7 @@ static struct platform_driver ltq_wdt_driver = {
+@@ -237,21 +238,7 @@ static struct platform_driver ltq_wdt_dr
        },
  };
  
        },
  };
  
@@ -56,6 +54,3 @@ index da2b09f..40c9eb7 100644
  module_param(nowayout, int, 0);
  MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started");
  
  module_param(nowayout, int, 0);
  MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started");
  
--- 
-1.7.7.1
-
index 8be0ad50615e80ee0019f5bf508e15ad2b238a77..ecaa577c661c44d57950d7de000882427924efd6 100644 (file)
@@ -12,9 +12,6 @@ Subject: [PATCH 47/70] MIPS: lantiq: adds GPTU driver
  create mode 100644 arch/mips/include/asm/mach-lantiq/lantiq_timer.h
  create mode 100644 arch/mips/lantiq/xway/timer.c
 
  create mode 100644 arch/mips/include/asm/mach-lantiq/lantiq_timer.h
  create mode 100644 arch/mips/lantiq/xway/timer.c
 
-diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_timer.h b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h
-new file mode 100644
-index 0000000..ef564ab
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h
 @@ -0,0 +1,155 @@
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h
 @@ -0,0 +1,155 @@
@@ -173,8 +170,6 @@ index 0000000..ef564ab
 +      u32 reload, unsigned long arg1, unsigned long arg2);
 +
 +#endif /* __DANUBE_GPTU_DEV_H__2005_07_26__10_19__ */
 +      u32 reload, unsigned long arg1, unsigned long arg2);
 +
 +#endif /* __DANUBE_GPTU_DEV_H__2005_07_26__10_19__ */
-diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile
-index 277aa34..4c3106f 100644
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,4 +1,4 @@
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,4 +1,4 @@
@@ -183,8 +178,6 @@ index 277aa34..4c3106f 100644
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
-diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
-index 38f02f9..1a2e2d4 100644
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -147,6 +147,7 @@ void __init ltq_soc_init(void)
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -147,6 +147,7 @@ void __init ltq_soc_init(void)
@@ -195,9 +188,6 @@ index 38f02f9..1a2e2d4 100644
        if (!ltq_is_vr9())
                clkdev_add_pmu("ltq_etop", NULL, 0, PMU_PPE);
        if (ltq_is_ase()) {
        if (!ltq_is_vr9())
                clkdev_add_pmu("ltq_etop", NULL, 0, PMU_PPE);
        if (ltq_is_ase()) {
-diff --git a/arch/mips/lantiq/xway/timer.c b/arch/mips/lantiq/xway/timer.c
-new file mode 100644
-index 0000000..9794c87
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/timer.c
 @@ -0,0 +1,846 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/timer.c
 @@ -0,0 +1,846 @@
@@ -1047,6 +1037,3 @@ index 0000000..9794c87
 +
 +module_init(lq_gptu_init);
 +module_exit(lq_gptu_exit);
 +
 +module_init(lq_gptu_init);
 +module_exit(lq_gptu_exit);
--- 
-1.7.7.1
-
index 2f47a2dafa756840040ec9ac32fc148bab663878..0f842c3cb251282f879d63a911b943475f41114a 100644 (file)
@@ -45,8 +45,6 @@ Subject: [PATCH 48/70] MIPS: lantiq: adds dwc_otg
  create mode 100644 drivers/usb/dwc_otg/dwc_otg_plat.h
  create mode 100644 drivers/usb/dwc_otg/dwc_otg_regs.h
 
  create mode 100644 drivers/usb/dwc_otg/dwc_otg_plat.h
  create mode 100644 drivers/usb/dwc_otg/dwc_otg_regs.h
 
-diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
-index 791f11b..1eafa7a 100644
 --- a/drivers/usb/Kconfig
 +++ b/drivers/usb/Kconfig
 @@ -129,6 +129,8 @@ source "drivers/usb/wusbcore/Kconfig"
 --- a/drivers/usb/Kconfig
 +++ b/drivers/usb/Kconfig
 @@ -129,6 +129,8 @@ source "drivers/usb/wusbcore/Kconfig"
@@ -58,8 +56,6 @@ index 791f11b..1eafa7a 100644
  source "drivers/usb/musb/Kconfig"
  
  source "drivers/usb/renesas_usbhs/Kconfig"
  source "drivers/usb/musb/Kconfig"
  
  source "drivers/usb/renesas_usbhs/Kconfig"
-diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
-index 75eca76..7fe8e83 100644
 --- a/drivers/usb/Makefile
 +++ b/drivers/usb/Makefile
 @@ -30,6 +30,8 @@ obj-$(CONFIG_USB_C67X00_HCD) += c67x00/
 --- a/drivers/usb/Makefile
 +++ b/drivers/usb/Makefile
 @@ -30,6 +30,8 @@ obj-$(CONFIG_USB_C67X00_HCD) += c67x00/
@@ -71,11 +67,9 @@ index 75eca76..7fe8e83 100644
  obj-$(CONFIG_USB_ACM)         += class/
  obj-$(CONFIG_USB_PRINTER)     += class/
  obj-$(CONFIG_USB_WDM)         += class/
  obj-$(CONFIG_USB_ACM)         += class/
  obj-$(CONFIG_USB_PRINTER)     += class/
  obj-$(CONFIG_USB_WDM)         += class/
-diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
-index 7978146..6a7df52 100644
 --- a/drivers/usb/core/hub.c
 +++ b/drivers/usb/core/hub.c
 --- a/drivers/usb/core/hub.c
 +++ b/drivers/usb/core/hub.c
-@@ -2935,11 +2935,11 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1,
+@@ -2939,11 +2939,11 @@ hub_port_init (struct usb_hub *hub, stru
                udev->ttport = hdev->ttport;
        } else if (udev->speed != USB_SPEED_HIGH
                        && hdev->speed == USB_SPEED_HIGH) {
                udev->ttport = hdev->ttport;
        } else if (udev->speed != USB_SPEED_HIGH
                        && hdev->speed == USB_SPEED_HIGH) {
@@ -89,9 +83,6 @@ index 7978146..6a7df52 100644
                udev->tt = &hub->tt;
                udev->ttport = port1;
        }
                udev->tt = &hub->tt;
                udev->ttport = port1;
        }
-diff --git a/drivers/usb/dwc_otg/Kconfig b/drivers/usb/dwc_otg/Kconfig
-new file mode 100644
-index 0000000..e018490
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/Kconfig
 @@ -0,0 +1,37 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/Kconfig
 @@ -0,0 +1,37 @@
@@ -132,9 +123,6 @@ index 0000000..e018490
 +config DWC_OTG_DEBUG
 +        bool "Enable debug mode"
 +        depends on DWC_OTG
 +config DWC_OTG_DEBUG
 +        bool "Enable debug mode"
 +        depends on DWC_OTG
-diff --git a/drivers/usb/dwc_otg/Makefile b/drivers/usb/dwc_otg/Makefile
-new file mode 100644
-index 0000000..d4d2355
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/Makefile
 @@ -0,0 +1,39 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/Makefile
 @@ -0,0 +1,39 @@
@@ -177,9 +165,6 @@ index 0000000..d4d2355
 +
 +#obj-$(CONFIG_DWC_OTG_IFX)    := dwc_otg_ifx.o
 +#dwc_otg_ifx-objs             := dwc_otg_ifx.o
 +
 +#obj-$(CONFIG_DWC_OTG_IFX)    := dwc_otg_ifx.o
 +#dwc_otg_ifx-objs             := dwc_otg_ifx.o
-diff --git a/drivers/usb/dwc_otg/dwc_otg_attr.c b/drivers/usb/dwc_otg/dwc_otg_attr.c
-new file mode 100644
-index 0000000..4675a5c
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_attr.c
 @@ -0,0 +1,802 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_attr.c
 @@ -0,0 +1,802 @@
@@ -985,9 +970,6 @@ index 0000000..4675a5c
 +      device_remove_file(_dev, &dev_attr_rd_reg_test);
 +      device_remove_file(_dev, &dev_attr_wr_reg_test);
 +}
 +      device_remove_file(_dev, &dev_attr_rd_reg_test);
 +      device_remove_file(_dev, &dev_attr_wr_reg_test);
 +}
-diff --git a/drivers/usb/dwc_otg/dwc_otg_attr.h b/drivers/usb/dwc_otg/dwc_otg_attr.h
-new file mode 100644
-index 0000000..4bbf7df
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_attr.h
 @@ -0,0 +1,67 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_attr.h
 @@ -0,0 +1,67 @@
@@ -1058,9 +1040,6 @@ index 0000000..4bbf7df
 +void dwc_otg_attr_remove (struct device *_dev);
 +
 +#endif
 +void dwc_otg_attr_remove (struct device *_dev);
 +
 +#endif
-diff --git a/drivers/usb/dwc_otg/dwc_otg_cil.c b/drivers/usb/dwc_otg/dwc_otg_cil.c
-new file mode 100644
-index 0000000..42c69eb
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_cil.c
 @@ -0,0 +1,3025 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_cil.c
 @@ -0,0 +1,3025 @@
@@ -4089,9 +4068,6 @@ index 0000000..42c69eb
 +        _cb->p = _p;
 +}
 +
 +        _cb->p = _p;
 +}
 +
-diff --git a/drivers/usb/dwc_otg/dwc_otg_cil.h b/drivers/usb/dwc_otg/dwc_otg_cil.h
-new file mode 100644
-index 0000000..bbb9516
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_cil.h
 @@ -0,0 +1,911 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_cil.h
 @@ -0,0 +1,911 @@
@@ -5006,9 +4982,6 @@ index 0000000..bbb9516
 +
 +
 +#endif
 +
 +
 +#endif
-diff --git a/drivers/usb/dwc_otg/dwc_otg_cil_ifx.h b/drivers/usb/dwc_otg/dwc_otg_cil_ifx.h
-new file mode 100644
-index 0000000..b0298ec
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_cil_ifx.h
 @@ -0,0 +1,58 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_cil_ifx.h
 @@ -0,0 +1,58 @@
@@ -5070,9 +5043,6 @@ index 0000000..b0298ec
 +
 +#endif // __DWC_OTG_CIL_IFX_H__
 +
 +
 +#endif // __DWC_OTG_CIL_IFX_H__
 +
-diff --git a/drivers/usb/dwc_otg/dwc_otg_cil_intr.c b/drivers/usb/dwc_otg/dwc_otg_cil_intr.c
-new file mode 100644
-index 0000000..d469ab4
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_cil_intr.c
 @@ -0,0 +1,708 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_cil_intr.c
 @@ -0,0 +1,708 @@
@@ -5784,9 +5754,6 @@ index 0000000..d469ab4
 +        }
 +        return retval;
 +}
 +        }
 +        return retval;
 +}
-diff --git a/drivers/usb/dwc_otg/dwc_otg_driver.c b/drivers/usb/dwc_otg/dwc_otg_driver.c
-new file mode 100644
-index 0000000..1b0daab
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_driver.c
 @@ -0,0 +1,1274 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_driver.c
 @@ -0,0 +1,1274 @@
@@ -7064,9 +7031,6 @@ index 0000000..1b0daab
 + </td></tr>
 +
 +*/
 + </td></tr>
 +
 +*/
-diff --git a/drivers/usb/dwc_otg/dwc_otg_driver.h b/drivers/usb/dwc_otg/dwc_otg_driver.h
-new file mode 100644
-index 0000000..7e6940d
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_driver.h
 @@ -0,0 +1,84 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_driver.h
 @@ -0,0 +1,84 @@
@@ -7154,9 +7118,6 @@ index 0000000..7e6940d
 +//#define dev_dbg(fake, format, arg...) printk(KERN_CRIT __FILE__ ":%d: " format "\n" , __LINE__, ## arg)
 +
 +#endif
 +//#define dev_dbg(fake, format, arg...) printk(KERN_CRIT __FILE__ ":%d: " format "\n" , __LINE__, ## arg)
 +
 +#endif
-diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd.c b/drivers/usb/dwc_otg/dwc_otg_hcd.c
-new file mode 100644
-index 0000000..ad6bc72
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd.c
 @@ -0,0 +1,2870 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd.c
 @@ -0,0 +1,2870 @@
@@ -10030,9 +9991,6 @@ index 0000000..ad6bc72
 +#endif
 +}
 +#endif /* DWC_DEVICE_ONLY */
 +#endif
 +}
 +#endif /* DWC_DEVICE_ONLY */
-diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd.h b/drivers/usb/dwc_otg/dwc_otg_hcd.h
-new file mode 100644
-index 0000000..8a20dff
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd.h
 @@ -0,0 +1,676 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd.h
 @@ -0,0 +1,676 @@
@@ -10712,9 +10670,6 @@ index 0000000..8a20dff
 +#endif // DEBUG               
 +#endif // __DWC_HCD_H__
 +#endif /* DWC_DEVICE_ONLY */
 +#endif // DEBUG               
 +#endif // __DWC_HCD_H__
 +#endif /* DWC_DEVICE_ONLY */
-diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
-new file mode 100644
-index 0000000..834b5e0
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
 @@ -0,0 +1,1841 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
 @@ -0,0 +1,1841 @@
@@ -12559,9 +12514,6 @@ index 0000000..834b5e0
 +}
 +
 +#endif /* DWC_DEVICE_ONLY */
 +}
 +
 +#endif /* DWC_DEVICE_ONLY */
-diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd_queue.c b/drivers/usb/dwc_otg/dwc_otg_hcd_queue.c
-new file mode 100644
-index 0000000..fcb5ce6
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd_queue.c
 @@ -0,0 +1,794 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd_queue.c
 @@ -0,0 +1,794 @@
@@ -13359,9 +13311,6 @@ index 0000000..fcb5ce6
 +}
 +
 +#endif /* DWC_DEVICE_ONLY */
 +}
 +
 +#endif /* DWC_DEVICE_ONLY */
-diff --git a/drivers/usb/dwc_otg/dwc_otg_ifx.c b/drivers/usb/dwc_otg/dwc_otg_ifx.c
-new file mode 100644
-index 0000000..0a4c209
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_ifx.c
 @@ -0,0 +1,100 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_ifx.c
 @@ -0,0 +1,100 @@
@@ -13465,9 +13414,6 @@ index 0000000..0a4c209
 +void ifx_usb_hc_remove(void)
 +{
 +}
 +void ifx_usb_hc_remove(void)
 +{
 +}
-diff --git a/drivers/usb/dwc_otg/dwc_otg_ifx.h b/drivers/usb/dwc_otg/dwc_otg_ifx.h
-new file mode 100644
-index 0000000..402d7a6
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_ifx.h
 @@ -0,0 +1,85 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_ifx.h
 @@ -0,0 +1,85 @@
@@ -13556,9 +13502,6 @@ index 0000000..402d7a6
 +      ltq_mask_and_ack_irq(&d);
 +}
 +#endif //__DWC_OTG_IFX_H__
 +      ltq_mask_and_ack_irq(&d);
 +}
 +#endif //__DWC_OTG_IFX_H__
-diff --git a/drivers/usb/dwc_otg/dwc_otg_plat.h b/drivers/usb/dwc_otg/dwc_otg_plat.h
-new file mode 100644
-index 0000000..727d0c4
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_plat.h
 @@ -0,0 +1,269 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_plat.h
 @@ -0,0 +1,269 @@
@@ -13831,9 +13774,6 @@ index 0000000..727d0c4
 +
 +#endif
 +
 +
 +#endif
 +
-diff --git a/drivers/usb/dwc_otg/dwc_otg_regs.h b/drivers/usb/dwc_otg/dwc_otg_regs.h
-new file mode 100644
-index 0000000..397a954
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_regs.h
 @@ -0,0 +1,1797 @@
 --- /dev/null
 +++ b/drivers/usb/dwc_otg/dwc_otg_regs.h
 @@ -0,0 +1,1797 @@
@@ -15634,6 +15574,3 @@ index 0000000..397a954
 +} dwc_otg_host_if_t;
 +
 +#endif
 +} dwc_otg_host_if_t;
 +
 +#endif
--- 
-1.7.7.1
-
index 0a4d817afda609f387a8798e14ab9c185f9a818c..621a25fb6b98f39824cbe5f43a7766b6950e1c51 100644 (file)
@@ -8,11 +8,9 @@ https://lists.openwrt.org/pipermail/openwrt-devel/2012-March/014524.html
  drivers/usb/dwc_otg/dwc_otg_hcd_intr.c |    2 --
  1 files changed, 0 insertions(+), 2 deletions(-)
 
  drivers/usb/dwc_otg/dwc_otg_hcd_intr.c |    2 --
  1 files changed, 0 insertions(+), 2 deletions(-)
 
-diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
-index 834b5e0..f6f3f3d 100644
 --- a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
 --- a/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
 +++ b/drivers/usb/dwc_otg/dwc_otg_hcd_intr.c
-@@ -1278,8 +1278,6 @@ static int32_t handle_hc_ack_intr(dwc_otg_hcd_t *_hcd,
+@@ -1278,8 +1278,6 @@ static int32_t handle_hc_ack_intr(dwc_ot
                         * automatically executes the PING, then the transfer.
                         */
                    halt_channel(_hcd, _hc, _qtd, DWC_OTG_HC_XFER_ACK, must_free);
                         * automatically executes the PING, then the transfer.
                         */
                    halt_channel(_hcd, _hc, _qtd, DWC_OTG_HC_XFER_ACK, must_free);
@@ -21,6 +19,3 @@ index 834b5e0..f6f3f3d 100644
                }
        }
  
                }
        }
  
--- 
-1.7.7.1
-
index 51a2c98e791b73d04a9196d54499205a9a143e60..88348a4543adf7f517f1df392261b32e5a54fc6a 100644 (file)
@@ -48,8 +48,6 @@ Subject: [PATCH 50/70] MIPS: adds ifxhcd
  create mode 100644 drivers/usb/ifxhcd/ifxusb_regs.h
  create mode 100644 drivers/usb/ifxhcd/ifxusb_version.h
 
  create mode 100644 drivers/usb/ifxhcd/ifxusb_regs.h
  create mode 100644 drivers/usb/ifxhcd/ifxusb_version.h
 
-diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile
-index 4c3106f..c9baf91 100644
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,4 +1,4 @@
 --- a/arch/mips/lantiq/xway/Makefile
 +++ b/arch/mips/lantiq/xway/Makefile
 @@ -1,4 +1,4 @@
@@ -58,9 +56,6 @@ index 4c3106f..c9baf91 100644
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
  
  obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
  obj-$(CONFIG_LANTIQ_MACH_EASY50601) += mach-easy50601.o
-diff --git a/arch/mips/lantiq/xway/dev-ifxhcd.c b/arch/mips/lantiq/xway/dev-ifxhcd.c
-new file mode 100644
-index 0000000..ea08a35
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/dev-ifxhcd.c
 @@ -0,0 +1,45 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/dev-ifxhcd.c
 @@ -0,0 +1,45 @@
@@ -109,9 +104,6 @@ index 0000000..ea08a35
 +      platform_dev.dev.platform_data = pins;
 +      return platform_device_register(&platform_dev);
 +}
 +      platform_dev.dev.platform_data = pins;
 +      return platform_device_register(&platform_dev);
 +}
-diff --git a/arch/mips/lantiq/xway/dev-ifxhcd.h b/arch/mips/lantiq/xway/dev-ifxhcd.h
-new file mode 100644
-index 0000000..18b3d2d
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/dev-ifxhcd.h
 @@ -0,0 +1,17 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/dev-ifxhcd.h
 @@ -0,0 +1,17 @@
@@ -132,8 +124,6 @@ index 0000000..18b3d2d
 +extern void __init xway_register_hcd(int *pin);
 +
 +#endif
 +extern void __init xway_register_hcd(int *pin);
 +
 +#endif
-diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
-index 1a2e2d4..ac7383f 100644
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -166,6 +166,8 @@ void __init ltq_soc_init(void)
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -166,6 +166,8 @@ void __init ltq_soc_init(void)
@@ -145,8 +135,6 @@ index 1a2e2d4..ac7383f 100644
        } else {
                clkdev_add_static(ltq_danube_cpu_hz(), ltq_danube_fpi_hz(),
                                        ltq_danube_io_region_clock());
        } else {
                clkdev_add_static(ltq_danube_cpu_hz(), ltq_danube_fpi_hz(),
                                        ltq_danube_io_region_clock());
-diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
-index 1eafa7a..0f7926e 100644
 --- a/drivers/usb/Kconfig
 +++ b/drivers/usb/Kconfig
 @@ -183,4 +183,6 @@ source "drivers/usb/gadget/Kconfig"
 --- a/drivers/usb/Kconfig
 +++ b/drivers/usb/Kconfig
 @@ -183,4 +183,6 @@ source "drivers/usb/gadget/Kconfig"
@@ -156,8 +144,6 @@ index 1eafa7a..0f7926e 100644
 +source "drivers/usb/ifxhcd/Kconfig"
 +
  endif # USB_SUPPORT
 +source "drivers/usb/ifxhcd/Kconfig"
 +
  endif # USB_SUPPORT
-diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
-index 7fe8e83..61b4c88 100644
 --- a/drivers/usb/Makefile
 +++ b/drivers/usb/Makefile
 @@ -57,3 +57,5 @@ obj-$(CONFIG_USB_OTG_UTILS)  += otg/
 --- a/drivers/usb/Makefile
 +++ b/drivers/usb/Makefile
 @@ -57,3 +57,5 @@ obj-$(CONFIG_USB_OTG_UTILS)  += otg/
@@ -166,9 +152,6 @@ index 7fe8e83..61b4c88 100644
  obj-$(CONFIG_USB_COMMON)      += usb-common.o
 +
 +obj-$(CONFIG_USB_HOST_IFX)    += ifxhcd/
  obj-$(CONFIG_USB_COMMON)      += usb-common.o
 +
 +obj-$(CONFIG_USB_HOST_IFX)    += ifxhcd/
-diff --git a/drivers/usb/ifxhcd/Kconfig b/drivers/usb/ifxhcd/Kconfig
-new file mode 100644
-index 0000000..7eb8ceb
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/Kconfig
 @@ -0,0 +1,58 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/Kconfig
 @@ -0,0 +1,58 @@
@@ -230,9 +213,6 @@ index 0000000..7eb8ceb
 +#config USB_HOST_IFX_UNALIGNED_NONE
 +
 +
 +#config USB_HOST_IFX_UNALIGNED_NONE
 +
 +
-diff --git a/drivers/usb/ifxhcd/Makefile b/drivers/usb/ifxhcd/Makefile
-new file mode 100644
-index 0000000..0a2ac99
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/Makefile
 @@ -0,0 +1,85 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/Makefile
 @@ -0,0 +1,85 @@
@@ -321,9 +301,6 @@ index 0000000..0a2ac99
 +      
 +obj-$(CONFIG_USB_HOST_IFX)    += ifxusb_host.o
 +
 +      
 +obj-$(CONFIG_USB_HOST_IFX)    += ifxusb_host.o
 +
-diff --git a/drivers/usb/ifxhcd/TagHistory b/drivers/usb/ifxhcd/TagHistory
-new file mode 100644
-index 0000000..3820d70
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/TagHistory
 @@ -0,0 +1,171 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/TagHistory
 @@ -0,0 +1,171 @@
@@ -498,9 +475,6 @@ index 0000000..3820d70
 +
 +Bekanntes Problem: Stick and Surf funktioniert nur sporadisch, weil CONTROL_IRQ manchmal ausbleibt.
 +
 +
 +Bekanntes Problem: Stick and Surf funktioniert nur sporadisch, weil CONTROL_IRQ manchmal ausbleibt.
 +
-diff --git a/drivers/usb/ifxhcd/ifxhcd.c b/drivers/usb/ifxhcd/ifxhcd.c
-new file mode 100644
-index 0000000..d2ae125
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxhcd.c
 @@ -0,0 +1,2523 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxhcd.c
 @@ -0,0 +1,2523 @@
@@ -3027,9 +3001,6 @@ index 0000000..d2ae125
 +      }
 +#endif //__ENABLE_DUMP__
 +
 +      }
 +#endif //__ENABLE_DUMP__
 +
-diff --git a/drivers/usb/ifxhcd/ifxhcd.h b/drivers/usb/ifxhcd/ifxhcd.h
-new file mode 100644
-index 0000000..3a40851
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxhcd.h
 @@ -0,0 +1,628 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxhcd.h
 @@ -0,0 +1,628 @@
@@ -3661,9 +3632,6 @@ index 0000000..3a40851
 +/*@}*//*IFXUSB_HCD*/
 +
 +#endif // __IFXHCD_H__
 +/*@}*//*IFXUSB_HCD*/
 +
 +#endif // __IFXHCD_H__
-diff --git a/drivers/usb/ifxhcd/ifxhcd_es.c b/drivers/usb/ifxhcd/ifxhcd_es.c
-new file mode 100644
-index 0000000..ef9e8c0
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxhcd_es.c
 @@ -0,0 +1,549 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxhcd_es.c
 @@ -0,0 +1,549 @@
@@ -4216,9 +4184,6 @@ index 0000000..ef9e8c0
 +      }
 +#endif //__WITH_HS_ELECT_TST__
 +
 +      }
 +#endif //__WITH_HS_ELECT_TST__
 +
-diff --git a/drivers/usb/ifxhcd/ifxhcd_intr.c b/drivers/usb/ifxhcd/ifxhcd_intr.c
-new file mode 100644
-index 0000000..76fe602
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxhcd_intr.c
 @@ -0,0 +1,3742 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxhcd_intr.c
 @@ -0,0 +1,3742 @@
@@ -7964,9 +7929,6 @@ index 0000000..76fe602
 +      }
 +      return retval;
 +}
 +      }
 +      return retval;
 +}
-diff --git a/drivers/usb/ifxhcd/ifxhcd_queue.c b/drivers/usb/ifxhcd/ifxhcd_queue.c
-new file mode 100644
-index 0000000..8f9dd25
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxhcd_queue.c
 @@ -0,0 +1,418 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxhcd_queue.c
 @@ -0,0 +1,418 @@
@@ -8388,9 +8350,6 @@ index 0000000..8f9dd25
 +      return retval;
 +}
 +
 +      return retval;
 +}
 +
-diff --git a/drivers/usb/ifxhcd/ifxusb_cif.c b/drivers/usb/ifxhcd/ifxusb_cif.c
-new file mode 100644
-index 0000000..10b1292
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_cif.c
 @@ -0,0 +1,1458 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_cif.c
 @@ -0,0 +1,1458 @@
@@ -9852,9 +9811,6 @@ index 0000000..10b1292
 +      return;
 +}
 +
 +      return;
 +}
 +
-diff --git a/drivers/usb/ifxhcd/ifxusb_cif.h b/drivers/usb/ifxhcd/ifxusb_cif.h
-new file mode 100644
-index 0000000..191781f
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_cif.h
 @@ -0,0 +1,665 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_cif.h
 @@ -0,0 +1,665 @@
@@ -10523,9 +10479,6 @@ index 0000000..191781f
 +#endif // !defined(__IFXUSB_CIF_H__)
 +
 +
 +#endif // !defined(__IFXUSB_CIF_H__)
 +
 +
-diff --git a/drivers/usb/ifxhcd/ifxusb_cif_d.c b/drivers/usb/ifxhcd/ifxusb_cif_d.c
-new file mode 100644
-index 0000000..36ab0e7
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_cif_d.c
 @@ -0,0 +1,458 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_cif_d.c
 @@ -0,0 +1,458 @@
@@ -10987,9 +10940,6 @@ index 0000000..36ab0e7
 +      }
 +}
 +
 +      }
 +}
 +
-diff --git a/drivers/usb/ifxhcd/ifxusb_cif_h.c b/drivers/usb/ifxhcd/ifxusb_cif_h.c
-new file mode 100644
-index 0000000..0f47ecd
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_cif_h.c
 @@ -0,0 +1,846 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_cif_h.c
 @@ -0,0 +1,846 @@
@@ -11839,9 +11789,6 @@ index 0000000..0f47ecd
 +#endif //defined(__UEIP__)
 +
 +
 +#endif //defined(__UEIP__)
 +
 +
-diff --git a/drivers/usb/ifxhcd/ifxusb_ctl.c b/drivers/usb/ifxhcd/ifxusb_ctl.c
-new file mode 100644
-index 0000000..ade8e13
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_ctl.c
 @@ -0,0 +1,1385 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_ctl.c
 @@ -0,0 +1,1385 @@
@@ -13230,9 +13177,6 @@ index 0000000..ade8e13
 +}
 +
 +
 +}
 +
 +
-diff --git a/drivers/usb/ifxhcd/ifxusb_driver.c b/drivers/usb/ifxhcd/ifxusb_driver.c
-new file mode 100644
-index 0000000..2334905
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_driver.c
 @@ -0,0 +1,970 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_driver.c
 @@ -0,0 +1,970 @@
@@ -14206,9 +14150,6 @@ index 0000000..2334905
 +MODULE_PARM_DESC(timeout_cal_fs, "Timeout Cal for FS");
 +
 +
 +MODULE_PARM_DESC(timeout_cal_fs, "Timeout Cal for FS");
 +
 +
-diff --git a/drivers/usb/ifxhcd/ifxusb_plat.h b/drivers/usb/ifxhcd/ifxusb_plat.h
-new file mode 100644
-index 0000000..a50294f
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_plat.h
 @@ -0,0 +1,1018 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_plat.h
 @@ -0,0 +1,1018 @@
@@ -15230,9 +15171,6 @@ index 0000000..a50294f
 +
 +#endif //__IFXUSB_PLAT_H__
 +
 +
 +#endif //__IFXUSB_PLAT_H__
 +
-diff --git a/drivers/usb/ifxhcd/ifxusb_regs.h b/drivers/usb/ifxhcd/ifxusb_regs.h
-new file mode 100644
-index 0000000..014c6db
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_regs.h
 @@ -0,0 +1,1420 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_regs.h
 @@ -0,0 +1,1420 @@
@@ -16656,9 +16594,6 @@ index 0000000..014c6db
 +/****************************************************************************/
 +
 +#endif //__IFXUSB_REGS_H__
 +/****************************************************************************/
 +
 +#endif //__IFXUSB_REGS_H__
-diff --git a/drivers/usb/ifxhcd/ifxusb_version.h b/drivers/usb/ifxhcd/ifxusb_version.h
-new file mode 100644
-index 0000000..2dff735
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_version.h
 @@ -0,0 +1,5 @@
 --- /dev/null
 +++ b/drivers/usb/ifxhcd/ifxusb_version.h
 @@ -0,0 +1,5 @@
@@ -16667,6 +16602,3 @@ index 0000000..2dff735
 +#define IFXUSB_VERSION "3.0alpha B100312"
 +#endif
 +
 +#define IFXUSB_VERSION "3.0alpha B100312"
 +#endif
 +
--- 
-1.7.7.1
-
index e8b9318afafe197dd214ed550b9717a1641bb295..1769c49d8d5a17e70717ea146304b1e19d749537 100644 (file)
@@ -8,9 +8,6 @@ Subject: [PATCH 51/70] MIPS: adds gptu driver
  1 files changed, 176 insertions(+), 0 deletions(-)
  create mode 100644 arch/mips/lantiq/xway/gptu.c
 
  1 files changed, 176 insertions(+), 0 deletions(-)
  create mode 100644 arch/mips/lantiq/xway/gptu.c
 
-diff --git a/arch/mips/lantiq/xway/gptu.c b/arch/mips/lantiq/xway/gptu.c
-new file mode 100644
-index 0000000..ac82c37
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/gptu.c
 @@ -0,0 +1,176 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/xway/gptu.c
 @@ -0,0 +1,176 @@
@@ -190,6 +187,3 @@ index 0000000..ac82c37
 +}
 +
 +arch_initcall(gptu_setup);
 +}
 +
 +arch_initcall(gptu_setup);
--- 
-1.7.7.1
-
index 5c1cb5579b2c57a8f96c328b372701ff6f779dfd..37d9da57f94661ac38303861b8b4d6a89798eba3 100644 (file)
@@ -10,11 +10,9 @@ Subject: [PATCH 52/70] MIPS: lantiq: pci: rename variable inside
  arch/mips/pci/pci-lantiq.h |    2 +-
  3 files changed, 7 insertions(+), 7 deletions(-)
 
  arch/mips/pci/pci-lantiq.h |    2 +-
  3 files changed, 7 insertions(+), 7 deletions(-)
 
-diff --git a/arch/mips/pci/ops-lantiq.c b/arch/mips/pci/ops-lantiq.c
-index 1f2afb5..5cbb0cf 100644
 --- a/arch/mips/pci/ops-lantiq.c
 +++ b/arch/mips/pci/ops-lantiq.c
 --- a/arch/mips/pci/ops-lantiq.c
 +++ b/arch/mips/pci/ops-lantiq.c
-@@ -41,7 +41,7 @@ static int ltq_pci_config_access(unsigned char access_type, struct pci_bus *bus,
+@@ -41,7 +41,7 @@ static int ltq_pci_config_access(unsigne
  
        spin_lock_irqsave(&ebu_lock, flags);
  
  
        spin_lock_irqsave(&ebu_lock, flags);
  
@@ -23,7 +21,7 @@ index 1f2afb5..5cbb0cf 100644
        cfg_base |= (bus->number << LTQ_PCI_CFG_BUSNUM_SHF) | (devfn <<
                        LTQ_PCI_CFG_FUNNUM_SHF) | (where & ~0x3);
  
        cfg_base |= (bus->number << LTQ_PCI_CFG_BUSNUM_SHF) | (devfn <<
                        LTQ_PCI_CFG_FUNNUM_SHF) | (where & ~0x3);
  
-@@ -55,11 +55,11 @@ static int ltq_pci_config_access(unsigned char access_type, struct pci_bus *bus,
+@@ -55,11 +55,11 @@ static int ltq_pci_config_access(unsigne
        wmb();
  
        /* clean possible Master abort */
        wmb();
  
        /* clean possible Master abort */
@@ -37,8 +35,6 @@ index 1f2afb5..5cbb0cf 100644
        cfg_base |= (0x68 << LTQ_PCI_CFG_FUNNUM_SHF) + 4;
        ltq_w32(temp, ((u32 *)cfg_base));
  
        cfg_base |= (0x68 << LTQ_PCI_CFG_FUNNUM_SHF) + 4;
        ltq_w32(temp, ((u32 *)cfg_base));
  
-diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c
-index 47b551c..efcdd45 100644
 --- a/arch/mips/pci/pci-lantiq.c
 +++ b/arch/mips/pci/pci-lantiq.c
 @@ -65,8 +65,8 @@
 --- a/arch/mips/pci/pci-lantiq.c
 +++ b/arch/mips/pci/pci-lantiq.c
 @@ -65,8 +65,8 @@
@@ -52,7 +48,7 @@ index 47b551c..efcdd45 100644
  
  struct ltq_pci_gpio_map {
        int pin;
  
  struct ltq_pci_gpio_map {
        int pin;
-@@ -273,7 +273,7 @@ static int __devinit ltq_pci_probe(struct platform_device *pdev)
+@@ -273,7 +273,7 @@ static int __devinit ltq_pci_probe(struc
        pci_probe_only = 0;
        ltq_pci_irq_map = ltq_pci_data->irq;
        ltq_pci_membase = ioremap_nocache(PCI_CR_BASE_ADDR, PCI_CR_SIZE);
        pci_probe_only = 0;
        ltq_pci_irq_map = ltq_pci_data->irq;
        ltq_pci_membase = ioremap_nocache(PCI_CR_BASE_ADDR, PCI_CR_SIZE);
@@ -61,8 +57,6 @@ index 47b551c..efcdd45 100644
                ioremap_nocache(LTQ_PCI_CFG_BASE, LTQ_PCI_CFG_BASE);
        ltq_pci_controller.io_map_base =
                (unsigned long)ioremap(LTQ_PCI_IO_BASE, LTQ_PCI_IO_SIZE - 1);
                ioremap_nocache(LTQ_PCI_CFG_BASE, LTQ_PCI_CFG_BASE);
        ltq_pci_controller.io_map_base =
                (unsigned long)ioremap(LTQ_PCI_IO_BASE, LTQ_PCI_IO_SIZE - 1);
-diff --git a/arch/mips/pci/pci-lantiq.h b/arch/mips/pci/pci-lantiq.h
-index 66bf6cd..c4721b4 100644
 --- a/arch/mips/pci/pci-lantiq.h
 +++ b/arch/mips/pci/pci-lantiq.h
 @@ -9,7 +9,7 @@
 --- a/arch/mips/pci/pci-lantiq.h
 +++ b/arch/mips/pci/pci-lantiq.h
 @@ -9,7 +9,7 @@
@@ -74,6 +68,3 @@ index 66bf6cd..c4721b4 100644
  extern int ltq_pci_read_config_dword(struct pci_bus *bus,
        unsigned int devfn, int where, int size, u32 *val);
  extern int ltq_pci_write_config_dword(struct pci_bus *bus,
  extern int ltq_pci_read_config_dword(struct pci_bus *bus,
        unsigned int devfn, int where, int size, u32 *val);
  extern int ltq_pci_write_config_dword(struct pci_bus *bus,
--- 
-1.7.7.1
-
index fd5ba070c76fb4e40d97bc71cf5f337495ced3aa..0455801a089ac847d3ace39b384f6fc8bd84c111 100644 (file)
@@ -9,8 +9,6 @@ Subject: [PATCH 53/70] MIPS: lantiq: pci: give xway pci support its own
  arch/mips/pci/Makefile   |    2 +-
  2 files changed, 6 insertions(+), 1 deletions(-)
 
  arch/mips/pci/Makefile   |    2 +-
  2 files changed, 6 insertions(+), 1 deletions(-)
 
-diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig
-index cb6b39f..dde9fc6 100644
 --- a/arch/mips/lantiq/Kconfig
 +++ b/arch/mips/lantiq/Kconfig
 @@ -19,8 +19,13 @@ config SOC_XWAY
 --- a/arch/mips/lantiq/Kconfig
 +++ b/arch/mips/lantiq/Kconfig
 @@ -19,8 +19,13 @@ config SOC_XWAY
@@ -27,11 +25,9 @@ index cb6b39f..dde9fc6 100644
  source "arch/mips/lantiq/xway/Kconfig"
  source "arch/mips/lantiq/falcon/Kconfig"
  
  source "arch/mips/lantiq/xway/Kconfig"
  source "arch/mips/lantiq/falcon/Kconfig"
  
-diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile
-index bb82cbd..afad91d 100644
 --- a/arch/mips/pci/Makefile
 +++ b/arch/mips/pci/Makefile
 --- a/arch/mips/pci/Makefile
 +++ b/arch/mips/pci/Makefile
-@@ -40,7 +40,7 @@ obj-$(CONFIG_SIBYTE_SB1250)  += fixup-sb1250.o pci-sb1250.o
+@@ -40,7 +40,7 @@ obj-$(CONFIG_SIBYTE_SB1250)  += fixup-sb1
  obj-$(CONFIG_SIBYTE_BCM112X)  += fixup-sb1250.o pci-sb1250.o
  obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1480.o pci-bcm1480ht.o
  obj-$(CONFIG_SNI_RM)          += fixup-sni.o ops-sni.o
  obj-$(CONFIG_SIBYTE_BCM112X)  += fixup-sb1250.o pci-sb1250.o
  obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1480.o pci-bcm1480ht.o
  obj-$(CONFIG_SNI_RM)          += fixup-sni.o ops-sni.o
@@ -40,6 +36,3 @@ index bb82cbd..afad91d 100644
  obj-$(CONFIG_TANBAC_TB0219)   += fixup-tb0219.o
  obj-$(CONFIG_TANBAC_TB0226)   += fixup-tb0226.o
  obj-$(CONFIG_TANBAC_TB0287)   += fixup-tb0287.o
  obj-$(CONFIG_TANBAC_TB0219)   += fixup-tb0219.o
  obj-$(CONFIG_TANBAC_TB0226)   += fixup-tb0226.o
  obj-$(CONFIG_TANBAC_TB0287)   += fixup-tb0287.o
--- 
-1.7.7.1
-
index 500b224d5f48054c176e3cd786eda72f67da1980..dba323da9afbf2d8a0750779b73685211364e716 100644 (file)
@@ -11,11 +11,9 @@ Subject: [PATCH 54/70] MIPS: lantiq: pci: move pcibios code into
  3 files changed, 45 insertions(+), 22 deletions(-)
  create mode 100644 arch/mips/pci/fixup-lantiq.c
 
  3 files changed, 45 insertions(+), 22 deletions(-)
  create mode 100644 arch/mips/pci/fixup-lantiq.c
 
-diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile
-index afad91d..3ca5f75 100644
 --- a/arch/mips/pci/Makefile
 +++ b/arch/mips/pci/Makefile
 --- a/arch/mips/pci/Makefile
 +++ b/arch/mips/pci/Makefile
-@@ -40,6 +40,7 @@ obj-$(CONFIG_SIBYTE_SB1250)  += fixup-sb1250.o pci-sb1250.o
+@@ -40,6 +40,7 @@ obj-$(CONFIG_SIBYTE_SB1250)  += fixup-sb1
  obj-$(CONFIG_SIBYTE_BCM112X)  += fixup-sb1250.o pci-sb1250.o
  obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1480.o pci-bcm1480ht.o
  obj-$(CONFIG_SNI_RM)          += fixup-sni.o ops-sni.o
  obj-$(CONFIG_SIBYTE_BCM112X)  += fixup-sb1250.o pci-sb1250.o
  obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1480.o pci-bcm1480ht.o
  obj-$(CONFIG_SNI_RM)          += fixup-sni.o ops-sni.o
@@ -23,9 +21,6 @@ index afad91d..3ca5f75 100644
  obj-$(CONFIG_PCI_LANTIQ)      += pci-lantiq.o ops-lantiq.o
  obj-$(CONFIG_TANBAC_TB0219)   += fixup-tb0219.o
  obj-$(CONFIG_TANBAC_TB0226)   += fixup-tb0226.o
  obj-$(CONFIG_PCI_LANTIQ)      += pci-lantiq.o ops-lantiq.o
  obj-$(CONFIG_TANBAC_TB0219)   += fixup-tb0219.o
  obj-$(CONFIG_TANBAC_TB0226)   += fixup-tb0226.o
-diff --git a/arch/mips/pci/fixup-lantiq.c b/arch/mips/pci/fixup-lantiq.c
-new file mode 100644
-index 0000000..daf5ae9
 --- /dev/null
 +++ b/arch/mips/pci/fixup-lantiq.c
 @@ -0,0 +1,42 @@
 --- /dev/null
 +++ b/arch/mips/pci/fixup-lantiq.c
 @@ -0,0 +1,42 @@
@@ -71,11 +66,9 @@ index 0000000..daf5ae9
 +}
 +
 +
 +}
 +
 +
-diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c
-index efcdd45..7a29738 100644
 --- a/arch/mips/pci/pci-lantiq.c
 +++ b/arch/mips/pci/pci-lantiq.c
 --- a/arch/mips/pci/pci-lantiq.c
 +++ b/arch/mips/pci/pci-lantiq.c
-@@ -93,16 +93,14 @@ static struct ltq_pci_gpio_map ltq_pci_gpio_map[] = {
+@@ -93,16 +93,14 @@ static struct ltq_pci_gpio_map ltq_pci_g
        { 37, 2, 0, "pci-req4" },
  };
  
        { 37, 2, 0, "pci-req4" },
  };
  
@@ -94,7 +87,7 @@ index efcdd45..7a29738 100644
  
  struct pci_ops ltq_pci_ops = {
        .read   = ltq_pci_read_config_dword,
  
  struct pci_ops ltq_pci_ops = {
        .read   = ltq_pci_read_config_dword,
-@@ -131,14 +129,6 @@ static struct pci_controller ltq_pci_controller = {
+@@ -131,14 +129,6 @@ static struct pci_controller ltq_pci_con
        .io_offset      = 0x00000000UL,
  };
  
        .io_offset      = 0x00000000UL,
  };
  
@@ -109,7 +102,7 @@ index efcdd45..7a29738 100644
  static u32 ltq_calc_bar11mask(void)
  {
        u32 mem, bar11mask;
  static u32 ltq_calc_bar11mask(void)
  {
        u32 mem, bar11mask;
-@@ -256,16 +246,6 @@ static int __devinit ltq_pci_startup(struct device *dev)
+@@ -256,16 +246,6 @@ static int __devinit ltq_pci_startup(str
        return 0;
  }
  
        return 0;
  }
  
@@ -126,6 +119,3 @@ index efcdd45..7a29738 100644
  static int __devinit ltq_pci_probe(struct platform_device *pdev)
  {
        struct ltq_pci_data *ltq_pci_data =
  static int __devinit ltq_pci_probe(struct platform_device *pdev)
  {
        struct ltq_pci_data *ltq_pci_data =
--- 
-1.7.7.1
-
index 85766a7767ec7549ae8833016c72714cd2c3f6e3..1b57cf60338d5e8feb1cb63f81e287febfbd18c4 100644 (file)
@@ -21,11 +21,9 @@ Subject: [PATCH 55/70]  MIPS: lantiq: pcie: add pcie driver
  create mode 100644 arch/mips/pci/pcie-lantiq.c
  create mode 100644 arch/mips/pci/pcie-lantiq.h
 
  create mode 100644 arch/mips/pci/pcie-lantiq.c
  create mode 100644 arch/mips/pci/pcie-lantiq.h
 
-diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
-index 1b78cd7..bbaff9b 100644
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
-@@ -2329,6 +2329,7 @@ config PCI_DOMAINS
+@@ -2353,6 +2353,7 @@ config PCI_DOMAINS
        bool
  
  source "drivers/pci/Kconfig"
        bool
  
  source "drivers/pci/Kconfig"
@@ -33,8 +31,6 @@ index 1b78cd7..bbaff9b 100644
  
  #
  # ISA support is now enabled via select.  Too many systems still have the one
  
  #
  # ISA support is now enabled via select.  Too many systems still have the one
-diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig
-index dde9fc6..d21d9d4 100644
 --- a/arch/mips/lantiq/Kconfig
 +++ b/arch/mips/lantiq/Kconfig
 @@ -22,10 +22,6 @@ config SOC_FALCON
 --- a/arch/mips/lantiq/Kconfig
 +++ b/arch/mips/lantiq/Kconfig
 @@ -22,10 +22,6 @@ config SOC_FALCON
@@ -48,8 +44,6 @@ index dde9fc6..d21d9d4 100644
  source "arch/mips/lantiq/xway/Kconfig"
  source "arch/mips/lantiq/falcon/Kconfig"
  
  source "arch/mips/lantiq/xway/Kconfig"
  source "arch/mips/lantiq/falcon/Kconfig"
  
-diff --git a/arch/mips/lantiq/xway/Kconfig b/arch/mips/lantiq/xway/Kconfig
-index 2b857de..54a51ff 100644
 --- a/arch/mips/lantiq/xway/Kconfig
 +++ b/arch/mips/lantiq/xway/Kconfig
 @@ -8,6 +8,27 @@ config LANTIQ_MACH_EASY50712
 --- a/arch/mips/lantiq/xway/Kconfig
 +++ b/arch/mips/lantiq/xway/Kconfig
 @@ -8,6 +8,27 @@ config LANTIQ_MACH_EASY50712
@@ -80,11 +74,9 @@ index 2b857de..54a51ff 100644
  endif
  
  if SOC_AMAZON_SE
  endif
  
  if SOC_AMAZON_SE
-diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile
-index 3ca5f75..3386888 100644
 --- a/arch/mips/pci/Makefile
 +++ b/arch/mips/pci/Makefile
 --- a/arch/mips/pci/Makefile
 +++ b/arch/mips/pci/Makefile
-@@ -42,6 +42,8 @@ obj-$(CONFIG_SIBYTE_BCM1x80) += pci-bcm1480.o pci-bcm1480ht.o
+@@ -42,6 +42,8 @@ obj-$(CONFIG_SIBYTE_BCM1x80) += pci-bcm1
  obj-$(CONFIG_SNI_RM)          += fixup-sni.o ops-sni.o
  obj-$(CONFIG_LANTIQ)          += fixup-lantiq.o
  obj-$(CONFIG_PCI_LANTIQ)      += pci-lantiq.o ops-lantiq.o
  obj-$(CONFIG_SNI_RM)          += fixup-sni.o ops-sni.o
  obj-$(CONFIG_LANTIQ)          += fixup-lantiq.o
  obj-$(CONFIG_PCI_LANTIQ)      += pci-lantiq.o ops-lantiq.o
@@ -93,9 +85,6 @@ index 3ca5f75..3386888 100644
  obj-$(CONFIG_TANBAC_TB0219)   += fixup-tb0219.o
  obj-$(CONFIG_TANBAC_TB0226)   += fixup-tb0226.o
  obj-$(CONFIG_TANBAC_TB0287)   += fixup-tb0287.o
  obj-$(CONFIG_TANBAC_TB0219)   += fixup-tb0219.o
  obj-$(CONFIG_TANBAC_TB0226)   += fixup-tb0226.o
  obj-$(CONFIG_TANBAC_TB0287)   += fixup-tb0287.o
-diff --git a/arch/mips/pci/fixup-lantiq-pcie.c b/arch/mips/pci/fixup-lantiq-pcie.c
-new file mode 100644
-index 0000000..84517df
 --- /dev/null
 +++ b/arch/mips/pci/fixup-lantiq-pcie.c
 @@ -0,0 +1,81 @@
 --- /dev/null
 +++ b/arch/mips/pci/fixup-lantiq-pcie.c
 @@ -0,0 +1,81 @@
@@ -180,8 +169,6 @@ index 0000000..84517df
 +
 +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LANTIQ, PCI_DEVICE_ID_LANTIQ_PCIE,
 +     ifx_pcie_rc_class_early_fixup);
 +
 +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LANTIQ, PCI_DEVICE_ID_LANTIQ_PCIE,
 +     ifx_pcie_rc_class_early_fixup);
-diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
-index 41af7fa..2239cda 100644
 --- a/arch/mips/pci/pci.c
 +++ b/arch/mips/pci/pci.c
 @@ -167,6 +167,31 @@ static int __init pcibios_init(void)
 --- a/arch/mips/pci/pci.c
 +++ b/arch/mips/pci/pci.c
 @@ -167,6 +167,31 @@ static int __init pcibios_init(void)
@@ -216,9 +203,6 @@ index 41af7fa..2239cda 100644
  static int pcibios_enable_resources(struct pci_dev *dev, int mask)
  {
        u16 cmd, old_cmd;
  static int pcibios_enable_resources(struct pci_dev *dev, int mask)
  {
        u16 cmd, old_cmd;
-diff --git a/arch/mips/pci/pcie-lantiq-msi.c b/arch/mips/pci/pcie-lantiq-msi.c
-new file mode 100644
-index 0000000..9cbf639
 --- /dev/null
 +++ b/arch/mips/pci/pcie-lantiq-msi.c
 @@ -0,0 +1,399 @@
 --- /dev/null
 +++ b/arch/mips/pci/pcie-lantiq-msi.c
 @@ -0,0 +1,399 @@
@@ -621,9 +605,6 @@ index 0000000..9cbf639
 +MODULE_SUPPORTED_DEVICE("Infineon PCIe IP builtin MSI PIC module");
 +MODULE_DESCRIPTION("Infineon PCIe IP builtin MSI PIC driver");
 +
 +MODULE_SUPPORTED_DEVICE("Infineon PCIe IP builtin MSI PIC module");
 +MODULE_DESCRIPTION("Infineon PCIe IP builtin MSI PIC driver");
 +
-diff --git a/arch/mips/pci/pcie-lantiq-phy.c b/arch/mips/pci/pcie-lantiq-phy.c
-new file mode 100644
-index 0000000..9f5027d
 --- /dev/null
 +++ b/arch/mips/pci/pcie-lantiq-phy.c
 @@ -0,0 +1,408 @@
 --- /dev/null
 +++ b/arch/mips/pci/pcie-lantiq-phy.c
 @@ -0,0 +1,408 @@
@@ -1035,9 +1016,6 @@ index 0000000..9f5027d
 +#endif
 +}
 +
 +#endif
 +}
 +
-diff --git a/arch/mips/pci/pcie-lantiq.c b/arch/mips/pci/pcie-lantiq.c
-new file mode 100644
-index 0000000..1df55b5
 --- /dev/null
 +++ b/arch/mips/pci/pcie-lantiq.c
 @@ -0,0 +1,1146 @@
 --- /dev/null
 +++ b/arch/mips/pci/pcie-lantiq.c
 @@ -0,0 +1,1146 @@
@@ -2187,9 +2165,6 @@ index 0000000..1df55b5
 +}
 +
 +arch_initcall(pciebios_init);
 +}
 +
 +arch_initcall(pciebios_init);
-diff --git a/arch/mips/pci/pcie-lantiq.h b/arch/mips/pci/pcie-lantiq.h
-new file mode 100644
-index 0000000..d877c23
 --- /dev/null
 +++ b/arch/mips/pci/pcie-lantiq.h
 @@ -0,0 +1,1305 @@
 --- /dev/null
 +++ b/arch/mips/pci/pcie-lantiq.h
 @@ -0,0 +1,1305 @@
@@ -3498,6 +3473,3 @@ index 0000000..d877c23
 +
 +#endif /* IFXMIPS_PCIE_VR9_H */
 +
 +
 +#endif /* IFXMIPS_PCIE_VR9_H */
 +
--- 
-1.7.7.1
-
index 295e7acb968d2f4a03aa835a6c2fca7716c5089f..4a5d8a69a95ce9a3a6a06c57d0b5a7be0b097615 100644 (file)
@@ -18,8 +18,6 @@ Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
  arch/mips/lantiq/xway/gpio_stp.c                   |    3 +-
  5 files changed, 75 insertions(+), 20 deletions(-)
 
  arch/mips/lantiq/xway/gpio_stp.c                   |    3 +-
  5 files changed, 75 insertions(+), 20 deletions(-)
 
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index d1b8cc8..bfdeb16 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -126,7 +126,9 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -126,7 +126,9 @@
@@ -32,11 +30,9 @@ index d1b8cc8..bfdeb16 100644
  
  /* SSC */
  #define LTQ_SSC_BASE_ADDR     0x1e100800
  
  /* SSC */
  #define LTQ_SSC_BASE_ADDR     0x1e100800
-diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c
-index 5efa4f3..e6d45bc 100644
 --- a/arch/mips/lantiq/xway/devices.c
 +++ b/arch/mips/lantiq/xway/devices.c
 --- a/arch/mips/lantiq/xway/devices.c
 +++ b/arch/mips/lantiq/xway/devices.c
-@@ -34,6 +34,7 @@ static struct resource ltq_gpio_resource[] = {
+@@ -34,6 +34,7 @@ static struct resource ltq_gpio_resource
        MEM_RES("gpio0", LTQ_GPIO0_BASE_ADDR, LTQ_GPIO_SIZE),
        MEM_RES("gpio1", LTQ_GPIO1_BASE_ADDR, LTQ_GPIO_SIZE),
        MEM_RES("gpio2", LTQ_GPIO2_BASE_ADDR, LTQ_GPIO_SIZE),
        MEM_RES("gpio0", LTQ_GPIO0_BASE_ADDR, LTQ_GPIO_SIZE),
        MEM_RES("gpio1", LTQ_GPIO1_BASE_ADDR, LTQ_GPIO_SIZE),
        MEM_RES("gpio2", LTQ_GPIO2_BASE_ADDR, LTQ_GPIO_SIZE),
@@ -53,8 +49,6 @@ index 5efa4f3..e6d45bc 100644
        }
  }
  
        }
  }
  
-diff --git a/arch/mips/lantiq/xway/gpio.c b/arch/mips/lantiq/xway/gpio.c
-index 54ec6c9..375329b 100644
 --- a/arch/mips/lantiq/xway/gpio.c
 +++ b/arch/mips/lantiq/xway/gpio.c
 @@ -23,9 +23,17 @@
 --- a/arch/mips/lantiq/xway/gpio.c
 +++ b/arch/mips/lantiq/xway/gpio.c
 @@ -23,9 +23,17 @@
@@ -76,7 +70,7 @@ index 54ec6c9..375329b 100644
  
  #define ltq_gpio_getbit(m, r, p)      (!!(ltq_r32(m + r) & (1 << p)))
  #define ltq_gpio_setbit(m, r, p)      ltq_w32_mask(0, (1 << p), m + r)
  
  #define ltq_gpio_getbit(m, r, p)      (!!(ltq_r32(m + r) & (1 << p)))
  #define ltq_gpio_setbit(m, r, p)      ltq_w32_mask(0, (1 << p), m + r)
-@@ -55,7 +63,7 @@ int ltq_gpio_request(struct device *dev, unsigned int pin, unsigned int mux,
+@@ -55,7 +63,7 @@ int ltq_gpio_request(struct device *dev,
  {
        int id = 0;
  
  {
        int id = 0;
  
@@ -85,7 +79,7 @@ index 54ec6c9..375329b 100644
                return -EINVAL;
        if (devm_gpio_request(dev, pin, name)) {
                pr_err("failed to setup lantiq gpio: %s\n", name);
                return -EINVAL;
        if (devm_gpio_request(dev, pin, name)) {
                pr_err("failed to setup lantiq gpio: %s\n", name);
-@@ -75,12 +83,21 @@ int ltq_gpio_request(struct device *dev, unsigned int pin, unsigned int mux,
+@@ -75,12 +83,21 @@ int ltq_gpio_request(struct device *dev,
        else
                ltq_gpio_clearbit(ltq_gpio_port[id].membase,
                        LTQ_GPIO_ALTSEL0, pin);
        else
                ltq_gpio_clearbit(ltq_gpio_port[id].membase,
                        LTQ_GPIO_ALTSEL0, pin);
@@ -113,7 +107,7 @@ index 54ec6c9..375329b 100644
        return 0;
  }
  EXPORT_SYMBOL(ltq_gpio_request);
        return 0;
  }
  EXPORT_SYMBOL(ltq_gpio_request);
-@@ -106,10 +123,19 @@ static int ltq_gpio_direction_input(struct gpio_chip *chip, unsigned int offset)
+@@ -106,10 +123,19 @@ static int ltq_gpio_direction_input(stru
  {
        struct ltq_gpio *ltq_gpio = container_of(chip, struct ltq_gpio, chip);
  
  {
        struct ltq_gpio *ltq_gpio = container_of(chip, struct ltq_gpio, chip);
  
@@ -136,7 +130,7 @@ index 54ec6c9..375329b 100644
  
        return 0;
  }
  
        return 0;
  }
-@@ -119,10 +145,19 @@ static int ltq_gpio_direction_output(struct gpio_chip *chip,
+@@ -119,10 +145,19 @@ static int ltq_gpio_direction_output(str
  {
        struct ltq_gpio *ltq_gpio = container_of(chip, struct ltq_gpio, chip);
  
  {
        struct ltq_gpio *ltq_gpio = container_of(chip, struct ltq_gpio, chip);
  
@@ -159,7 +153,7 @@ index 54ec6c9..375329b 100644
        ltq_gpio_set(chip, offset, value);
  
        return 0;
        ltq_gpio_set(chip, offset, value);
  
        return 0;
-@@ -133,7 +168,11 @@ static int ltq_gpio_req(struct gpio_chip *chip, unsigned offset)
+@@ -133,7 +168,11 @@ static int ltq_gpio_req(struct gpio_chip
        struct ltq_gpio *ltq_gpio = container_of(chip, struct ltq_gpio, chip);
  
        ltq_gpio_clearbit(ltq_gpio->membase, LTQ_GPIO_ALTSEL0, offset);
        struct ltq_gpio *ltq_gpio = container_of(chip, struct ltq_gpio, chip);
  
        ltq_gpio_clearbit(ltq_gpio->membase, LTQ_GPIO_ALTSEL0, offset);
@@ -172,7 +166,7 @@ index 54ec6c9..375329b 100644
        return 0;
  }
  
        return 0;
  }
  
-@@ -146,6 +185,16 @@ static int ltq_gpio_probe(struct platform_device *pdev)
+@@ -146,6 +185,16 @@ static int ltq_gpio_probe(struct platfor
                        pdev->id);
                return -EINVAL;
        }
                        pdev->id);
                return -EINVAL;
        }
@@ -189,7 +183,7 @@ index 54ec6c9..375329b 100644
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        if (!res) {
                dev_err(&pdev->dev, "failed to get memory for gpio port %d\n",
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        if (!res) {
                dev_err(&pdev->dev, "failed to get memory for gpio port %d\n",
-@@ -175,7 +224,10 @@ static int ltq_gpio_probe(struct platform_device *pdev)
+@@ -175,7 +224,10 @@ static int ltq_gpio_probe(struct platfor
        ltq_gpio_port[pdev->id].chip.set = ltq_gpio_set;
        ltq_gpio_port[pdev->id].chip.request = ltq_gpio_req;
        ltq_gpio_port[pdev->id].chip.base = PINS_PER_PORT * pdev->id;
        ltq_gpio_port[pdev->id].chip.set = ltq_gpio_set;
        ltq_gpio_port[pdev->id].chip.request = ltq_gpio_req;
        ltq_gpio_port[pdev->id].chip.base = PINS_PER_PORT * pdev->id;
@@ -201,8 +195,6 @@ index 54ec6c9..375329b 100644
        platform_set_drvdata(pdev, &ltq_gpio_port[pdev->id]);
        return gpiochip_add(&ltq_gpio_port[pdev->id].chip);
  }
        platform_set_drvdata(pdev, &ltq_gpio_port[pdev->id]);
        return gpiochip_add(&ltq_gpio_port[pdev->id].chip);
  }
-diff --git a/arch/mips/lantiq/xway/gpio_ebu.c b/arch/mips/lantiq/xway/gpio_ebu.c
-index b91c7f1..bc5696b 100644
 --- a/arch/mips/lantiq/xway/gpio_ebu.c
 +++ b/arch/mips/lantiq/xway/gpio_ebu.c
 @@ -61,9 +61,8 @@ static struct gpio_chip ltq_ebu_chip = {
 --- a/arch/mips/lantiq/xway/gpio_ebu.c
 +++ b/arch/mips/lantiq/xway/gpio_ebu.c
 @@ -61,9 +61,8 @@ static struct gpio_chip ltq_ebu_chip = {
@@ -216,8 +208,6 @@ index b91c7f1..bc5696b 100644
        .owner = THIS_MODULE,
  };
  
        .owner = THIS_MODULE,
  };
  
-diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c
-index da91c5e..9610c10 100644
 --- a/arch/mips/lantiq/xway/gpio_stp.c
 +++ b/arch/mips/lantiq/xway/gpio_stp.c
 @@ -74,9 +74,8 @@ static struct gpio_chip ltq_stp_chip = {
 --- a/arch/mips/lantiq/xway/gpio_stp.c
 +++ b/arch/mips/lantiq/xway/gpio_stp.c
 @@ -74,9 +74,8 @@ static struct gpio_chip ltq_stp_chip = {
@@ -231,6 +221,3 @@ index da91c5e..9610c10 100644
        .owner = THIS_MODULE,
  };
  
        .owner = THIS_MODULE,
  };
  
--- 
-1.7.7.1
-
index a1320d6073e10b4cd6665a18a4a2ca346651b61f..b145c9d7c6d7ff4f3534ed29a09f49f270f91a88 100644 (file)
@@ -17,11 +17,9 @@ Subject: [PATCH 57/70] MIPS: lantiq: VPE extensions
  create mode 100644 arch/mips/kernel/mtsched_proc.c
  create mode 100644 arch/mips/kernel/perf_proc.c
 
  create mode 100644 arch/mips/kernel/mtsched_proc.c
  create mode 100644 arch/mips/kernel/perf_proc.c
 
-diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
-index bbaff9b..902aedb 100644
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
-@@ -1897,6 +1897,28 @@ config MIPS_VPE_LOADER
+@@ -1909,6 +1909,28 @@ config MIPS_VPE_LOADER
          Includes a loader for loading an elf relocatable object
          onto another VPE and running it.
  
          Includes a loader for loading an elf relocatable object
          onto another VPE and running it.
  
@@ -50,8 +48,6 @@ index bbaff9b..902aedb 100644
  config MIPS_MT_SMTC_IM_BACKSTOP
        bool "Use per-TC register bits as backstop for inhibited IM bits"
        depends on MIPS_MT_SMTC
  config MIPS_MT_SMTC_IM_BACKSTOP
        bool "Use per-TC register bits as backstop for inhibited IM bits"
        depends on MIPS_MT_SMTC
-diff --git a/arch/mips/include/asm/mipsmtregs.h b/arch/mips/include/asm/mipsmtregs.h
-index c9420aa..04bfb4b 100644
 --- a/arch/mips/include/asm/mipsmtregs.h
 +++ b/arch/mips/include/asm/mipsmtregs.h
 @@ -28,14 +28,34 @@
 --- a/arch/mips/include/asm/mipsmtregs.h
 +++ b/arch/mips/include/asm/mipsmtregs.h
 @@ -28,14 +28,34 @@
@@ -161,11 +157,9 @@ index c9420aa..04bfb4b 100644
  
  /* GPR */
  #define read_tc_gpr_sp()              mftgpr(29)
  
  /* GPR */
  #define read_tc_gpr_sp()              mftgpr(29)
-diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
-index 1a96618..bc5989e 100644
 --- a/arch/mips/kernel/Makefile
 +++ b/arch/mips/kernel/Makefile
 --- a/arch/mips/kernel/Makefile
 +++ b/arch/mips/kernel/Makefile
-@@ -88,7 +88,8 @@ obj-$(CONFIG_MIPS32_O32)     += binfmt_elfo32.o scall64-o32.o
+@@ -88,7 +88,8 @@ obj-$(CONFIG_MIPS32_O32)     += binfmt_elfo3
  
  obj-$(CONFIG_KGDB)            += kgdb.o
  obj-$(CONFIG_PROC_FS)         += proc.o
  
  obj-$(CONFIG_KGDB)            += kgdb.o
  obj-$(CONFIG_PROC_FS)         += proc.o
@@ -175,8 +169,6 @@ index 1a96618..bc5989e 100644
  obj-$(CONFIG_64BIT)           += cpu-bugs64.o
  
  obj-$(CONFIG_I8253)           += i8253.o
  obj-$(CONFIG_64BIT)           += cpu-bugs64.o
  
  obj-$(CONFIG_I8253)           += i8253.o
-diff --git a/arch/mips/kernel/mips-mt.c b/arch/mips/kernel/mips-mt.c
-index c23d11f..11d6489 100644
 --- a/arch/mips/kernel/mips-mt.c
 +++ b/arch/mips/kernel/mips-mt.c
 @@ -21,26 +21,96 @@
 --- a/arch/mips/kernel/mips-mt.c
 +++ b/arch/mips/kernel/mips-mt.c
 @@ -21,26 +21,96 @@
@@ -281,7 +273,7 @@ index c23d11f..11d6489 100644
  
  /*
   * Dump new MIPS MT state for the core. Does not leave TCs halted.
  
  /*
   * Dump new MIPS MT state for the core. Does not leave TCs halted.
-@@ -78,18 +148,18 @@ void mips_mt_regdump(unsigned long mvpctl)
+@@ -78,18 +148,18 @@ void mips_mt_regdump(unsigned long mvpct
                        if ((read_tc_c0_tcbind() & TCBIND_CURVPE) == i) {
                                printk("  VPE %d\n", i);
                                printk("   VPEControl : %08lx\n",
                        if ((read_tc_c0_tcbind() & TCBIND_CURVPE) == i) {
                                printk("  VPE %d\n", i);
                                printk("   VPEControl : %08lx\n",
@@ -317,9 +309,6 @@ index c23d11f..11d6489 100644
  }
  
  /*
  }
  
  /*
-diff --git a/arch/mips/kernel/mtsched_proc.c b/arch/mips/kernel/mtsched_proc.c
-new file mode 100644
-index 0000000..4dafded
 --- /dev/null
 +++ b/arch/mips/kernel/mtsched_proc.c
 @@ -0,0 +1,279 @@
 --- /dev/null
 +++ b/arch/mips/kernel/mtsched_proc.c
 @@ -0,0 +1,279 @@
@@ -602,9 +591,6 @@ index 0000000..4dafded
 +
 +/* Automagically create the entry */
 +module_init(init_mtsched_proc);
 +
 +/* Automagically create the entry */
 +module_init(init_mtsched_proc);
-diff --git a/arch/mips/kernel/perf_proc.c b/arch/mips/kernel/perf_proc.c
-new file mode 100644
-index 0000000..7eec015
 --- /dev/null
 +++ b/arch/mips/kernel/perf_proc.c
 @@ -0,0 +1,191 @@
 --- /dev/null
 +++ b/arch/mips/kernel/perf_proc.c
 @@ -0,0 +1,191 @@
@@ -799,8 +785,6 @@ index 0000000..7eec015
 +
 +/* Automagically create the entry */
 +module_init(init_perf_proc);
 +
 +/* Automagically create the entry */
 +module_init(init_perf_proc);
-diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c
-index e309665..2de204f 100644
 --- a/arch/mips/kernel/proc.c
 +++ b/arch/mips/kernel/proc.c
 @@ -7,6 +7,7 @@
 --- a/arch/mips/kernel/proc.c
 +++ b/arch/mips/kernel/proc.c
 @@ -7,6 +7,7 @@
@@ -811,7 +795,7 @@ index e309665..2de204f 100644
  #include <asm/bootinfo.h>
  #include <asm/cpu.h>
  #include <asm/cpu-features.h>
  #include <asm/bootinfo.h>
  #include <asm/cpu.h>
  #include <asm/cpu-features.h>
-@@ -110,3 +111,19 @@ const struct seq_operations cpuinfo_op = {
+@@ -110,3 +111,19 @@ const struct seq_operations cpuinfo_op =
        .stop   = c_stop,
        .show   = show_cpuinfo,
  };
        .stop   = c_stop,
        .show   = show_cpuinfo,
  };
@@ -831,11 +815,9 @@ index e309665..2de204f 100644
 +               mips_proc = proc_mkdir("mips", NULL);
 +       return(mips_proc);
 +}
 +               mips_proc = proc_mkdir("mips", NULL);
 +       return(mips_proc);
 +}
-diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c
-index f0895e7..199e853 100644
 --- a/arch/mips/kernel/smtc.c
 +++ b/arch/mips/kernel/smtc.c
 --- a/arch/mips/kernel/smtc.c
 +++ b/arch/mips/kernel/smtc.c
-@@ -1334,6 +1334,13 @@ void smtc_get_new_mmu_context(struct mm_struct *mm, unsigned long cpu)
+@@ -1334,6 +1334,13 @@ void smtc_get_new_mmu_context(struct mm_
        asid = asid_cache(cpu);
  
        do {
        asid = asid_cache(cpu);
  
        do {
@@ -849,11 +831,9 @@ index f0895e7..199e853 100644
                if (!((asid += ASID_INC) & ASID_MASK) ) {
                        if (cpu_has_vtag_icache)
                                flush_icache_all();
                if (!((asid += ASID_INC) & ASID_MASK) ) {
                        if (cpu_has_vtag_icache)
                                flush_icache_all();
-diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c
-index bfa12a4..e338ba5 100644
 --- a/arch/mips/kernel/vpe.c
 +++ b/arch/mips/kernel/vpe.c
 --- a/arch/mips/kernel/vpe.c
 +++ b/arch/mips/kernel/vpe.c
-@@ -75,6 +75,58 @@ static struct kspd_notifications kspd_events;
+@@ -75,6 +75,58 @@ static struct kspd_notifications kspd_ev
  static int kspd_events_reqd;
  #endif
  
  static int kspd_events_reqd;
  #endif
  
@@ -912,7 +892,7 @@ index bfa12a4..e338ba5 100644
  /* grab the likely amount of memory we will need. */
  #ifdef CONFIG_MIPS_VPE_LOADER_TOM
  #define P_SIZE (2 * 1024 * 1024)
  /* grab the likely amount of memory we will need. */
  #ifdef CONFIG_MIPS_VPE_LOADER_TOM
  #define P_SIZE (2 * 1024 * 1024)
-@@ -267,6 +319,13 @@ static void *alloc_progmem(unsigned long len)
+@@ -267,6 +319,13 @@ static void *alloc_progmem(unsigned long
        void *addr;
  
  #ifdef CONFIG_MIPS_VPE_LOADER_TOM
        void *addr;
  
  #ifdef CONFIG_MIPS_VPE_LOADER_TOM
@@ -960,7 +940,7 @@ index bfa12a4..e338ba5 100644
        /*
         * The sde-kit passes 'memsize' to __start in $a3, so set something
         * here...  Or set $a3 to zero and define DFLT_STACK_SIZE and
        /*
         * The sde-kit passes 'memsize' to __start in $a3, so set something
         * here...  Or set $a3 to zero and define DFLT_STACK_SIZE and
-@@ -832,6 +911,9 @@ static int find_vpe_symbols(struct vpe * v, Elf_Shdr * sechdrs,
+@@ -832,6 +911,9 @@ static int find_vpe_symbols(struct vpe *
        if ( (v->__start == 0) || (v->shared_ptr == NULL))
                return -1;
  
        if ( (v->__start == 0) || (v->shared_ptr == NULL))
                return -1;
  
@@ -986,7 +966,7 @@ index bfa12a4..e338ba5 100644
                if (v->__start == 0) {
                        printk(KERN_WARNING "VPE loader: program does not contain "
                               "a __start symbol\n");
                if (v->__start == 0) {
                        printk(KERN_WARNING "VPE loader: program does not contain "
                               "a __start symbol\n");
-@@ -1063,6 +1154,9 @@ static int vpe_open(struct inode *inode, struct file *filp)
+@@ -1063,6 +1154,9 @@ static int vpe_open(struct inode *inode,
        struct vpe_notifications *not;
        struct vpe *v;
        int ret;
        struct vpe_notifications *not;
        struct vpe *v;
        int ret;
@@ -996,7 +976,7 @@ index bfa12a4..e338ba5 100644
  
        if (minor != iminor(inode)) {
                /* assume only 1 device at the moment. */
  
        if (minor != iminor(inode)) {
                /* assume only 1 device at the moment. */
-@@ -1088,7 +1182,12 @@ static int vpe_open(struct inode *inode, struct file *filp)
+@@ -1088,7 +1182,12 @@ static int vpe_open(struct inode *inode,
                release_progmem(v->load_addr);
                cleanup_tc(get_tc(tclimit));
        }
                release_progmem(v->load_addr);
                cleanup_tc(get_tc(tclimit));
        }
@@ -1010,7 +990,7 @@ index bfa12a4..e338ba5 100644
        /* this of-course trashes what was there before... */
        v->pbuffer = vmalloc(P_SIZE);
        if (!v->pbuffer) {
        /* this of-course trashes what was there before... */
        v->pbuffer = vmalloc(P_SIZE);
        if (!v->pbuffer) {
-@@ -1096,11 +1195,14 @@ static int vpe_open(struct inode *inode, struct file *filp)
+@@ -1096,11 +1195,14 @@ static int vpe_open(struct inode *inode,
                return -ENOMEM;
        }
        v->plen = P_SIZE;
                return -ENOMEM;
        }
        v->plen = P_SIZE;
@@ -1216,6 +1196,3 @@ index bfa12a4..e338ba5 100644
  
        evpe(vpflags);
        emt(mtflags);
  
        evpe(vpflags);
        emt(mtflags);
--- 
-1.7.7.1
-
index d2865eb7a459eda1580a93dbc57cf061e0ca82eb..a993c17662e5072fb930c8eb73919e3a00536bcf 100644 (file)
@@ -10,9 +10,6 @@ Subject: [PATCH 58/70] MIPS: lantiq: falcon VPE softdog
  create mode 100644 arch/mips/include/asm/mach-lantiq/falcon/vpe.h
  create mode 100644 arch/mips/lantiq/falcon/softdog_vpe.c
 
  create mode 100644 arch/mips/include/asm/mach-lantiq/falcon/vpe.h
  create mode 100644 arch/mips/lantiq/falcon/softdog_vpe.c
 
-diff --git a/arch/mips/include/asm/mach-lantiq/falcon/vpe.h b/arch/mips/include/asm/mach-lantiq/falcon/vpe.h
-new file mode 100644
-index 0000000..22a701b
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/vpe.h
 @@ -0,0 +1,44 @@
 --- /dev/null
 +++ b/arch/mips/include/asm/mach-lantiq/falcon/vpe.h
 @@ -0,0 +1,44 @@
@@ -60,9 +57,6 @@ index 0000000..22a701b
 +int32_t vpe1_sw_wdog_register_reset_handler(VPE_SW_WDOG_RESET reset_fn);
 +
 +#endif
 +int32_t vpe1_sw_wdog_register_reset_handler(VPE_SW_WDOG_RESET reset_fn);
 +
 +#endif
-diff --git a/arch/mips/lantiq/falcon/softdog_vpe.c b/arch/mips/lantiq/falcon/softdog_vpe.c
-new file mode 100644
-index 0000000..85d22a2
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/softdog_vpe.c
 @@ -0,0 +1,109 @@
 --- /dev/null
 +++ b/arch/mips/lantiq/falcon/softdog_vpe.c
 @@ -0,0 +1,109 @@
@@ -175,6 +169,3 @@ index 0000000..85d22a2
 +MODULE_AUTHOR("LXDB");
 +MODULE_DESCRIPTION("Software Watchdog For VPE1");
 +MODULE_LICENSE("GPL");
 +MODULE_AUTHOR("LXDB");
 +MODULE_DESCRIPTION("Software Watchdog For VPE1");
 +MODULE_LICENSE("GPL");
--- 
-1.7.7.1
-
index 74025e87572df67e4a98e929703eeb5c6a0dc9bd..2e9853b359cbb039684671660108289201d3d2e0 100644 (file)
@@ -13,9 +13,6 @@ Subject: [PATCH 59/70] MIPS: lantiq: udp in-kernel redirect
  create mode 100644 include/linux/udp_redirect.h
  create mode 100644 net/ipv4/udp_redirect_symb.c
 
  create mode 100644 include/linux/udp_redirect.h
  create mode 100644 net/ipv4/udp_redirect_symb.c
 
-diff --git a/include/linux/udp_redirect.h b/include/linux/udp_redirect.h
-new file mode 100644
-index 0000000..de1e64f
 --- /dev/null
 +++ b/include/linux/udp_redirect.h
 @@ -0,0 +1,57 @@
 --- /dev/null
 +++ b/include/linux/udp_redirect.h
 @@ -0,0 +1,57 @@
@@ -76,8 +73,6 @@ index 0000000..de1e64f
 +extern int udpredirect_getfrag(void *p, char * to, int offset,
 +                               int fraglen, int odd, struct sk_buff *skb);
 +#endif
 +extern int udpredirect_getfrag(void *p, char * to, int offset,
 +                               int fraglen, int odd, struct sk_buff *skb);
 +#endif
-diff --git a/net/Kconfig b/net/Kconfig
-index a073148..d13e3fa 100644
 --- a/net/Kconfig
 +++ b/net/Kconfig
 @@ -72,6 +72,12 @@ config INET
 --- a/net/Kconfig
 +++ b/net/Kconfig
 @@ -72,6 +72,12 @@ config INET
@@ -93,11 +88,9 @@ index a073148..d13e3fa 100644
  if INET
  source "net/ipv4/Kconfig"
  source "net/ipv6/Kconfig"
  if INET
  source "net/ipv4/Kconfig"
  source "net/ipv6/Kconfig"
-diff --git a/net/ipv4/Makefile b/net/ipv4/Makefile
-index f2dc69c..6badd72 100644
 --- a/net/ipv4/Makefile
 +++ b/net/ipv4/Makefile
 --- a/net/ipv4/Makefile
 +++ b/net/ipv4/Makefile
-@@ -14,6 +14,9 @@ obj-y     := route.o inetpeer.o protocol.o \
+@@ -14,6 +14,9 @@ obj-y     := route.o inetpeer.o protocol
             inet_fragment.o ping.o
  
  obj-$(CONFIG_SYSCTL) += sysctl_net_ipv4.o
             inet_fragment.o ping.o
  
  obj-$(CONFIG_SYSCTL) += sysctl_net_ipv4.o
@@ -107,8 +100,6 @@ index f2dc69c..6badd72 100644
  obj-$(CONFIG_PROC_FS) += proc.o
  obj-$(CONFIG_IP_MULTIPLE_TABLES) += fib_rules.o
  obj-$(CONFIG_IP_MROUTE) += ipmr.o
  obj-$(CONFIG_PROC_FS) += proc.o
  obj-$(CONFIG_IP_MULTIPLE_TABLES) += fib_rules.o
  obj-$(CONFIG_IP_MROUTE) += ipmr.o
-diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
-index 5a65eea..cdfa0d4 100644
 --- a/net/ipv4/udp.c
 +++ b/net/ipv4/udp.c
 @@ -108,6 +108,10 @@
 --- a/net/ipv4/udp.c
 +++ b/net/ipv4/udp.c
 @@ -108,6 +108,10 @@
@@ -122,7 +113,7 @@ index 5a65eea..cdfa0d4 100644
  struct udp_table udp_table __read_mostly;
  EXPORT_SYMBOL(udp_table);
  
  struct udp_table udp_table __read_mostly;
  EXPORT_SYMBOL(udp_table);
  
-@@ -803,7 +807,7 @@ int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
+@@ -803,7 +807,7 @@ int udp_sendmsg(struct kiocb *iocb, stru
        u8  tos;
        int err, is_udplite = IS_UDPLITE(sk);
        int corkreq = up->corkflag || msg->msg_flags&MSG_MORE;
        u8  tos;
        int err, is_udplite = IS_UDPLITE(sk);
        int corkreq = up->corkflag || msg->msg_flags&MSG_MORE;
@@ -131,7 +122,7 @@ index 5a65eea..cdfa0d4 100644
        struct sk_buff *skb;
        struct ip_options_data opt_copy;
  
        struct sk_buff *skb;
        struct ip_options_data opt_copy;
  
-@@ -820,7 +824,13 @@ int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
+@@ -820,7 +824,13 @@ int udp_sendmsg(struct kiocb *iocb, stru
        ipc.opt = NULL;
        ipc.tx_flags = 0;
  
        ipc.opt = NULL;
        ipc.tx_flags = 0;
  
@@ -146,7 +137,7 @@ index 5a65eea..cdfa0d4 100644
  
        fl4 = &inet->cork.fl.u.ip4;
        if (up->pending) {
  
        fl4 = &inet->cork.fl.u.ip4;
        if (up->pending) {
-@@ -1623,6 +1633,7 @@ int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable,
+@@ -1623,6 +1633,7 @@ int __udp4_lib_rcv(struct sk_buff *skb,
        struct rtable *rt = skb_rtable(skb);
        __be32 saddr, daddr;
        struct net *net = dev_net(skb->dev);
        struct rtable *rt = skb_rtable(skb);
        __be32 saddr, daddr;
        struct net *net = dev_net(skb->dev);
@@ -154,7 +145,7 @@ index 5a65eea..cdfa0d4 100644
  
        /*
         *  Validate the packet.
  
        /*
         *  Validate the packet.
-@@ -1655,7 +1666,16 @@ int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable,
+@@ -1655,7 +1666,16 @@ int __udp4_lib_rcv(struct sk_buff *skb,
        sk = __udp4_lib_lookup_skb(skb, uh->source, uh->dest, udptable);
  
        if (sk != NULL) {
        sk = __udp4_lib_lookup_skb(skb, uh->source, uh->dest, udptable);
  
        if (sk != NULL) {
@@ -181,9 +172,6 @@ index 5a65eea..cdfa0d4 100644
  /* ------------------------------------------------------------------------ */
  #ifdef CONFIG_PROC_FS
  
  /* ------------------------------------------------------------------------ */
  #ifdef CONFIG_PROC_FS
  
-diff --git a/net/ipv4/udp_redirect_symb.c b/net/ipv4/udp_redirect_symb.c
-new file mode 100644
-index 0000000..5617e86
 --- /dev/null
 +++ b/net/ipv4/udp_redirect_symb.c
 @@ -0,0 +1,186 @@
 --- /dev/null
 +++ b/net/ipv4/udp_redirect_symb.c
 @@ -0,0 +1,186 @@
@@ -373,6 +361,3 @@ index 0000000..5617e86
 +EXPORT_SYMBOL(udp_do_redirect_fn);
 +EXPORT_SYMBOL(udpredirect_getfrag_fn);
 +#endif /* CONFIG_IFX_UDP_REDIRECT* */
 +EXPORT_SYMBOL(udp_do_redirect_fn);
 +EXPORT_SYMBOL(udpredirect_getfrag_fn);
 +#endif /* CONFIG_IFX_UDP_REDIRECT* */
--- 
-1.7.7.1
-
index cb0ad4a294e48bf27abb60c9a766b9b8f306561e..94442ce261046690e800bf1459280d4c24643c35 100644 (file)
@@ -9,11 +9,9 @@ Subject: [PATCH 60/70] MIPS: lantiq: cache split
  arch/mips/mm/c-r4k.c   |  172 ++++++++++++++++++++++++++++++++++++++++++++++++
  3 files changed, 260 insertions(+), 0 deletions(-)
 
  arch/mips/mm/c-r4k.c   |  172 ++++++++++++++++++++++++++++++++++++++++++++++++
  3 files changed, 260 insertions(+), 0 deletions(-)
 
-diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
-index 902aedb..12ee3df 100644
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
-@@ -1904,6 +1904,28 @@ config IFX_VPE_EXT
+@@ -1916,6 +1916,28 @@ config IFX_VPE_EXT
        help
          IFX included extensions in APRP
  
        help
          IFX included extensions in APRP
  
@@ -42,11 +40,9 @@ index 902aedb..12ee3df 100644
  config PERFCTRS
        bool "34K Performance counters"
        depends on MIPS_MT && PROC_FS
  config PERFCTRS
        bool "34K Performance counters"
        depends on MIPS_MT && PROC_FS
-diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c
-index e338ba5..0511d11 100644
 --- a/arch/mips/kernel/vpe.c
 +++ b/arch/mips/kernel/vpe.c
 --- a/arch/mips/kernel/vpe.c
 +++ b/arch/mips/kernel/vpe.c
-@@ -127,6 +127,13 @@ __setup("vpe1_wdog_timeout=", wdog_timeout);
+@@ -127,6 +127,13 @@ __setup("vpe1_wdog_timeout=", wdog_timeo
  EXPORT_SYMBOL(vpe1_wdog_timeout);
  
  #endif
  EXPORT_SYMBOL(vpe1_wdog_timeout);
  
  #endif
@@ -126,11 +122,9 @@ index e338ba5..0511d11 100644
        /* clear out any left overs from a previous program */
        write_vpe_c0_status(0);
        write_vpe_c0_cause(0);
        /* clear out any left overs from a previous program */
        write_vpe_c0_status(0);
        write_vpe_c0_cause(0);
-diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
-index a79fe9a..94cb24f 100644
 --- a/arch/mips/mm/c-r4k.c
 +++ b/arch/mips/mm/c-r4k.c
 --- a/arch/mips/mm/c-r4k.c
 +++ b/arch/mips/mm/c-r4k.c
-@@ -1383,6 +1383,106 @@ static int __init setcoherentio(char *str)
+@@ -1383,6 +1383,106 @@ static int __init setcoherentio(char *st
  __setup("coherentio", setcoherentio);
  #endif
  
  __setup("coherentio", setcoherentio);
  #endif
  
@@ -316,6 +310,3 @@ index a79fe9a..94cb24f 100644
        probe_pcache();
        setup_scache();
  
        probe_pcache();
        setup_scache();
  
--- 
-1.7.7.1
-
index 9ec89ed8eaa655248943f278bfa7c7cb70541fae..af1a7c041752c5d58d6f3cf6155527e68d2eaeb9 100644 (file)
@@ -10,8 +10,6 @@ Subject: [PATCH 61/70] MIPS: clean up clock code
  arch/mips/lantiq/xway/sysctrl.c |  166 ++++++++++++++++++++++++++++++---------
  4 files changed, 143 insertions(+), 39 deletions(-)
 
  arch/mips/lantiq/xway/sysctrl.c |  166 ++++++++++++++++++++++++++++++---------
  4 files changed, 143 insertions(+), 39 deletions(-)
 
-diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c
-index 84a201e..5494b6e 100644
 --- a/arch/mips/lantiq/clk.c
 +++ b/arch/mips/lantiq/clk.c
 @@ -44,6 +44,7 @@ struct clk *clk_get_fpi(void)
 --- a/arch/mips/lantiq/clk.c
 +++ b/arch/mips/lantiq/clk.c
 @@ -44,6 +44,7 @@ struct clk *clk_get_fpi(void)
@@ -22,7 +20,7 @@ index 84a201e..5494b6e 100644
  
  struct clk *clk_get_io(void)
  {
  
  struct clk *clk_get_io(void)
  {
-@@ -70,6 +71,16 @@ unsigned long clk_get_rate(struct clk *clk)
+@@ -70,6 +71,16 @@ unsigned long clk_get_rate(struct clk *c
  }
  EXPORT_SYMBOL(clk_get_rate);
  
  }
  EXPORT_SYMBOL(clk_get_rate);
  
@@ -39,8 +37,6 @@ index 84a201e..5494b6e 100644
  int clk_enable(struct clk *clk)
  {
        if (unlikely(!clk_good(clk)))
  int clk_enable(struct clk *clk)
  {
        if (unlikely(!clk_good(clk)))
-diff --git a/arch/mips/lantiq/clk.h b/arch/mips/lantiq/clk.h
-index d047768..b34e675 100644
 --- a/arch/mips/lantiq/clk.h
 +++ b/arch/mips/lantiq/clk.h
 @@ -12,6 +12,7 @@
 --- a/arch/mips/lantiq/clk.h
 +++ b/arch/mips/lantiq/clk.h
 @@ -12,6 +12,7 @@
@@ -62,11 +58,9 @@ index d047768..b34e675 100644
        int (*enable) (struct clk *clk);
        void (*disable) (struct clk *clk);
        int (*activate) (struct clk *clk);
        int (*enable) (struct clk *clk);
        void (*disable) (struct clk *clk);
        int (*activate) (struct clk *clk);
-diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c
-index e6d45bc..5d4650d 100644
 --- a/arch/mips/lantiq/xway/devices.c
 +++ b/arch/mips/lantiq/xway/devices.c
 --- a/arch/mips/lantiq/xway/devices.c
 +++ b/arch/mips/lantiq/xway/devices.c
-@@ -59,7 +59,7 @@ static struct resource ltq_stp_resource =
+@@ -59,7 +59,7 @@ static struct resource ltq_stp_resource
  
  void __init ltq_register_gpio_stp(void)
  {
  
  void __init ltq_register_gpio_stp(void)
  {
@@ -75,8 +69,6 @@ index e6d45bc..5d4650d 100644
  }
  
  /* asc ports - amazon se has its own serial mapping */
  }
  
  /* asc ports - amazon se has its own serial mapping */
-diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
-index ac7383f..9df048c 100644
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -16,40 +16,57 @@
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -16,40 +16,57 @@
@@ -184,15 +176,15 @@ index ac7383f..9df048c 100644
  }
  
  static int ltq_pmu_enable(struct clk *clk)
  }
  
  static int ltq_pmu_enable(struct clk *clk)
-@@ -94,9 +111,49 @@ static int ltq_pmu_enable(struct clk *clk)
+@@ -94,9 +111,49 @@ static int ltq_pmu_enable(struct clk *cl
  
  static void ltq_pmu_disable(struct clk *clk)
  {
 -      ltq_pmu_w32(ltq_pmu_r32(LTQ_PMU_PWDCR) | clk->bits, LTQ_PMU_PWDCR);
 +      ltq_pmu_w32(ltq_pmu_r32(PWDCR(clk->module)) | clk->bits,
 +              PWDCR(clk->module));
  
  static void ltq_pmu_disable(struct clk *clk)
  {
 -      ltq_pmu_w32(ltq_pmu_r32(LTQ_PMU_PWDCR) | clk->bits, LTQ_PMU_PWDCR);
 +      ltq_pmu_w32(ltq_pmu_r32(PWDCR(clk->module)) | clk->bits,
 +              PWDCR(clk->module));
-+}
-+
+ }
 +static int ltq_pci_enable(struct clk *clk)
 +{
 +      unsigned int ifccr = ltq_cgu_r32(CGU_IFCCR);
 +static int ltq_pci_enable(struct clk *clk)
 +{
 +      unsigned int ifccr = ltq_cgu_r32(CGU_IFCCR);
@@ -229,13 +221,13 @@ index ac7383f..9df048c 100644
 +      ltq_cgu_w32(ltq_cgu_r32(CGU_IFCCR) | (1 << 16),
 +              CGU_IFCCR);
 +      ltq_cgu_w32((1 << 31) | (1 << 30), CGU_PCICR);
 +      ltq_cgu_w32(ltq_cgu_r32(CGU_IFCCR) | (1 << 16),
 +              CGU_IFCCR);
 +      ltq_cgu_w32((1 << 31) | (1 << 30), CGU_PCICR);
- }
++}
++
 +/* manage the clock gates via PMU */
  static inline void clkdev_add_pmu(const char *dev, const char *con,
                                        unsigned int module, unsigned int bits)
  {
 +/* manage the clock gates via PMU */
  static inline void clkdev_add_pmu(const char *dev, const char *con,
                                        unsigned int module, unsigned int bits)
  {
-@@ -112,6 +169,7 @@ static inline void clkdev_add_pmu(const char *dev, const char *con,
+@@ -112,6 +169,7 @@ static inline void clkdev_add_pmu(const
        clkdev_add(&clk->cl);
  }
  
        clkdev_add(&clk->cl);
  }
  
@@ -243,7 +235,7 @@ index ac7383f..9df048c 100644
  static inline void clkdev_add_cgu(const char *dev, const char *con,
                                        unsigned int bits)
  {
  static inline void clkdev_add_cgu(const char *dev, const char *con,
                                        unsigned int bits)
  {
-@@ -126,6 +184,33 @@ static inline void clkdev_add_cgu(const char *dev, const char *con,
+@@ -126,6 +184,33 @@ static inline void clkdev_add_cgu(const
        clkdev_add(&clk->cl);
  }
  
        clkdev_add(&clk->cl);
  }
  
@@ -314,6 +306,3 @@ index ac7383f..9df048c 100644
                if (ltq_is_ar9())
                        clkdev_add_pmu("ltq_etop", "switch", 0, PMU_SWITCH);
        }
                if (ltq_is_ar9())
                        clkdev_add_pmu("ltq_etop", "switch", 0, PMU_SWITCH);
        }
--- 
-1.7.7.1
-
index e6fae3fe4f2b2f3846044ef039be6db62077e0c9..6231b38485354d4ee1dd6138039d94e980502a7e 100644 (file)
@@ -7,8 +7,6 @@ Subject: [PATCH 62/70] MIPS: cleanup reset code
  arch/mips/lantiq/xway/reset.c |   59 ++++++++++++++++++++++++++++++++++------
  1 files changed, 50 insertions(+), 9 deletions(-)
 
  arch/mips/lantiq/xway/reset.c |   59 ++++++++++++++++++++++++++++++++++------
  1 files changed, 50 insertions(+), 9 deletions(-)
 
-diff --git a/arch/mips/lantiq/xway/reset.c b/arch/mips/lantiq/xway/reset.c
-index ca2212a..8a5dff1 100644
 --- a/arch/mips/lantiq/xway/reset.c
 +++ b/arch/mips/lantiq/xway/reset.c
 @@ -11,6 +11,7 @@
 --- a/arch/mips/lantiq/xway/reset.c
 +++ b/arch/mips/lantiq/xway/reset.c
 @@ -11,6 +11,7 @@
@@ -98,6 +96,3 @@ index ca2212a..8a5dff1 100644
        unreachable();
  }
  
        unreachable();
  }
  
--- 
-1.7.7.1
-
index 4a741608aca92b58e1e9eea2fa50357e1a4d7077..26b8cd637d9f8402c7f67470b2aac73952af903a 100644 (file)
@@ -9,11 +9,9 @@ Subject: [PATCH 63/70] MIPS: lantiq: fixes ar9/vr9 clock
  arch/mips/lantiq/xway/sysctrl.c |   13 ++++++++-----
  3 files changed, 35 insertions(+), 11 deletions(-)
 
  arch/mips/lantiq/xway/sysctrl.c |   13 ++++++++-----
  3 files changed, 35 insertions(+), 11 deletions(-)
 
-diff --git a/arch/mips/lantiq/clk.h b/arch/mips/lantiq/clk.h
-index b34e675..010dfa7 100644
 --- a/arch/mips/lantiq/clk.h
 +++ b/arch/mips/lantiq/clk.h
 --- a/arch/mips/lantiq/clk.h
 +++ b/arch/mips/lantiq/clk.h
-@@ -56,8 +56,10 @@ extern unsigned long ltq_danube_cpu_hz(void);
+@@ -56,8 +56,10 @@ extern unsigned long ltq_danube_cpu_hz(v
  extern unsigned long ltq_danube_fpi_hz(void);
  extern unsigned long ltq_danube_io_region_clock(void);
  
  extern unsigned long ltq_danube_fpi_hz(void);
  extern unsigned long ltq_danube_io_region_clock(void);
  
@@ -25,8 +23,6 @@ index b34e675..010dfa7 100644
 -extern unsigned long ltq_vr9_io_region_clock(void);
  
  #endif
 -extern unsigned long ltq_vr9_io_region_clock(void);
  
  #endif
-diff --git a/arch/mips/lantiq/xway/clk.c b/arch/mips/lantiq/xway/clk.c
-index 3635c9f..2bafc04 100644
 --- a/arch/mips/lantiq/xway/clk.c
 +++ b/arch/mips/lantiq/xway/clk.c
 @@ -217,6 +217,30 @@ unsigned long ltq_danube_cpu_hz(void)
 --- a/arch/mips/lantiq/xway/clk.c
 +++ b/arch/mips/lantiq/xway/clk.c
 @@ -217,6 +217,30 @@ unsigned long ltq_danube_cpu_hz(void)
@@ -72,8 +68,6 @@ index 3635c9f..2bafc04 100644
  unsigned long ltq_vr9_fpi_bus_clock(int fpi)
  {
        return ltq_vr9_fpi_hz();
  unsigned long ltq_vr9_fpi_bus_clock(int fpi)
  {
        return ltq_vr9_fpi_hz();
-diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
-index 9df048c..6771a7e 100644
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -237,6 +237,8 @@ void __init ltq_soc_init(void)
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -237,6 +237,8 @@ void __init ltq_soc_init(void)
@@ -111,6 +105,3 @@ index 9df048c..6771a7e 100644
 +                      ltq_danube_io_region_clock());
        }
  }
 +                      ltq_danube_io_region_clock());
        }
  }
--- 
-1.7.7.1
-
index 6d3cbf2c05ca6c81933e310044ff663057d0fddd..f43186b59b4639f75e7bbee0d83ebd2b09c14e93 100644 (file)
@@ -7,11 +7,9 @@ Subject: [PATCH 64/70] MIPS: lantiq: fixes danube clock
  arch/mips/lantiq/xway/clk.c |   20 ++++++++++----------
  1 files changed, 10 insertions(+), 10 deletions(-)
 
  arch/mips/lantiq/xway/clk.c |   20 ++++++++++----------
  1 files changed, 10 insertions(+), 10 deletions(-)
 
-diff --git a/arch/mips/lantiq/xway/clk.c b/arch/mips/lantiq/xway/clk.c
-index 2bafc04..5d850dc 100644
 --- a/arch/mips/lantiq/xway/clk.c
 +++ b/arch/mips/lantiq/xway/clk.c
 --- a/arch/mips/lantiq/xway/clk.c
 +++ b/arch/mips/lantiq/xway/clk.c
-@@ -181,7 +181,7 @@ unsigned long ltq_danube_io_region_clock(void)
+@@ -181,7 +181,7 @@ unsigned long ltq_danube_io_region_clock
  {
        unsigned int ret = ltq_get_pll0_fosc();
  
  {
        unsigned int ret = ltq_get_pll0_fosc();
  
@@ -20,7 +18,7 @@ index 2bafc04..5d850dc 100644
        default:
        case 0:
                return (ret + 1) / 2;
        default:
        case 0:
                return (ret + 1) / 2;
-@@ -203,6 +203,15 @@ unsigned long ltq_danube_fpi_bus_clock(int fpi)
+@@ -203,6 +203,15 @@ unsigned long ltq_danube_fpi_bus_clock(i
        return ret;
  }
  
        return ret;
  }
  
@@ -52,6 +50,3 @@ index 2bafc04..5d850dc 100644
  unsigned long ltq_vr9_cpu_hz(void)
  {
        unsigned int cpu_sel;
  unsigned long ltq_vr9_cpu_hz(void)
  {
        unsigned int cpu_sel;
--- 
-1.7.7.1
-
index 2d7de34567aed8df9b350df4e6b891d2c9910fd8..13f5b2fac47c5fe3d62a738bd8c76edd44484e5d 100644 (file)
@@ -7,8 +7,6 @@ Subject: [PATCH 65/70] MIPS: adds dsl clocks
  arch/mips/lantiq/xway/sysctrl.c |   15 +++++++++++++--
  1 files changed, 13 insertions(+), 2 deletions(-)
 
  arch/mips/lantiq/xway/sysctrl.c |   15 +++++++++++++--
  1 files changed, 13 insertions(+), 2 deletions(-)
 
-diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
-index 6771a7e..3672fc6 100644
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -41,8 +41,9 @@
 --- a/arch/mips/lantiq/xway/sysctrl.c
 +++ b/arch/mips/lantiq/xway/sysctrl.c
 @@ -41,8 +41,9 @@
@@ -22,7 +20,7 @@ index 6771a7e..3672fc6 100644
  #define PMU_EBU               BIT(10)
  #define PMU_STP               BIT(11)
  #define PMU_GPT               BIT(12)
  #define PMU_EBU               BIT(10)
  #define PMU_STP               BIT(11)
  #define PMU_GPT               BIT(12)
-@@ -147,7 +148,7 @@ static int ltq_pci_ext_enable(struct clk *clk)
+@@ -147,7 +148,7 @@ static int ltq_pci_ext_enable(struct clk
  
  static void ltq_pci_ext_disable(struct clk *clk)
  {
  
  static void ltq_pci_ext_disable(struct clk *clk)
  {
@@ -61,6 +59,3 @@ index 6771a7e..3672fc6 100644
 +                      PMU_PPE_QSB | PMU_AHBS | PMU_DFE);
        }
  }
 +                      PMU_PPE_QSB | PMU_AHBS | PMU_DFE);
        }
  }
--- 
-1.7.7.1
-
index 460dd2ba18d2e42a1b42ca7f21886fc099d89032..8c5a739b97945e6462ef4a8fcfa77cbc745c1980 100644 (file)
@@ -7,11 +7,9 @@ Subject: [PATCH 66/70] MIPS: lantiq: dont always register asc0
  arch/mips/lantiq/xway/prom.c |    6 ++----
  1 files changed, 2 insertions(+), 4 deletions(-)
 
  arch/mips/lantiq/xway/prom.c |    6 ++----
  1 files changed, 2 insertions(+), 4 deletions(-)
 
-diff --git a/arch/mips/lantiq/xway/prom.c b/arch/mips/lantiq/xway/prom.c
-index e3dcbbd..f776d5a 100644
 --- a/arch/mips/lantiq/xway/prom.c
 +++ b/arch/mips/lantiq/xway/prom.c
 --- a/arch/mips/lantiq/xway/prom.c
 +++ b/arch/mips/lantiq/xway/prom.c
-@@ -101,12 +101,10 @@ void __init ltq_soc_detect(struct ltq_soc_info *i)
+@@ -101,12 +101,10 @@ void __init ltq_soc_detect(struct ltq_so
  
  void __init ltq_soc_setup(void)
  {
  
  void __init ltq_soc_setup(void)
  {
@@ -26,6 +24,3 @@ index e3dcbbd..f776d5a 100644
        ltq_register_gpio();
        ltq_register_wdt();
  }
        ltq_register_gpio();
        ltq_register_wdt();
  }
--- 
-1.7.7.1
-
index a97259c26051225c8ae890d4c7e3198abc83b68d..a79f50c4f3ecac26533f8f2af61622e885f7e0d4 100644 (file)
@@ -7,8 +7,6 @@ Subject: [PATCH 67/70] MIPS: lantiq: irqs were not cleared properly on boot
  arch/mips/lantiq/irq.c |   10 +++++-----
  1 files changed, 5 insertions(+), 5 deletions(-)
 
  arch/mips/lantiq/irq.c |   10 +++++-----
  1 files changed, 5 insertions(+), 5 deletions(-)
 
-diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c
-index 770a10c..d4e70b4 100644
 --- a/arch/mips/lantiq/irq.c
 +++ b/arch/mips/lantiq/irq.c
 @@ -327,12 +327,12 @@ void __init arch_init_irq(void)
 --- a/arch/mips/lantiq/irq.c
 +++ b/arch/mips/lantiq/irq.c
 @@ -327,12 +327,12 @@ void __init arch_init_irq(void)
@@ -29,6 +27,3 @@ index 770a10c..d4e70b4 100644
  
        mips_cpu_irq_init();
  
  
        mips_cpu_irq_init();
  
--- 
-1.7.7.1
-
index 81a0cdbfbe4e561f71d9092ce01b20031571fc0d..6410f06fe11d2326e6efe38881c2cc77a6ebb2b0 100644 (file)
@@ -8,8 +8,6 @@ Subject: [PATCH 68/70] MIPS: lantiq: adds bootsel helper
  arch/mips/lantiq/xway/reset.c                      |   12 +++++++++++-
  2 files changed, 23 insertions(+), 1 deletions(-)
 
  arch/mips/lantiq/xway/reset.c                      |   12 +++++++++++-
  2 files changed, 23 insertions(+), 1 deletions(-)
 
-diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-index bfdeb16..1ec8f2a 100644
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -144,6 +144,18 @@
 --- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 +++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
 @@ -144,6 +144,18 @@
@@ -31,8 +29,6 @@ index bfdeb16..1ec8f2a 100644
  /* register access macros for EBU and CGU */
  #define ltq_ebu_w32(x, y)     ltq_w32((x), ltq_ebu_membase + (y))
  #define ltq_ebu_r32(x)                ltq_r32(ltq_ebu_membase + (x))
  /* register access macros for EBU and CGU */
  #define ltq_ebu_w32(x, y)     ltq_w32((x), ltq_ebu_membase + (y))
  #define ltq_ebu_r32(x)                ltq_r32(ltq_ebu_membase + (x))
-diff --git a/arch/mips/lantiq/xway/reset.c b/arch/mips/lantiq/xway/reset.c
-index 8a5dff1..b8f7ffb 100644
 --- a/arch/mips/lantiq/xway/reset.c
 +++ b/arch/mips/lantiq/xway/reset.c
 @@ -27,7 +27,11 @@
 --- a/arch/mips/lantiq/xway/reset.c
 +++ b/arch/mips/lantiq/xway/reset.c
 @@ -27,7 +27,11 @@
@@ -61,6 +57,3 @@ index 8a5dff1..b8f7ffb 100644
  void ltq_reset_once(unsigned int module, ulong usec)
  {
        ltq_rcu_w32(ltq_rcu_r32(RCU_RST_REQ) | module, RCU_RST_REQ);
  void ltq_reset_once(unsigned int module, ulong usec)
  {
        ltq_rcu_w32(ltq_rcu_r32(RCU_RST_REQ) | module, RCU_RST_REQ);
--- 
-1.7.7.1
-
index a7ea1ad7d567e68622ed8379145ab2dba390923d..344af9645e83514cba70349fef3da9574affd377 100644 (file)
@@ -7,8 +7,6 @@ Subject: [PATCH 69/70] MIPS: lantiq: adds USB_ARCH_HAS_HCD to CONFIG_LANTIQ
  arch/mips/Kconfig |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
 
  arch/mips/Kconfig |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
 
-diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
-index 12ee3df..81b22c1 100644
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
 @@ -229,6 +229,7 @@ config LANTIQ
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
 @@ -229,6 +229,7 @@ config LANTIQ
@@ -19,6 +17,3 @@ index 12ee3df..81b22c1 100644
  
  config LASAT
        bool "LASAT Networks platforms"
  
  config LASAT
        bool "LASAT Networks platforms"
--- 
-1.7.7.1
-
index 8bf776c629771cac184096a887ad6c8cbff5968a..df63eabb76d8097d0434692be741c13db937ad79 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
-@@ -190,8 +190,12 @@ ltq_etop_hw_receive(struct ltq_etop_chan
+@@ -188,8 +188,12 @@ ltq_etop_hw_receive(struct ltq_etop_chan
  
        skb_put(skb, len);
        skb->dev = ch->netdev;
  
        skb_put(skb, len);
        skb->dev = ch->netdev;
index aaf2395fb29e663f23cc76bb0e95893626a21719..3b40122cc0ebfc838d15dbdab0be4249db8bffd2 100644 (file)
@@ -1,8 +1,6 @@
-Index: linux-3.2.9/drivers/mtd/Kconfig
-===================================================================
---- linux-3.2.9.orig/drivers/mtd/Kconfig       2012-03-17 17:43:47.395607926 +0100
-+++ linux-3.2.9/drivers/mtd/Kconfig    2012-03-17 20:49:30.279873461 +0100
-@@ -31,6 +31,10 @@
+--- a/drivers/mtd/Kconfig
++++ b/drivers/mtd/Kconfig
+@@ -31,6 +31,10 @@ config MTD_ROOTFS_SPLIT
        bool "Automatically split 'rootfs' partition for squashfs"
        default y
  
        bool "Automatically split 'rootfs' partition for squashfs"
        default y
  
@@ -13,11 +11,9 @@ Index: linux-3.2.9/drivers/mtd/Kconfig
  config MTD_REDBOOT_PARTS
        tristate "RedBoot partition table parsing"
        ---help---
  config MTD_REDBOOT_PARTS
        tristate "RedBoot partition table parsing"
        ---help---
-Index: linux-3.2.9/drivers/mtd/mtdpart.c
-===================================================================
---- linux-3.2.9.orig/drivers/mtd/mtdpart.c     2012-03-17 17:43:47.407607922 +0100
-+++ linux-3.2.9/drivers/mtd/mtdpart.c  2012-03-17 20:49:42.987873819 +0100
-@@ -874,6 +874,169 @@
+--- a/drivers/mtd/mtdpart.c
++++ b/drivers/mtd/mtdpart.c
+@@ -874,6 +874,169 @@ static int refresh_rootfs_split(struct m
  }
  #endif /* CONFIG_MTD_ROOTFS_SPLIT */
  
  }
  #endif /* CONFIG_MTD_ROOTFS_SPLIT */
  
@@ -187,7 +183,7 @@ Index: linux-3.2.9/drivers/mtd/mtdpart.c
  /*
   * This function, given a master MTD object and a partition table, creates
   * and registers slave MTD objects which are bound to the master according to
  /*
   * This function, given a master MTD object and a partition table, creates
   * and registers slave MTD objects which are bound to the master according to
-@@ -907,6 +1070,17 @@
+@@ -907,6 +1070,17 @@ int add_mtd_partitions(struct mtd_info *
  
                add_mtd_device(&slave->mtd);
  
  
                add_mtd_device(&slave->mtd);
  
@@ -205,11 +201,9 @@ Index: linux-3.2.9/drivers/mtd/mtdpart.c
                if (!strcmp(parts[i].name, "rootfs")) {
  #ifdef CONFIG_MTD_ROOTFS_ROOT_DEV
                        if (ROOT_DEV == 0) {
                if (!strcmp(parts[i].name, "rootfs")) {
  #ifdef CONFIG_MTD_ROOTFS_ROOT_DEV
                        if (ROOT_DEV == 0) {
-Index: linux-3.2.9/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
-===================================================================
---- linux-3.2.9.orig/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h       2012-03-17 20:49:32.000000000 +0100
-+++ linux-3.2.9/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h    2012-03-17 20:50:07.815874369 +0100
-@@ -156,6 +156,7 @@
+--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
++++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
+@@ -166,6 +166,7 @@ extern unsigned char ltq_boot_select(voi
  
  extern __iomem void *ltq_ebu_membase;
  extern __iomem void *ltq_cgu_membase;
  
  extern __iomem void *ltq_ebu_membase;
  extern __iomem void *ltq_cgu_membase;
@@ -217,10 +211,8 @@ Index: linux-3.2.9/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
  
  static inline int ltq_is_ase(void)
  {
  
  static inline int ltq_is_ase(void)
  {
-Index: linux-3.2.9/arch/mips/lantiq/setup.c
-===================================================================
---- linux-3.2.9.orig/arch/mips/lantiq/setup.c  2012-03-17 20:49:32.000000000 +0100
-+++ linux-3.2.9/arch/mips/lantiq/setup.c       2012-03-17 20:50:07.815874369 +0100
+--- a/arch/mips/lantiq/setup.c
++++ b/arch/mips/lantiq/setup.c
 @@ -18,6 +18,9 @@
  #include "devices.h"
  #include "prom.h"
 @@ -18,6 +18,9 @@
  #include "devices.h"
  #include "prom.h"
@@ -231,7 +223,7 @@ Index: linux-3.2.9/arch/mips/lantiq/setup.c
  void __init plat_mem_setup(void)
  {
        /* assume 16M as default incase uboot fails to pass proper ramsize */
  void __init plat_mem_setup(void)
  {
        /* assume 16M as default incase uboot fails to pass proper ramsize */
-@@ -38,6 +41,10 @@
+@@ -38,6 +41,10 @@ void __init plat_mem_setup(void)
                        if (strict_strtoul(e, 0, &memsize))
                                pr_warn("bad memsize specified\n");
                }
                        if (strict_strtoul(e, 0, &memsize))
                                pr_warn("bad memsize specified\n");
                }
index 5f7be88aab188ce29848da7f584a2bf616d2c72a..a9ded7a90366d42de3128957981a41454cd475db 100644 (file)
@@ -1,7 +1,5 @@
-Index: linux-3.2.9/arch/mips/lantiq/irq.c
-===================================================================
---- linux-3.2.9.orig/arch/mips/lantiq/irq.c    2012-03-08 17:17:13.937473031 +0100
-+++ linux-3.2.9/arch/mips/lantiq/irq.c 2012-03-08 17:32:57.389513360 +0100
+--- a/arch/mips/lantiq/irq.c
++++ b/arch/mips/lantiq/irq.c
 @@ -10,6 +10,7 @@
  #include <linux/interrupt.h>
  #include <linux/ioport.h>
 @@ -10,6 +10,7 @@
  #include <linux/interrupt.h>
  #include <linux/ioport.h>
@@ -10,7 +8,7 @@ Index: linux-3.2.9/arch/mips/lantiq/irq.c
  
  #include <asm/bootinfo.h>
  #include <asm/irq_cpu.h>
  
  #include <asm/bootinfo.h>
  #include <asm/irq_cpu.h>
-@@ -111,6 +112,7 @@
+@@ -111,6 +112,7 @@ void ltq_mask_and_ack_irq(struct irq_dat
        ltq_icu_w32(ltq_icu_r32(ier) & ~(1 << irq_nr), ier);
        ltq_icu_w32((1 << irq_nr), isr);
  }
        ltq_icu_w32(ltq_icu_r32(ier) & ~(1 << irq_nr), ier);
        ltq_icu_w32((1 << irq_nr), isr);
  }
@@ -18,11 +16,9 @@ Index: linux-3.2.9/arch/mips/lantiq/irq.c
  
  static void ltq_ack_irq(struct irq_data *d)
  {
  
  static void ltq_ack_irq(struct irq_data *d)
  {
-Index: linux-3.2.9/arch/mips/mm/cache.c
-===================================================================
---- linux-3.2.9.orig/arch/mips/mm/cache.c      2012-03-01 01:32:49.000000000 +0100
-+++ linux-3.2.9/arch/mips/mm/cache.c   2012-03-08 17:17:14.193473042 +0100
-@@ -57,6 +57,8 @@
+--- a/arch/mips/mm/cache.c
++++ b/arch/mips/mm/cache.c
+@@ -57,6 +57,8 @@ void (*_dma_cache_wback)(unsigned long s
  void (*_dma_cache_inv)(unsigned long start, unsigned long size);
  
  EXPORT_SYMBOL(_dma_cache_wback_inv);
  void (*_dma_cache_inv)(unsigned long start, unsigned long size);
  
  EXPORT_SYMBOL(_dma_cache_wback_inv);
@@ -31,11 +27,9 @@ Index: linux-3.2.9/arch/mips/mm/cache.c
  
  #endif /* CONFIG_DMA_NONCOHERENT */
  
  
  #endif /* CONFIG_DMA_NONCOHERENT */
  
-Index: linux-3.2.9/net/atm/proc.c
-===================================================================
---- linux-3.2.9.orig/net/atm/proc.c    2012-03-01 01:32:49.000000000 +0100
-+++ linux-3.2.9/net/atm/proc.c 2012-03-08 17:17:14.193473042 +0100
-@@ -154,7 +154,7 @@
+--- a/net/atm/proc.c
++++ b/net/atm/proc.c
+@@ -154,7 +154,7 @@ static void *vcc_seq_next(struct seq_fil
  static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc)
  {
        static const char *const class_name[] = {
  static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc)
  {
        static const char *const class_name[] = {
@@ -44,11 +38,9 @@ Index: linux-3.2.9/net/atm/proc.c
        static const char *const aal_name[] = {
                "---",  "1",    "2",    "3/4",  /*  0- 3 */
                "???",  "5",    "???",  "???",  /*  4- 7 */
        static const char *const aal_name[] = {
                "---",  "1",    "2",    "3/4",  /*  0- 3 */
                "???",  "5",    "???",  "???",  /*  4- 7 */
-Index: linux-3.2.9/net/atm/common.c
-===================================================================
---- linux-3.2.9.orig/net/atm/common.c  2012-03-01 01:32:49.000000000 +0100
-+++ linux-3.2.9/net/atm/common.c       2012-03-08 17:17:14.193473042 +0100
-@@ -62,11 +62,17 @@
+--- a/net/atm/common.c
++++ b/net/atm/common.c
+@@ -62,11 +62,17 @@ static void vcc_remove_socket(struct soc
        write_unlock_irq(&vcc_sklist_lock);
  }
  
        write_unlock_irq(&vcc_sklist_lock);
  }
  
index 4f5ce9e413627a0cefc732425f4f2ceba5b51d24..ff57422d55a9139b962664c60f05f4e0843d4ba0 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/module.h>
  #include <linux/ioport.h>
  #include <linux/netdevice.h>
  #include <linux/module.h>
  #include <linux/ioport.h>
  #include <linux/netdevice.h>
-@@ -126,6 +127,8 @@ typedef struct board_info {
+@@ -132,6 +133,8 @@ typedef struct board_info {
        struct delayed_work phy_poll;
        struct net_device  *ndev;
  
        struct delayed_work phy_poll;
        struct net_device  *ndev;
  
@@ -17,7 +17,7 @@
        spinlock_t      lock;
  
        struct mii_if_info mii;
        spinlock_t      lock;
  
        struct mii_if_info mii;
-@@ -839,6 +842,8 @@ static void dm9000_timeout(struct net_de
+@@ -844,6 +847,8 @@ static void dm9000_timeout(struct net_de
        netif_stop_queue(dev);
        dm9000_reset(db);
        dm9000_init_dm9000(dev);
        netif_stop_queue(dev);
        dm9000_reset(db);
        dm9000_init_dm9000(dev);
@@ -26,7 +26,7 @@
        /* We can accept TX packets again */
        dev->trans_start = jiffies; /* prevent tx timeout */
        netif_wake_queue(dev);
        /* We can accept TX packets again */
        dev->trans_start = jiffies; /* prevent tx timeout */
        netif_wake_queue(dev);
-@@ -910,6 +915,12 @@ dm9000_start_xmit(struct sk_buff *skb, s
+@@ -915,6 +920,12 @@ dm9000_start_xmit(struct sk_buff *skb, s
        /* free this SKB */
        dev_kfree_skb(skb);
  
        /* free this SKB */
        dev_kfree_skb(skb);
  
@@ -39,7 +39,7 @@
        return NETDEV_TX_OK;
  }
  
        return NETDEV_TX_OK;
  }
  
-@@ -1151,6 +1162,18 @@ static void dm9000_poll_controller(struc
+@@ -1156,6 +1167,18 @@ static void dm9000_poll_controller(struc
  }
  #endif
  
  }
  #endif
  
@@ -58,7 +58,7 @@
  /*
   *  Open the interface.
   *  The interface is opened whenever "ifconfig" actives it.
  /*
   *  Open the interface.
   *  The interface is opened whenever "ifconfig" actives it.
-@@ -1164,14 +1187,15 @@ dm9000_open(struct net_device *dev)
+@@ -1169,14 +1192,15 @@ dm9000_open(struct net_device *dev)
        if (netif_msg_ifup(db))
                dev_dbg(db->dev, "enabling %s\n", dev->name);
  
        if (netif_msg_ifup(db))
                dev_dbg(db->dev, "enabling %s\n", dev->name);
  
@@ -80,7 +80,7 @@
        /* GPIO0 on pre-activate PHY, Reg 1F is not set by reset */
        iow(db, DM9000_GPR, 0); /* REG_1F bit0 activate phyxcer */
        mdelay(1); /* delay needs by DM9000B */
        /* GPIO0 on pre-activate PHY, Reg 1F is not set by reset */
        iow(db, DM9000_GPR, 0); /* REG_1F bit0 activate phyxcer */
        mdelay(1); /* delay needs by DM9000B */
-@@ -1180,8 +1204,14 @@ dm9000_open(struct net_device *dev)
+@@ -1185,8 +1209,14 @@ dm9000_open(struct net_device *dev)
        dm9000_reset(db);
        dm9000_init_dm9000(dev);
  
        dm9000_reset(db);
        dm9000_init_dm9000(dev);
  
@@ -97,7 +97,7 @@
  
        /* Init driver variable */
        db->dbug_cnt = 0;
  
        /* Init driver variable */
        db->dbug_cnt = 0;
-@@ -1189,6 +1219,9 @@ dm9000_open(struct net_device *dev)
+@@ -1194,6 +1224,9 @@ dm9000_open(struct net_device *dev)
        mii_check_media(&db->mii, netif_msg_link(db), 1);
        netif_start_queue(dev);
        
        mii_check_media(&db->mii, netif_msg_link(db), 1);
        netif_start_queue(dev);
        
        dm9000_schedule_poll(db);
  
        return 0;
        dm9000_schedule_poll(db);
  
        return 0;
-@@ -1386,6 +1419,7 @@ dm9000_probe(struct platform_device *pde
+@@ -1391,6 +1424,7 @@ dm9000_probe(struct platform_device *pde
        mutex_init(&db->addr_lock);
  
        INIT_DELAYED_WORK(&db->phy_poll, dm9000_poll_work);
        mutex_init(&db->addr_lock);
  
        INIT_DELAYED_WORK(&db->phy_poll, dm9000_poll_work);
index 7839327e32ab1d5d2fa216db3d0ec89ce8c540de..670b2244993a5d12c1c7fd4855030d4bc254e521 100644 (file)
@@ -1,8 +1,6 @@
-Index: linux-3.1.10/drivers/gpio/gpiolib.c
-===================================================================
---- linux-3.1.10.orig/drivers/gpio/gpiolib.c   2012-01-18 16:33:18.000000000 +0100
-+++ linux-3.1.10/drivers/gpio/gpiolib.c        2012-02-03 20:22:42.554529747 +0100
-@@ -64,9 +64,9 @@
+--- a/drivers/gpio/gpiolib.c
++++ b/drivers/gpio/gpiolib.c
+@@ -64,9 +64,9 @@ struct gpio_desc {
  #define GPIO_FLAGS_MASK               ((1 << ID_SHIFT) - 1)
  #define GPIO_TRIGGER_MASK     (BIT(FLAG_TRIG_FALL) | BIT(FLAG_TRIG_RISE))
  
  #define GPIO_FLAGS_MASK               ((1 << ID_SHIFT) - 1)
  #define GPIO_TRIGGER_MASK     (BIT(FLAG_TRIG_FALL) | BIT(FLAG_TRIG_RISE))
  
@@ -14,7 +12,7 @@ Index: linux-3.1.10/drivers/gpio/gpiolib.c
  };
  static struct gpio_desc gpio_desc[ARCH_NR_GPIOS];
  
  };
  static struct gpio_desc gpio_desc[ARCH_NR_GPIOS];
  
-@@ -76,9 +76,9 @@
+@@ -76,9 +76,9 @@ static DEFINE_IDR(dirent_idr);
  
  static inline void desc_set_label(struct gpio_desc *d, const char *label)
  {
  
  static inline void desc_set_label(struct gpio_desc *d, const char *label)
  {
@@ -26,7 +24,7 @@ Index: linux-3.1.10/drivers/gpio/gpiolib.c
  }
  
  /* Warn when drivers omit gpio_request() calls -- legal but ill-advised
  }
  
  /* Warn when drivers omit gpio_request() calls -- legal but ill-advised
-@@ -727,7 +727,6 @@
+@@ -727,7 +727,6 @@ int gpio_export(unsigned gpio, bool dire
  
        if (desc->chip->names && desc->chip->names[gpio - desc->chip->base])
                ioname = desc->chip->names[gpio - desc->chip->base];
  
        if (desc->chip->names && desc->chip->names[gpio - desc->chip->base])
                ioname = desc->chip->names[gpio - desc->chip->base];
@@ -34,7 +32,7 @@ Index: linux-3.1.10/drivers/gpio/gpiolib.c
        if (status == 0) {
                struct device   *dev;
  
        if (status == 0) {
                struct device   *dev;
  
-@@ -1347,11 +1346,11 @@
+@@ -1347,11 +1346,11 @@ const char *gpiochip_is_requested(struct
                return NULL;
        if (test_bit(FLAG_REQUESTED, &gpio_desc[gpio].flags) == 0)
                return NULL;
                return NULL;
        if (test_bit(FLAG_REQUESTED, &gpio_desc[gpio].flags) == 0)
                return NULL;
index 021bb88e4c7217195ba15ae0ef1663f41ef5d19c..e1593bc7556472e014846bd4b400b95d0b19e7ef 100644 (file)
@@ -1,7 +1,5 @@
-Index: linux-3.2.9/arch/mips/lantiq/falcon/mach-easy98000.c
-===================================================================
---- linux-3.2.9.orig/arch/mips/lantiq/falcon/mach-easy98000.c  2012-03-07 19:30:22.000000000 +0100
-+++ linux-3.2.9/arch/mips/lantiq/falcon/mach-easy98000.c       2012-03-07 19:35:47.804810934 +0100
+--- a/arch/mips/lantiq/falcon/mach-easy98000.c
++++ b/arch/mips/lantiq/falcon/mach-easy98000.c
 @@ -17,10 +17,11 @@
  #include <linux/spi/eeprom.h>
  #include <falcon/lantiq_soc.h>
 @@ -17,10 +17,11 @@
  #include <linux/spi/eeprom.h>
  #include <falcon/lantiq_soc.h>
@@ -33,7 +31,7 @@ Index: linux-3.2.9/arch/mips/lantiq/falcon/mach-easy98000.c
  
  static struct mtd_partition easy98000_nor_partitions[] =
  {
  
  static struct mtd_partition easy98000_nor_partitions[] =
  {
-@@ -70,7 +80,7 @@
+@@ -70,7 +80,7 @@ static struct spi_board_info easy98000_s
        .platform_data          = &easy98000_spi_flash_platform_data
  };
  
        .platform_data          = &easy98000_spi_flash_platform_data
  };
  
@@ -42,7 +40,7 @@ Index: linux-3.2.9/arch/mips/lantiq/falcon/mach-easy98000.c
        {
                .name           = "easy98000:green:0",
                .gpio           = EASY98000_GPIO_LED_0,
        {
                .name           = "easy98000:green:0",
                .gpio           = EASY98000_GPIO_LED_0,
-@@ -104,12 +114,11 @@
+@@ -104,12 +114,11 @@ static struct gpio_led easy98000_leds_gp
  
  static struct dm9000_plat_data dm9000_plat_data = {
        .flags = DM9000_PLATF_8BITONLY,
  
  static struct dm9000_plat_data dm9000_plat_data = {
        .flags = DM9000_PLATF_8BITONLY,
@@ -57,7 +55,7 @@ Index: linux-3.2.9/arch/mips/lantiq/falcon/mach-easy98000.c
        [2] = {
                /* with irq (210 -> gpio 110) the driver is very unreliable */
                .start  = -1,           /* use polling */
        [2] = {
                /* with irq (210 -> gpio 110) the driver is very unreliable */
                .start  = -1,           /* use polling */
-@@ -214,8 +223,8 @@
+@@ -214,8 +223,8 @@ easy98000_init_common(void)
        falcon_register_i2c();
        platform_device_register(&easy98000_i2c_gpio_device);
        register_davicom();
        falcon_register_i2c();
        platform_device_register(&easy98000_i2c_gpio_device);
        register_davicom();
index cb77a866e3870b8d9bf0635add9405ecf72d93c8..32aae6ea08ad65a56634743eeddffbd5570d9f59 100644 (file)
@@ -1,8 +1,6 @@
-Index: linux-3.2.9/arch/mips/lantiq/setup.c
-===================================================================
---- linux-3.2.9.orig/arch/mips/lantiq/setup.c  2012-03-20 11:23:49.000000000 +0100
-+++ linux-3.2.9/arch/mips/lantiq/setup.c       2012-03-20 11:25:54.119568502 +0100
-@@ -40,6 +40,12 @@
+--- a/arch/mips/lantiq/setup.c
++++ b/arch/mips/lantiq/setup.c
+@@ -40,6 +40,12 @@ void __init plat_mem_setup(void)
                        e += 8;
                        if (strict_strtoul(e, 0, &memsize))
                                pr_warn("bad memsize specified\n");
                        e += 8;
                        if (strict_strtoul(e, 0, &memsize))
                                pr_warn("bad memsize specified\n");
index 47ade69782a899ba8cccd30e5358ef1f606f2274..0f3161745053f0388a0b5cd36184690876fd98cb 100644 (file)
@@ -13,7 +13,7 @@ SUBTARGETS:=le be
 INITRAMFS_EXTRA_FILES:=
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
 INITRAMFS_EXTRA_FILES:=
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 
 
 include $(INCLUDE_DIR)/target.mk
 
index 4c7cd5b986b62bf97048aebea6fd10853404c879..c28d5f9785f7cd50228b3afefd2606ce941d8357 100644 (file)
@@ -12,7 +12,7 @@ BOARDNAME:=Freescale MPC52xx
 CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=603e
 FEATURES:=targz ext4
 
 CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=603e
 FEATURES:=targz ext4
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 
 
 include $(INCLUDE_DIR)/target.mk
 
index 1f3f88985167a03c439d97464ddbb6ab93007532..37ed32c76dec37bdf84090200b1f45189d4acafa 100644 (file)
@@ -11,7 +11,7 @@ BOARD:=omap4
 BOARDNAME:=TI OMAP4
 FEATURES:=usb targz audio display
 
 BOARDNAME:=TI OMAP4
 FEATURES:=usb targz audio display
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 CFLAGS:=-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
 CFLAGS:=-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
index cceee1d8d3272340740021f81a78baa50cc5b632..c6e8e2b860a578deb1117c25d3bc9a07dbd8b9fa 100644 (file)
@@ -13,7 +13,7 @@ FEATURES:=squashfs
 CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=405
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
 CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=405
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 
 
 include $(INCLUDE_DIR)/target.mk
 
index 35addf25da33a80a0dcdbfe96886378a71b2414a..01d2f63f2e9ab21a8489663e3df67a4a6b9163ec 100644 (file)
@@ -13,7 +13,7 @@ FEATURES:=squashfs
 CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=440
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
 CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=440
 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 
 
 include $(INCLUDE_DIR)/target.mk
 
index 0bd0f7c82cf8ee5291591957e327855ecfc10d89..1265684fce0393fd47fece211e85a2edb5ef86f5 100644 (file)
@@ -13,7 +13,7 @@ SUBTARGETS:=rt288x rt305x rt3883
 CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
 FEATURES:=squashfs
 
 CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
 FEATURES:=squashfs
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 DEFAULT_PACKAGES+=\
 
 include $(INCLUDE_DIR)/target.mk
 DEFAULT_PACKAGES+=\
index 4f4ef7ff8cdc6c14141998c94cbfdff3e29080cd..ea01ff66751cd291b4c86a1c56dc8a3fcae2cecc 100644 (file)
@@ -23,7 +23,7 @@ BOARDNAME:=User Mode Linux
 FEATURES:=ext4 audio
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
 FEATURES:=ext4 audio
 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
 
-LINUX_VERSION:=3.2.12
+LINUX_VERSION:=3.2.13
 
 include $(INCLUDE_DIR)/target.mk
 
 
 include $(INCLUDE_DIR)/target.mk