Changeset 37089


Ignore:
Timestamp:
2013-06-29T20:16:56+02:00 (5 years ago)
Author:
blogic
Message:

lantiq: add v3.9 support

Signed-off-by: John Crispin <blogic@…>

Location:
trunk/target/linux/lantiq
Files:
2 added
24 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/config-3.9

    r37088 r37089  
    1010CONFIG_CEVT_R4K=y 
    1111CONFIG_CLKDEV_LOOKUP=y 
     12CONFIG_CLONE_BACKWARDS=y 
    1213CONFIG_CPU_BIG_ENDIAN=y 
    1314CONFIG_CPU_GENERIC_DUMP_TLB=y 
     
    4243CONFIG_GENERIC_SMP_IDLE_THREAD=y 
    4344CONFIG_GPIOLIB=y 
     45CONFIG_GPIO_DEVRES=y 
    4446CONFIG_GPIO_MM_LANTIQ=y 
    4547CONFIG_GPIO_STP_XWAY=y 
     
    4951CONFIG_HAS_IOMEM=y 
    5052CONFIG_HAS_IOPORT=y 
     53# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set 
    5154CONFIG_HAVE_ARCH_JUMP_LABEL=y 
    5255CONFIG_HAVE_ARCH_KGDB=y 
    53 CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y 
     56# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set 
    5457CONFIG_HAVE_CLK=y 
    5558CONFIG_HAVE_C_RECORDMCOUNT=y 
     
    6568CONFIG_HAVE_GENERIC_HARDIRQS=y 
    6669CONFIG_HAVE_IDE=y 
    67 CONFIG_HAVE_IRQ_WORK=y 
    6870CONFIG_HAVE_MACH_CLKDEV=y 
    6971CONFIG_HAVE_MEMBLOCK=y 
     
    7981CONFIG_HZ_250=y 
    8082CONFIG_INITRAMFS_SOURCE="" 
     83CONFIG_IRQCHIP=y 
    8184CONFIG_IRQ_CPU=y 
    8285CONFIG_IRQ_DOMAIN=y 
    8386CONFIG_IRQ_FORCED_THREADING=y 
     87CONFIG_IRQ_WORK=y 
    8488CONFIG_LANTIQ=y 
    8589CONFIG_LANTIQ_ETOP=y 
     
    8892CONFIG_LANTIQ_XRX200=y 
    8993CONFIG_LEDS_GPIO=y 
    90 # CONFIG_LZO_COMPRESS is not set 
    91 # CONFIG_LZO_DECOMPRESS is not set 
    9294CONFIG_MDIO_BOARDINFO=y 
    9395CONFIG_MIPS=y 
     
    113115CONFIG_OF_ADDRESS=y 
    114116CONFIG_OF_DEVICE=y 
     117# CONFIG_OF_DISPLAY_TIMING is not set 
    115118CONFIG_OF_EARLY_FLATTREE=y 
    116119CONFIG_OF_FLATTREE=y 
     
    122125CONFIG_OF_PCI=y 
    123126CONFIG_OF_PCI_IRQ=y 
     127# CONFIG_OF_VIDEOMODE is not set 
    124128CONFIG_PAGEFLAGS_EXTENDED=y 
    125129CONFIG_PCI=y 
     
    127131CONFIG_PCI_DOMAINS=y 
    128132CONFIG_PCI_LANTIQ=y 
    129 CONFIG_PERCPU_RWSEM=y 
    130133CONFIG_PERF_USE_VMALLOC=y 
    131134CONFIG_PHYLIB=y 
     
    139142CONFIG_PROC_DEVICETREE=y 
    140143CONFIG_PSB6970_PHY=y 
     144# CONFIG_RCU_STALL_COMMON is not set 
    141145CONFIG_RTL8366RB_PHY=y 
    142146CONFIG_RTL8366_SMI=y 
  • trunk/target/linux/lantiq/patches-3.9/0001-MTD-m25p80-allow-loading-mtd-name-from-OF.patch

    r37088 r37089  
    1 From e65ecb8f256b5839690a240d9b14e303686f9ede Mon Sep 17 00:00:00 2001 
     1From 0a27a5e5917d8d5e179763788c204d12895c278b Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Tue, 29 Jan 2013 21:11:55 +0100 
    4 Subject: [PATCH 01/40] MTD: m25p80: allow loading mtd name from OF 
     4Subject: [PATCH 01/22] MTD: m25p80: allow loading mtd name from OF 
    55 
    66In accordance with the physmap flash we should honour the linux,mtd-name 
     
    1313 1 file changed, 5 insertions(+) 
    1414 
     15diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c 
     16index 5b6b072..3a7a8f7 100644 
    1517--- a/drivers/mtd/devices/m25p80.c 
    1618+++ b/drivers/mtd/devices/m25p80.c 
    17 @@ -828,10 +828,13 @@ static int m25p_probe(struct spi_device 
     19@@ -904,10 +904,13 @@ static int m25p_probe(struct spi_device *spi) 
    1820        unsigned                        i; 
    1921        struct mtd_part_parser_data     ppdata; 
     
    2931  
    3032        /* Platform data helps sort out which chip type we have, as 
    31 @@ -907,6 +910,8 @@ static int m25p_probe(struct spi_device 
     33@@ -983,6 +986,8 @@ static int m25p_probe(struct spi_device *spi) 
    3234  
    3335        if (data && data->name) 
     
    3840                flash->mtd.name = dev_name(&spi->dev); 
    3941  
     42--  
     431.7.10.4 
     44 
  • trunk/target/linux/lantiq/patches-3.9/0002-MIPS-lantiq-adds-4dword-burst-length-for-dma.patch

    r37088 r37089  
    1 From 5be3837d01ea56e1455781f1b51764bd896973f2 Mon Sep 17 00:00:00 2001 
     1From e9e520f4f10fdd673e5083bdc082515425ed7457 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Thu, 6 Dec 2012 11:59:23 +0100 
    4 Subject: [PATCH 20/40] MIPS: lantiq: adds 4dword burst length for dma 
     4Subject: [PATCH 02/22] MIPS: lantiq: adds 4dword burst length for dma 
    55 
    66--- 
     
    88 1 file changed, 3 insertions(+), 1 deletion(-) 
    99 
     10diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c 
     11index 08f7ebd..ccf1451 100644 
    1012--- a/arch/mips/lantiq/xway/dma.c 
    1113+++ b/arch/mips/lantiq/xway/dma.c 
    12 @@ -47,6 +47,7 @@ 
     14@@ -48,6 +48,7 @@ 
    1315 #define DMA_IRQ_ACK            0x7e            /* IRQ status register */ 
    1416 #define DMA_POLL               BIT(31)         /* turn on channel polling */ 
     
    1820 #define DMA_MAX_CHANNEL                20              /* the soc has 20 channels */ 
    1921 #define DMA_ETOP_ENDIANNESS    (0xf << 8) /* endianness swap etop channels */ 
    20 @@ -195,7 +196,8 @@ ltq_dma_init_port(int p) 
     22@@ -196,7 +197,8 @@ ltq_dma_init_port(int p) 
    2123                 * Tell the DMA engine to swap the endianness of data frames and 
    2224                 * drop packets if the channel arbitration fails. 
     
    2830                break; 
    2931  
     32--  
     331.7.10.4 
     34 
  • trunk/target/linux/lantiq/patches-3.9/0003-GPIO-MIPS-add-gpio-driver-for-falcon-SoC.patch

    r37088 r37089  
    1 From ff3d0dd789882ad552a5224d34e5db426e1c45fe Mon Sep 17 00:00:00 2001 
     1From 0c11f1ffaa2015a791e925741b0cdb38a2ef7e97 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sat, 23 Jun 2012 15:32:33 +0200 
    4 Subject: [PATCH 21/40] GPIO: MIPS: add gpio driver for falcon SoC 
     4Subject: [PATCH 03/22] GPIO: MIPS: add gpio driver for falcon SoC 
    55 
    66Add driver for GPIO blocks found on Lantiq FALCON SoC. The SoC has 5 banks of 
     
    1717 create mode 100644 drivers/gpio/gpio-falcon.c 
    1818 
     19diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig 
     20index 93aaadf..8cc0e74 100644 
    1921--- a/drivers/gpio/Kconfig 
    2022+++ b/drivers/gpio/Kconfig 
    21 @@ -133,6 +133,11 @@ config GPIO_EP93XX 
     23@@ -136,6 +136,11 @@ config GPIO_EP93XX 
    2224        depends on ARCH_EP93XX 
    2325        select GPIO_GENERIC 
     
    3133        bool "Lantiq Memory mapped GPIOs" 
    3234        depends on LANTIQ && SOC_XWAY 
     35diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile 
     36index 22e07bc..f1762be 100644 
    3337--- a/drivers/gpio/Makefile 
    3438+++ b/drivers/gpio/Makefile 
    35 @@ -24,6 +24,7 @@ obj-$(CONFIG_GPIO_DA9055)     += gpio-da9055 
     39@@ -24,6 +24,7 @@ obj-$(CONFIG_GPIO_DA9055)     += gpio-da9055.o 
    3640 obj-$(CONFIG_ARCH_DAVINCI)     += gpio-davinci.o 
    3741 obj-$(CONFIG_GPIO_EM)          += gpio-em.o 
     
    4145 obj-$(CONFIG_GPIO_ICH)         += gpio-ich.o 
    4246 obj-$(CONFIG_GPIO_IT8761E)     += gpio-it8761e.o 
     47diff --git a/drivers/gpio/gpio-falcon.c b/drivers/gpio/gpio-falcon.c 
     48new file mode 100644 
     49index 0000000..ae8b55d 
    4350--- /dev/null 
    4451+++ b/drivers/gpio/gpio-falcon.c 
     
    393400+ 
    394401+subsys_initcall(falcon_gpio_init); 
     402--  
     4031.7.10.4 
     404 
  • trunk/target/linux/lantiq/patches-3.9/0004-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch

    r37088 r37089  
    1 From 09628160c97e9bd7dfbb39fd467cf17f1e43e85c Mon Sep 17 00:00:00 2001 
     1From 6a68cfb053a7c95ff36c7c2ce2a092aa98620422 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Sun, 20 May 2012 00:42:39 +0200 
    4 Subject: [PATCH 22/40] I2C: MIPS: lantiq: add FALC-ON i2c bus master 
     4Subject: [PATCH 04/22] I2C: MIPS: lantiq: add FALC-ON i2c bus master 
    55 
    66This patch adds the driver needed to make the I2C bus work on FALC-ON SoCs. 
     
    1717 create mode 100644 drivers/i2c/busses/i2c-lantiq.h 
    1818 
     19diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig 
     20index adfee98..83d3147 100644 
    1921--- a/drivers/i2c/busses/Kconfig 
    2022+++ b/drivers/i2c/busses/Kconfig 
    21 @@ -470,6 +470,16 @@ config I2C_IOP3XX 
     23@@ -494,6 +494,16 @@ config I2C_IOP3XX 
    2224          This driver can also be built as a module.  If so, the module 
    2325          will be called i2c-iop3xx. 
     
    3638        tristate "MPC107/824x/85xx/512x/52xx/83xx/86xx" 
    3739        depends on PPC 
     40diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile 
     41index 8f4fc23..3273061 100644 
    3842--- a/drivers/i2c/busses/Makefile 
    3943+++ b/drivers/i2c/busses/Makefile 
    40 @@ -46,6 +46,7 @@ obj-$(CONFIG_I2C_IBM_IIC)     += i2c-ibm_iic 
     44@@ -48,6 +48,7 @@ obj-$(CONFIG_I2C_IBM_IIC)     += i2c-ibm_iic.o 
    4145 obj-$(CONFIG_I2C_IMX)          += i2c-imx.o 
    4246 obj-$(CONFIG_I2C_INTEL_MID)    += i2c-intel-mid.o 
     
    4650 obj-$(CONFIG_I2C_MV64XXX)      += i2c-mv64xxx.o 
    4751 obj-$(CONFIG_I2C_MXS)          += i2c-mxs.o 
     52diff --git a/drivers/i2c/busses/i2c-lantiq.c b/drivers/i2c/busses/i2c-lantiq.c 
     53new file mode 100644 
     54index 0000000..9a5f58b 
    4855--- /dev/null 
    4956+++ b/drivers/i2c/busses/i2c-lantiq.c 
     
    796803+MODULE_LICENSE("GPL"); 
    797804+MODULE_VERSION(DRV_VERSION); 
     805diff --git a/drivers/i2c/busses/i2c-lantiq.h b/drivers/i2c/busses/i2c-lantiq.h 
     806new file mode 100644 
     807index 0000000..7a86b89 
    798808--- /dev/null 
    799809+++ b/drivers/i2c/busses/i2c-lantiq.h 
     
    10331043+ 
    10341044+#endif /* I2C_LANTIQ_H */ 
     1045--  
     10461.7.10.4 
     1047 
  • trunk/target/linux/lantiq/patches-3.9/0005-USB-fix-roothub-for-IFXHCD.patch

    r37088 r37089  
    1 From e6c3c0d86a581e0738e18e5a3369ded8527a3315 Mon Sep 17 00:00:00 2001 
     1From 36474b3c976055f9f96df76286a5da4812354259 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Thu, 6 Dec 2012 19:59:53 +0100 
    4 Subject: [PATCH 23/40] USB: fix roothub for IFXHCD 
     4Subject: [PATCH 05/22] USB: fix roothub for IFXHCD 
    55 
    66--- 
     
    99 2 files changed, 2 insertions(+), 1 deletion(-) 
    1010 
     11diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig 
     12index c002191..675310a 100644 
    1113--- a/arch/mips/lantiq/Kconfig 
    1214+++ b/arch/mips/lantiq/Kconfig 
     
    1921  
    2022 choice 
     23diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c 
     24index 5480352..9763b0d 100644 
    2125--- a/drivers/usb/core/hub.c 
    2226+++ b/drivers/usb/core/hub.c 
    23 @@ -4007,7 +4007,7 @@ hub_port_init (struct usb_hub *hub, stru 
     27@@ -4016,7 +4016,7 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, 
    2428                udev->ttport = hdev->ttport; 
    2529        } else if (udev->speed != USB_SPEED_HIGH 
     
    3034                        retval = -EINVAL; 
    3135                        goto fail; 
     36--  
     371.7.10.4 
     38 
  • trunk/target/linux/lantiq/patches-3.9/0006-SPI-MIPS-lantiq-adds-spi-xway.patch

    r37088 r37089  
    1 From 60092075ded3e51036fd018ba6d9cc49e7079dcd Mon Sep 17 00:00:00 2001 
     1From b7494572c4198e619a95a903da151fc27fc84a10 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Wed, 13 Mar 2013 09:29:37 +0100 
    4 Subject: [PATCH 24/40] SPI: MIPS: lantiq: adds spi-xway 
     4Subject: [PATCH 06/22] SPI: MIPS: lantiq: adds spi-xway 
    55 
    66This patch adds support for the SPI core found on several Lantiq SoCs. 
     
    1717 create mode 100644 drivers/spi/spi-xway.c 
    1818 
     19diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig 
     20index 2be0de9..2c8cd63 100644 
    1921--- a/drivers/spi/Kconfig 
    2022+++ b/drivers/spi/Kconfig 
    21 @@ -458,6 +458,14 @@ config SPI_NUC900 
     23@@ -461,6 +461,14 @@ config SPI_NUC900 
    2224        help 
    2325          SPI driver for Nuvoton NUC900 series ARM SoCs 
     
    3436 # Add new SPI master controllers in alphabetical order above this line 
    3537 # 
     38diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile 
     39index e53c309..f65578d 100644 
    3640--- a/drivers/spi/Makefile 
    3741+++ b/drivers/spi/Makefile 
    38 @@ -69,3 +69,4 @@ obj-$(CONFIG_SPI_TOPCLIFF_PCH)                += spi-t 
     42@@ -71,3 +71,4 @@ obj-$(CONFIG_SPI_TOPCLIFF_PCH)                += spi-topcliff-pch.o 
    3943 obj-$(CONFIG_SPI_TXX9)                 += spi-txx9.o 
    4044 obj-$(CONFIG_SPI_XCOMM)                += spi-xcomm.o 
    4145 obj-$(CONFIG_SPI_XILINX)               += spi-xilinx.o 
    4246+obj-$(CONFIG_SPI_XWAY)                 += spi-xway.o 
     47diff --git a/drivers/spi/spi-xway.c b/drivers/spi/spi-xway.c 
     48new file mode 100644 
     49index 0000000..61532e3 
    4350--- /dev/null 
    4451+++ b/drivers/spi/spi-xway.c 
     
    10211028+MODULE_LICENSE("GPL"); 
    10221029+MODULE_ALIAS("platform:spi-xway"); 
     1030--  
     10311.7.10.4 
     1032 
  • trunk/target/linux/lantiq/patches-3.9/0007-NET-MIPS-lantiq-adds-xrx200-net.patch

    r37088 r37089  
    1 From fbfdf78ba827a8f854ae3ed7b11ea6df4054ffb1 Mon Sep 17 00:00:00 2001 
     1From 0d37b9ab3cff327b7db083785a89f23944c192f4 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Mon, 22 Oct 2012 12:22:23 +0200 
    4 Subject: [PATCH 25/40] NET: MIPS: lantiq: adds xrx200-net 
     4Subject: [PATCH 07/22] NET: MIPS: lantiq: adds xrx200-net 
    55 
    66--- 
     
    1313 create mode 100644 drivers/net/ethernet/lantiq_xrx200.c 
    1414 
    15 Index: linux-3.8.13/drivers/net/ethernet/Kconfig 
    16 =================================================================== 
    17 --- linux-3.8.13.orig/drivers/net/ethernet/Kconfig      2013-05-11 22:57:46.000000000 +0200 
    18 +++ linux-3.8.13/drivers/net/ethernet/Kconfig   2013-06-28 17:46:34.521054618 +0200 
    19 @@ -83,7 +83,13 @@ 
     15diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig 
     16index ed956e0..9261fe4 100644 
     17--- a/drivers/net/ethernet/Kconfig 
     18+++ b/drivers/net/ethernet/Kconfig 
     19@@ -83,7 +83,13 @@ config LANTIQ_ETOP 
    2020        tristate "Lantiq SoC ETOP driver" 
    2121        depends on SOC_TYPE_XWAY 
     
    3232 source "drivers/net/ethernet/marvell/Kconfig" 
    3333 source "drivers/net/ethernet/mellanox/Kconfig" 
    34 Index: linux-3.8.13/drivers/net/ethernet/Makefile 
    35 =================================================================== 
    36 --- linux-3.8.13.orig/drivers/net/ethernet/Makefile     2013-05-11 22:57:46.000000000 +0200 
    37 +++ linux-3.8.13/drivers/net/ethernet/Makefile  2013-06-28 17:46:34.521054618 +0200 
    38 @@ -36,6 +36,7 @@ 
     34diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile 
     35index 8268d85..e8410d8 100644 
     36--- a/drivers/net/ethernet/Makefile 
     37+++ b/drivers/net/ethernet/Makefile 
     38@@ -36,6 +36,7 @@ obj-$(CONFIG_IP1000) += icplus/ 
    3939 obj-$(CONFIG_JME) += jme.o 
    4040 obj-$(CONFIG_KORINA) += korina.o 
     
    4444 obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/ 
    4545 obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/ 
    46 Index: linux-3.8.13/drivers/net/ethernet/lantiq_pce.h 
    47 =================================================================== 
    48 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    49 +++ linux-3.8.13/drivers/net/ethernet/lantiq_pce.h      2013-06-28 17:46:34.525054619 +0200 
     46diff --git a/drivers/net/ethernet/lantiq_pce.h b/drivers/net/ethernet/lantiq_pce.h 
     47new file mode 100644 
     48index 0000000..0c38efe 
     49--- /dev/null 
     50+++ b/drivers/net/ethernet/lantiq_pce.h 
    5051@@ -0,0 +1,163 @@ 
    5152+/* 
     
    212213+       MC_ENTRY(0x0000, 0x0000, 39, OUT_NONE,   0, INSTR,   FLAG_END,   0), 
    213214+}; 
    214 Index: linux-3.8.13/drivers/net/ethernet/lantiq_xrx200.c 
    215 =================================================================== 
    216 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    217 +++ linux-3.8.13/drivers/net/ethernet/lantiq_xrx200.c   2013-06-29 18:09:53.932157475 +0200 
     215diff --git a/drivers/net/ethernet/lantiq_xrx200.c b/drivers/net/ethernet/lantiq_xrx200.c 
     216new file mode 100644 
     217index 0000000..ed892d0 
     218--- /dev/null 
     219+++ b/drivers/net/ethernet/lantiq_xrx200.c 
    218220@@ -0,0 +1,1203 @@ 
    219221+/* 
     
    14201422+MODULE_DESCRIPTION("Lantiq SoC XRX200 ethernet"); 
    14211423+MODULE_LICENSE("GPL"); 
     1424--  
     14251.7.10.4 
     1426 
  • trunk/target/linux/lantiq/patches-3.9/0008-NET-lantiq-adds-PHY11G-firmware-blobs.patch

    r37088 r37089  
    1 From 9664031d0f35be450330bf30ded1c359b9074251 Mon Sep 17 00:00:00 2001 
     1From cdada9758f836cb6a842c29de435465fe66d66a2 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Mon, 22 Oct 2012 09:26:24 +0200 
    4 Subject: [PATCH 28/40] NET: lantiq: adds PHY11G firmware blobs 
     4Subject: [PATCH 08/22] NET: lantiq: adds PHY11G firmware blobs 
    55 
    66Signed-off-by: John Crispin <blogic@openwrt.org> 
    77--- 
    8  firmware/Makefile       |    2 + 
     8 firmware/Makefile       |    3 + 
    99 firmware/lantiq/COPYING |  286 +++++++++++++++++++++++++++++++++++++++++++++++ 
    1010 firmware/lantiq/README  |   45 ++++++++ 
    11  3 files changed, 333 insertions(+) 
     11 3 files changed, 334 insertions(+) 
    1212 create mode 100644 firmware/lantiq/COPYING 
    1313 create mode 100644 firmware/lantiq/README 
    1414 
     15diff --git a/firmware/Makefile b/firmware/Makefile 
     16index cbb09ce..f4a315c 100644 
    1517--- a/firmware/Makefile 
    1618+++ b/firmware/Makefile 
    17 @@ -134,6 +134,9 @@ fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_P 
     19@@ -134,6 +134,9 @@ fw-shipped-$(CONFIG_USB_SERIAL_KEYSPAN_PDA) += keyspan_pda/keyspan_pda.fw 
    1820 fw-shipped-$(CONFIG_USB_SERIAL_XIRCOM) += keyspan_pda/xircom_pgs.fw 
    1921 fw-shipped-$(CONFIG_USB_VICAM) += vicam/firmware.fw 
     
    2527  
    2628 fw-shipped-all := $(fw-shipped-y) $(fw-shipped-m) $(fw-shipped-) 
     29diff --git a/firmware/lantiq/COPYING b/firmware/lantiq/COPYING 
     30new file mode 100644 
     31index 0000000..5ec70b2 
    2732--- /dev/null 
    2833+++ b/firmware/lantiq/COPYING 
     
    318323+ 
    319324+                    END OF TERMS AND CONDITIONS 
     325diff --git a/firmware/lantiq/README b/firmware/lantiq/README 
     326new file mode 100644 
     327index 0000000..cb1a10a 
    320328--- /dev/null 
    321329+++ b/firmware/lantiq/README 
     
    366374+lantiq/vr9_phy11g_a2x.bin 
    367375+lantiq/vr9_phy22f_a2x.bin 
     376--  
     3771.7.10.4 
     378 
  • trunk/target/linux/lantiq/patches-3.9/0009-NET-PHY-adds-driver-for-lantiq-PHY11G.patch

    r37088 r37089  
    1 From 0721e9f0502e633390044e651970692213283686 Mon Sep 17 00:00:00 2001 
     1From 615cd43fa886a79cf717bba38a3243aeb3b66217 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    3 Date: Wed, 13 Mar 2013 09:30:22 +0100 
    4 Subject: [PATCH 27/40] NET: PHY: adds driver for lantiq PHY11G 
     3Date: Sat, 29 Jun 2013 19:13:39 +0200 
     4Subject: [PATCH 09/22] NET: PHY: adds driver for lantiq PHY11G 
    55 
    66Signed-off-by: John Crispin <blogic@openwrt.org> 
     
    1212 create mode 100644 drivers/net/phy/lantiq.c 
    1313 
     14diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig 
     15index 4503452..edc61b0 100644 
    1416--- a/drivers/net/phy/Kconfig 
    1517+++ b/drivers/net/phy/Kconfig 
    16 @@ -150,6 +150,11 @@ config MICREL_PHY 
     18@@ -106,6 +106,11 @@ config MICREL_PHY 
    1719        ---help--- 
    18           Currently has a driver for the KSZ8041 
     20          Supports the KSZ9021, VSC8201, KS8001 PHYs. 
    1921  
    2022+config LANTIQ_PHY 
     
    2628        bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs" 
    2729        depends on PHYLIB=y 
     30diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile 
     31index 9645e38..e2eeee3 100644 
    2832--- a/drivers/net/phy/Makefile 
    2933+++ b/drivers/net/phy/Makefile 
    30 @@ -39,6 +39,7 @@ obj-$(CONFIG_NATIONAL_PHY)    += national.o 
     34@@ -23,6 +23,7 @@ obj-$(CONFIG_NATIONAL_PHY)    += national.o 
    3135 obj-$(CONFIG_DP83640_PHY)      += dp83640.o 
    3236 obj-$(CONFIG_STE10XP)          += ste10Xp.o 
     
    3640 obj-$(CONFIG_MICREL_KS8995MA)  += spi_ks8995.o 
    3741 obj-$(CONFIG_AT803X_PHY)       += at803x.o 
     42diff --git a/drivers/net/phy/lantiq.c b/drivers/net/phy/lantiq.c 
     43new file mode 100644 
     44index 0000000..418dff0 
    3845--- /dev/null 
    3946+++ b/drivers/net/phy/lantiq.c 
     
    259266+MODULE_AUTHOR("Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>"); 
    260267+MODULE_LICENSE("GPL"); 
     268--  
     2691.7.10.4 
     270 
  • trunk/target/linux/lantiq/patches-3.9/0010-NET-MIPS-lantiq-update-etop-driver-for-devicetree.patch

    r37088 r37089  
    1 From 32010516999c75d8e8ea95779137438f4f6d06ae Mon Sep 17 00:00:00 2001 
     1From fd69e82feee0966fd61374ea76d6ff36ce42e51c Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    3 Date: Wed, 13 Mar 2013 09:32:16 +0100 
    4 Subject: [PATCH 26/40] NET: MIPS: lantiq: update etop driver for devicetree 
     3Date: Sat, 29 Jun 2013 19:42:16 +0200 
     4Subject: [PATCH 10/22] NET: MIPS: lantiq: update etop driver for devicetree 
    55 
    66--- 
    7  drivers/net/ethernet/lantiq_etop.c |  496 +++++++++++++++++++++++++----------- 
    8  1 file changed, 351 insertions(+), 145 deletions(-) 
     7 drivers/net/ethernet/lantiq_etop.c |  500 +++++++++++++++++++++++++----------- 
     8 1 file changed, 354 insertions(+), 146 deletions(-) 
    99 
     10diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c 
     11index bfdb0686..c711787 100644 
    1012--- a/drivers/net/ethernet/lantiq_etop.c 
    1113+++ b/drivers/net/ethernet/lantiq_etop.c 
     
    3436 #define ETOP_PLEN_UNDER                0x40 
    3537 #define ETOP_CGEN              0x800 
    36 +#define ETOP_CFG_MII0          0x01 
    37   
     38- 
    3839-/* use 2 static channels for TX/RX */ 
    3940-#define LTQ_ETOP_TX_CHANNEL    1 
     
    4142-#define IS_TX(x)               (x == LTQ_ETOP_TX_CHANNEL) 
    4243-#define IS_RX(x)               (x == LTQ_ETOP_RX_CHANNEL) 
     44- 
     45+#define ETOP_CFG_MII0          0x01 
     46+ 
    4347+#define LTQ_GBIT_MDIO_CTL      0xCC 
    4448+#define LTQ_GBIT_MDIO_DATA     0xd0 
     
    7175+#define MDIO_XR9_ADDR_OFFSET   5 
    7276+#define MDIO_XR9_WR_OFFSET     16 
    73   
     77+ 
    7478+#define LTQ_DMA_ETOP   ((of_machine_is_compatible("lantiq,ase")) ? \ 
    7579+                       (INT_NUM_IM3_IRL0) : (INT_NUM_IM2_IRL0)) 
     
    139143                return -ENOMEM; 
    140144        ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(NULL, 
    141 @@ -149,8 +202,11 @@ ltq_etop_hw_receive(struct ltq_etop_chan 
     145@@ -149,8 +202,11 @@ ltq_etop_hw_receive(struct ltq_etop_chan *ch) 
    142146        spin_unlock_irqrestore(&priv->lock, flags); 
    143147  
     
    151155  
    152156 static int 
    153 @@ -158,8 +214,10 @@ ltq_etop_poll_rx(struct napi_struct *nap 
     157@@ -158,8 +214,10 @@ ltq_etop_poll_rx(struct napi_struct *napi, int budget) 
    154158 { 
    155159        struct ltq_etop_chan *ch = container_of(napi, 
     
    162166        while ((rx < budget) && !complete) { 
    163167                struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; 
    164 @@ -173,7 +231,9 @@ ltq_etop_poll_rx(struct napi_struct *nap 
     168@@ -173,7 +231,9 @@ ltq_etop_poll_rx(struct napi_struct *napi, int budget) 
    165169        } 
    166170        if (complete || !rx) { 
     
    172176        return rx; 
    173177 } 
    174 @@ -185,12 +245,14 @@ ltq_etop_poll_tx(struct napi_struct *nap 
     178@@ -185,12 +245,14 @@ ltq_etop_poll_tx(struct napi_struct *napi, int budget) 
    175179                container_of(napi, struct ltq_etop_chan, napi); 
    176180        struct ltq_etop_priv *priv = netdev_priv(ch->netdev); 
     
    188192                ch->skb[ch->tx_free] = NULL; 
    189193                memset(&ch->dma.desc_base[ch->tx_free], 0, 
    190 @@ -203,7 +265,9 @@ ltq_etop_poll_tx(struct napi_struct *nap 
     194@@ -203,7 +265,9 @@ ltq_etop_poll_tx(struct napi_struct *napi, int budget) 
    191195        if (netif_tx_queue_stopped(txq)) 
    192196                netif_tx_start_queue(txq); 
     
    212216 } 
    213217  
    214 @@ -225,7 +290,7 @@ ltq_etop_free_channel(struct net_device 
     218@@ -225,7 +290,7 @@ ltq_etop_free_channel(struct net_device *dev, struct ltq_etop_chan *ch) 
    215219        ltq_dma_free(&ch->dma); 
    216220        if (ch->dma.irq) 
     
    380384  
    381385 static void 
    382 @@ -312,7 +442,10 @@ ltq_etop_get_settings(struct net_device 
     386@@ -312,7 +442,10 @@ ltq_etop_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) 
    383387 { 
    384388        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    392396  
    393397 static int 
    394 @@ -320,7 +453,10 @@ ltq_etop_set_settings(struct net_device 
     398@@ -320,7 +453,10 @@ ltq_etop_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) 
    395399 { 
    396400        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    404408  
    405409 static int 
    406 @@ -328,7 +464,10 @@ ltq_etop_nway_reset(struct net_device *d 
     410@@ -328,7 +464,10 @@ ltq_etop_nway_reset(struct net_device *dev) 
    407411 { 
    408412        struct ltq_etop_priv *priv = netdev_priv(dev); 
     
    416420  
    417421 static const struct ethtool_ops ltq_etop_ethtool_ops = { 
    418 @@ -339,6 +478,39 @@ static const struct ethtool_ops ltq_etop 
     422@@ -339,6 +478,39 @@ static const struct ethtool_ops ltq_etop_ethtool_ops = { 
    419423 }; 
    420424  
     
    456460 { 
    457461        u32 val = MDIO_REQUEST | 
    458 @@ -379,14 +551,18 @@ ltq_etop_mdio_probe(struct net_device *d 
     462@@ -379,14 +551,18 @@ ltq_etop_mdio_probe(struct net_device *dev) 
    459463 { 
    460464        struct ltq_etop_priv *priv = netdev_priv(dev); 
    461465        struct phy_device *phydev = NULL; 
    462466-       int phy_addr; 
     467- 
     468-       for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { 
     469-               if (priv->mii_bus->phy_map[phy_addr]) { 
     470-                       phydev = priv->mii_bus->phy_map[phy_addr]; 
     471-                       break; 
     472-               } 
     473-       } 
    463474+       u32 phy_supported =  (SUPPORTED_10baseT_Half 
    464475+                       | SUPPORTED_10baseT_Full 
     
    468479+                       | SUPPORTED_MII 
    469480+                       | SUPPORTED_TP); 
    470   
    471 -       for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { 
    472 -               if (priv->mii_bus->phy_map[phy_addr]) { 
    473 -                       phydev = priv->mii_bus->phy_map[phy_addr]; 
    474 -                       break; 
    475 -               } 
    476 -       } 
     481+ 
    477482+       if (of_machine_is_compatible("lantiq,ase")) 
    478483+               phydev = priv->mii_bus->phy_map[8]; 
     
    482487        if (!phydev) { 
    483488                netdev_err(dev, "no PHY found\n"); 
    484 @@ -394,21 +570,18 @@ ltq_etop_mdio_probe(struct net_device *d 
    485         } 
    486   
    487         phydev = phy_connect(dev, dev_name(&phydev->dev), &ltq_etop_mdio_link, 
    488 -                       0, priv->pldata->mii_mode); 
    489 +                       0, priv->mii_mode); 
     489@@ -394,21 +570,18 @@ ltq_etop_mdio_probe(struct net_device *dev) 
     490        } 
     491  
     492        phydev = phy_connect(dev, dev_name(&phydev->dev), 
     493-                            &ltq_etop_mdio_link, priv->pldata->mii_mode); 
     494+                       &ltq_etop_mdio_link, priv->mii_mode); 
    490495  
    491496        if (IS_ERR(phydev)) { 
     
    509514        priv->phydev = phydev; 
    510515        pr_info("%s: attached PHY [%s] (phy_addr=%s, irq=%d)\n", 
    511 @@ -433,8 +606,13 @@ ltq_etop_mdio_init(struct net_device *de 
     516@@ -433,8 +606,13 @@ ltq_etop_mdio_init(struct net_device *dev) 
    512517        } 
    513518  
     
    565570-       for (i = 0; i < MAX_DMA_CHAN; i++) { 
    566571-               struct ltq_etop_chan *ch = &priv->ch[i]; 
    567 - 
     572+       if (priv->phydev) 
     573+               phy_stop(priv->phydev); 
     574+       napi_disable(&priv->txch.napi); 
     575+       napi_disable(&priv->rxch.napi); 
     576+ 
     577+       spin_lock_irqsave(&priv->lock, flags); 
     578+       ltq_dma_close(&priv->txch.dma); 
     579+       ltq_dma_close(&priv->rxch.dma); 
     580+       spin_unlock_irqrestore(&priv->lock, flags); 
     581  
    568582-               if (!IS_RX(i) && !IS_TX(i)) 
    569583-                       continue; 
     
    571585-               ltq_dma_close(&ch->dma); 
    572586-       } 
    573 +       if (priv->phydev) 
    574 +               phy_stop(priv->phydev); 
    575 +       napi_disable(&priv->txch.napi); 
    576 +       napi_disable(&priv->rxch.napi); 
    577 + 
    578 +       spin_lock_irqsave(&priv->lock, flags); 
    579 +       ltq_dma_close(&priv->txch.dma); 
    580 +       ltq_dma_close(&priv->rxch.dma); 
    581 +       spin_unlock_irqrestore(&priv->lock, flags); 
    582 + 
    583587        return 0; 
    584588 } 
    585589  
    586 @@ -523,16 +704,16 @@ ltq_etop_tx(struct sk_buff *skb, struct 
     590@@ -523,16 +704,16 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
    587591        int queue = skb_get_queue_mapping(skb); 
    588592        struct netdev_queue *txq = netdev_get_tx_queue(dev, queue); 
     
    606610                netif_tx_stop_queue(txq); 
    607611                return NETDEV_TX_BUSY; 
    608 @@ -540,7 +721,7 @@ ltq_etop_tx(struct sk_buff *skb, struct 
     612@@ -540,7 +721,7 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
    609613  
    610614        /* dma needs to start on a 16 byte aligned address */ 
     
    615619        dev->trans_start = jiffies; 
    616620  
    617 @@ -550,11 +731,11 @@ ltq_etop_tx(struct sk_buff *skb, struct 
     621@@ -550,11 +731,11 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev) 
    618622        wmb(); 
    619623        desc->ctl = LTQ_DMA_OWN | LTQ_DMA_SOP | LTQ_DMA_EOP | 
     
    630634  
    631635        return NETDEV_TX_OK; 
    632 @@ -633,34 +814,32 @@ ltq_etop_init(struct net_device *dev) 
     636@@ -633,34 +814,33 @@ ltq_etop_init(struct net_device *dev) 
    633637        struct ltq_etop_priv *priv = netdev_priv(dev); 
    634638        struct sockaddr mac; 
     
    648652  
    649653-       memcpy(&mac, &priv->pldata->mac, sizeof(struct sockaddr)); 
    650 +       memcpy(&mac.sa_data, priv->mac, ETH_ALEN); 
     654+       if (priv->mac) 
     655+               memcpy(&mac.sa_data, priv->mac, ETH_ALEN); 
    651656        if (!is_valid_ether_addr(mac.sa_data)) { 
    652657                pr_warn("etop: invalid MAC, using random\n"); 
     
    662667-       /* Set addr_assign_type here, ltq_etop_set_mac_address would reset it. */ 
    663668-       if (random_mac) 
    664 -               dev->addr_assign_type |= NET_ADDR_RANDOM; 
     669-               dev->addr_assign_type = NET_ADDR_RANDOM; 
    665670- 
    666671        ltq_etop_set_multicast_list(dev); 
     
    675680  
    676681 err_netdev: 
    677 @@ -680,6 +859,9 @@ ltq_etop_tx_timeout(struct net_device *d 
     682@@ -680,6 +860,9 @@ ltq_etop_tx_timeout(struct net_device *dev) 
    678683        err = ltq_etop_hw_init(dev); 
    679684        if (err) 
     
    685690        netif_wake_queue(dev); 
    686691        return; 
    687 @@ -703,14 +885,19 @@ static const struct net_device_ops ltq_e 
     692@@ -703,14 +886,18 @@ static const struct net_device_ops ltq_eth_netdev_ops = { 
    688693        .ndo_tx_timeout = ltq_etop_tx_timeout, 
    689694 }; 
    690695  
    691696-static int __init 
    692 +static int __devinit 
    693  ltq_etop_probe(struct platform_device *pdev) 
     697-ltq_etop_probe(struct platform_device *pdev) 
     698+static int ltq_etop_probe(struct platform_device *pdev) 
    694699 { 
    695700        struct net_device *dev; 
     
    708713        res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 
    709714        if (!res) { 
    710 @@ -736,30 +923,58 @@ ltq_etop_probe(struct platform_device *p 
     715@@ -736,30 +923,60 @@ ltq_etop_probe(struct platform_device *pdev) 
    711716                goto err_out; 
    712717        } 
     
    745750+       priv->rx_irq = irqres[1].start; 
    746751+       priv->mii_mode = of_get_phy_mode(pdev->dev.of_node); 
    747 +       priv->mac = of_get_mac_address(pdev->dev.of_node); 
     752+       priv->mac = ltq_get_eth_mac(); 
     753+       if (!priv->mac) 
     754+               priv->mac = of_get_mac_address(pdev->dev.of_node); 
    748755+ 
    749756+       priv->clk_ppe = clk_get(&pdev->dev, NULL); 
     
    782789        err = register_netdev(dev); 
    783790        if (err) 
    784 @@ -788,32 +1003,23 @@ ltq_etop_remove(struct platform_device * 
     791@@ -788,32 +1005,23 @@ ltq_etop_remove(struct platform_device *pdev) 
    785792        return 0; 
    786793 } 
     
    824831 MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); 
    825832 MODULE_DESCRIPTION("Lantiq SoC ETOP"); 
     833--  
     8341.7.10.4 
     835 
  • trunk/target/linux/lantiq/patches-3.9/0011-MIPS-lantiq-add-pcie-driver.patch

    r37088 r37089  
    1 From 86b0b37729298b067157263b7bf5dbf735527e7c Mon Sep 17 00:00:00 2001 
     1From 7bd0d6e0f0aaa06267989b0d0d51f9d2aff25814 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Wed, 13 Mar 2013 09:39:02 +0100 
    4 Subject: [PATCH 30/40] MIPS: lantiq: add pcie driver 
     4Subject: [PATCH 11/22] MIPS: lantiq: add pcie driver 
    55 
    66--- 
     
    3737 create mode 100644 arch/mips/pci/ifxmips_pcie_vr9.h 
    3838 
     39diff --git a/arch/mips/lantiq/Kconfig b/arch/mips/lantiq/Kconfig 
     40index 675310a..4c9a241 100644 
    3941--- a/arch/mips/lantiq/Kconfig 
    4042+++ b/arch/mips/lantiq/Kconfig 
     
    6365        bool "XRX200 PHY firmware loader" 
    6466        depends on SOC_XWAY 
     67diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c 
     68index c24924f..e30dde8 100644 
    6569--- a/arch/mips/lantiq/xway/sysctrl.c 
    6670+++ b/arch/mips/lantiq/xway/sysctrl.c 
     
    7478                clkdev_add_static(ltq_ar9_cpu_hz(), ltq_ar9_fpi_hz(), 
    7579                                ltq_ar9_fpi_hz(), CLOCK_250M); 
     80diff --git a/arch/mips/pci/Makefile b/arch/mips/pci/Makefile 
     81index 2cb1d31..8ba7fff 100644 
    7682--- a/arch/mips/pci/Makefile 
    7783+++ b/arch/mips/pci/Makefile 
    78 @@ -42,6 +42,8 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1 
     84@@ -41,6 +41,8 @@ obj-$(CONFIG_SIBYTE_BCM1x80)  += pci-bcm1480.o pci-bcm1480ht.o 
    7985 obj-$(CONFIG_SNI_RM)           += fixup-sni.o ops-sni.o 
    8086 obj-$(CONFIG_LANTIQ)           += fixup-lantiq.o 
     
    8591 obj-$(CONFIG_TANBAC_TB0226)    += fixup-tb0226.o 
    8692 obj-$(CONFIG_TANBAC_TB0287)    += fixup-tb0287.o 
     93diff --git a/arch/mips/pci/fixup-lantiq-pcie.c b/arch/mips/pci/fixup-lantiq-pcie.c 
     94new file mode 100644 
     95index 0000000..50a1c3b 
    8796--- /dev/null 
    8897+++ b/arch/mips/pci/fixup-lantiq-pcie.c 
     
    170179+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LANTIQ, PCI_DEVICE_ID_LANTIQ_PCIE, 
    171180+     ifx_pcie_rc_class_early_fixup); 
     181diff --git a/arch/mips/pci/fixup-lantiq.c b/arch/mips/pci/fixup-lantiq.c 
     182index 6c829df..cf5c4e0 100644 
    172183--- a/arch/mips/pci/fixup-lantiq.c 
    173184+++ b/arch/mips/pci/fixup-lantiq.c 
     
    180191 int pcibios_plat_dev_init(struct pci_dev *dev) 
    181192 { 
    182 @@ -28,6 +29,8 @@ int __init pcibios_map_irq(const struct 
     193@@ -28,6 +29,8 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) 
    183194        struct of_irq dev_irq; 
    184195        int irq; 
     
    189200                dev_err(&dev->dev, "trying to map irq for unknown slot:%d pin:%d\n", 
    190201                        slot, pin); 
     202diff --git a/arch/mips/pci/ifxmips_pci_common.h b/arch/mips/pci/ifxmips_pci_common.h 
     203new file mode 100644 
     204index 0000000..46f4cb2 
    191205--- /dev/null 
    192206+++ b/arch/mips/pci/ifxmips_pci_common.h 
     
    249263+#endif /* IFXMIPS_PCI_COMMON_H */ 
    250264+ 
     265diff --git a/arch/mips/pci/ifxmips_pcie.c b/arch/mips/pci/ifxmips_pcie.c 
     266new file mode 100644 
     267index 0000000..5cebfe6 
    251268--- /dev/null 
    252269+++ b/arch/mips/pci/ifxmips_pcie.c 
     
    18591876+MODULE_DESCRIPTION("Infineon builtin PCIe RC driver"); 
    18601877+ 
     1878diff --git a/arch/mips/pci/ifxmips_pcie.h b/arch/mips/pci/ifxmips_pcie.h 
     1879new file mode 100644 
     1880index 0000000..c6f92f5 
    18611881--- /dev/null 
    18621882+++ b/arch/mips/pci/ifxmips_pcie.h 
     
    19972017+#endif  /* IFXMIPS_PCIE_H */ 
    19982018+ 
     2019diff --git a/arch/mips/pci/ifxmips_pcie_ar10.h b/arch/mips/pci/ifxmips_pcie_ar10.h 
     2020new file mode 100644 
     2021index 0000000..99ff463 
    19992022--- /dev/null 
    20002023+++ b/arch/mips/pci/ifxmips_pcie_ar10.h 
     
    22902313+ 
    22912314+#endif /* IFXMIPS_PCIE_AR10_H */ 
     2315diff --git a/arch/mips/pci/ifxmips_pcie_msi.c b/arch/mips/pci/ifxmips_pcie_msi.c 
     2316new file mode 100644 
     2317index 0000000..bffd6fa 
    22922318--- /dev/null 
    22932319+++ b/arch/mips/pci/ifxmips_pcie_msi.c 
     
    26852711+MODULE_DESCRIPTION("Infineon PCIe IP builtin MSI PIC driver"); 
    26862712+ 
     2713diff --git a/arch/mips/pci/ifxmips_pcie_phy.c b/arch/mips/pci/ifxmips_pcie_phy.c 
     2714new file mode 100644 
     2715index 0000000..f5b0f13 
    26872716--- /dev/null 
    26882717+++ b/arch/mips/pci/ifxmips_pcie_phy.c 
     
    31663195+} 
    31673196+ 
     3197diff --git a/arch/mips/pci/ifxmips_pcie_pm.c b/arch/mips/pci/ifxmips_pcie_pm.c 
     3198new file mode 100644 
     3199index 0000000..a10ecad 
    31683200--- /dev/null 
    31693201+++ b/arch/mips/pci/ifxmips_pcie_pm.c 
     
    33453377+} 
    33463378+ 
     3379diff --git a/arch/mips/pci/ifxmips_pcie_pm.h b/arch/mips/pci/ifxmips_pcie_pm.h 
     3380new file mode 100644 
     3381index 0000000..6ece20d 
    33473382--- /dev/null 
    33483383+++ b/arch/mips/pci/ifxmips_pcie_pm.h 
     
    33843419+#endif /* IFXMIPS_PCIE_PM_H  */ 
    33853420+ 
     3421diff --git a/arch/mips/pci/ifxmips_pcie_reg.h b/arch/mips/pci/ifxmips_pcie_reg.h 
     3422new file mode 100644 
     3423index 0000000..e7e4b6c 
    33863424--- /dev/null 
    33873425+++ b/arch/mips/pci/ifxmips_pcie_reg.h 
     
    43884426+#endif /* IFXMIPS_PCIE_REG_H */ 
    43894427+ 
     4428diff --git a/arch/mips/pci/ifxmips_pcie_vr9.h b/arch/mips/pci/ifxmips_pcie_vr9.h 
     4429new file mode 100644 
     4430index 0000000..57d9368 
    43904431--- /dev/null 
    43914432+++ b/arch/mips/pci/ifxmips_pcie_vr9.h 
     
    46624703+#endif /* IFXMIPS_PCIE_VR9_H */ 
    46634704+ 
     4705diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c 
     4706index 0872f12..eb104ad 100644 
    46644707--- a/arch/mips/pci/pci.c 
    46654708+++ b/arch/mips/pci/pci.c 
    4666 @@ -255,6 +255,31 @@ static int __init pcibios_init(void) 
     4709@@ -260,6 +260,31 @@ static int __init pcibios_init(void) 
    46674710  
    46684711 subsys_initcall(pcibios_init); 
     
    46964739 { 
    46974740        u16 cmd, old_cmd; 
     4741diff --git a/drivers/pci/pcie/aer/Kconfig b/drivers/pci/pcie/aer/Kconfig 
     4742index 50e94e0..4bf848f 100644 
    46984743--- a/drivers/pci/pcie/aer/Kconfig 
    46994744+++ b/drivers/pci/pcie/aer/Kconfig 
     
    47074752          This enables PCI Express Root Port Advanced Error Reporting 
    47084753          (AER) driver support. Error reporting messages sent to Root 
     4754diff --git a/include/linux/pci.h b/include/linux/pci.h 
     4755index 710067f..f06ad11 100644 
    47094756--- a/include/linux/pci.h 
    47104757+++ b/include/linux/pci.h 
    4711 @@ -1059,6 +1059,8 @@ void pci_walk_bus(struct pci_bus *top, i 
     4758@@ -1064,6 +1064,8 @@ void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), 
    47124759 int pci_cfg_space_size_ext(struct pci_dev *dev); 
    47134760 int pci_cfg_space_size(struct pci_dev *dev); 
     
    47184765 resource_size_t pcibios_window_alignment(struct pci_bus *bus, 
    47194766                                         unsigned long type); 
     4767diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h 
     4768index f11c1c2..ee87398 100644 
    47204769--- a/include/linux/pci_ids.h 
    47214770+++ b/include/linux/pci_ids.h 
     
    47334782 #define PCI_DEVICE_ID_WINBOND_82C105   0x0105 
    47344783 #define PCI_DEVICE_ID_WINBOND_83C553   0x0565 
     4784--  
     47851.7.10.4 
     4786 
  • trunk/target/linux/lantiq/patches-3.9/0012-MIPS-lantiq-adds-minimal-dcdc-driver.patch

    r37088 r37089  
    1 From 1f95983593d5b6634c13ead8f923237484dc611e Mon Sep 17 00:00:00 2001 
     1From a810de459f90a62f5c1e27a2352b90318c5ef9a1 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Wed, 5 Dec 2012 17:38:48 +0100 
    4 Subject: [PATCH 31/40] MIPS: lantiq: adds minimal dcdc driver 
     4Subject: [PATCH 12/22] MIPS: lantiq: adds minimal dcdc driver 
    55 
    66This driver so far only reads the core voltage. 
     
    1313 create mode 100644 arch/mips/lantiq/xway/dcdc.c 
    1414 
     15diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
     16index 7a13660..087497d 100644 
    1517--- a/arch/mips/lantiq/xway/Makefile 
    1618+++ b/arch/mips/lantiq/xway/Makefile 
     
    2022  
    2123 obj-$(CONFIG_XRX200_PHY_FW) += xrx200_phy_fw.o 
     24diff --git a/arch/mips/lantiq/xway/dcdc.c b/arch/mips/lantiq/xway/dcdc.c 
     25new file mode 100644 
     26index 0000000..8dd871a 
    2227--- /dev/null 
    2328+++ b/arch/mips/lantiq/xway/dcdc.c 
     
    97102+ 
    98103+arch_initcall(dcdc_init); 
     104--  
     1051.7.10.4 
     106 
  • trunk/target/linux/lantiq/patches-3.9/0013-MTD-lantiq-Add-NAND-support-on-Lantiq-Falcon-SoC.patch

    r37088 r37089  
    1 From 2fd60458657ac96ab71ba4831cfb397145b3c989 Mon Sep 17 00:00:00 2001 
     1From 6bfb122580ccf67b82abf6c5fe2ae1e770812f0d Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Wed, 30 Jan 2013 21:12:47 +0100 
    4 Subject: [PATCH 32/40] MTD: lantiq: Add NAND support on Lantiq Falcon SoC. 
     4Subject: [PATCH 13/22] MTD: lantiq: Add NAND support on Lantiq Falcon SoC. 
    55 
    66The driver uses plat_nand. As the platform_device is loaded from DT, we need 
     
    1717 create mode 100644 drivers/mtd/nand/falcon_nand.c 
    1818 
     19diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig 
     20index 81bf5e5..2738097 100644 
    1921--- a/drivers/mtd/nand/Kconfig 
    2022+++ b/drivers/mtd/nand/Kconfig 
    21 @@ -575,4 +575,12 @@ config MTD_NAND_XWAY 
     23@@ -574,4 +574,12 @@ config MTD_NAND_XWAY 
    2224          Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached 
    2325          to the External Bus Unit (EBU). 
     
    3234+ 
    3335 endif # MTD_NAND 
     36diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile 
     37index d76d912..1a61bf0 100644 
    3438--- a/drivers/mtd/nand/Makefile 
    3539+++ b/drivers/mtd/nand/Makefile 
    36 @@ -53,5 +53,6 @@ obj-$(CONFIG_MTD_NAND_JZ4740)         += jz4740 
     40@@ -53,5 +53,6 @@ obj-$(CONFIG_MTD_NAND_JZ4740)         += jz4740_nand.o 
    3741 obj-$(CONFIG_MTD_NAND_GPMI_NAND)       += gpmi-nand/ 
    3842 obj-$(CONFIG_MTD_NAND_XWAY)            += xway_nand.o 
     
    4145  
    4246 nand-objs := nand_base.o nand_bbt.o 
     47diff --git a/drivers/mtd/nand/falcon_nand.c b/drivers/mtd/nand/falcon_nand.c 
     48new file mode 100644 
     49index 0000000..13458d3 
    4350--- /dev/null 
    4451+++ b/drivers/mtd/nand/falcon_nand.c 
     
    127134+ 
    128135+arch_initcall(falcon_register_nand); 
     136--  
     1371.7.10.4 
     138 
  • trunk/target/linux/lantiq/patches-3.9/0014-MTD-lantiq-xway-make-nand-actually-work.patch

    r37088 r37089  
    1 From cc77f36d2ea812027dc2a8a94c788c4c145f82dc Mon Sep 17 00:00:00 2001 
     1From 48b06753494e3abbf97ffebe02b1765edab7c689 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Mon, 22 Oct 2012 10:25:39 +0200 
    4 Subject: [PATCH 33/40] MTD: lantiq: xway: make nand actually work 
     4Subject: [PATCH 14/22] MTD: lantiq: xway: make nand actually work 
    55 
    66http://lists.infradead.org/pipermail/linux-mtd/2012-September/044240.html 
     
    1111 1 file changed, 45 insertions(+), 9 deletions(-) 
    1212 
     13diff --git a/drivers/mtd/nand/xway_nand.c b/drivers/mtd/nand/xway_nand.c 
     14index 3f81dc8..49b2e47 100644 
    1315--- a/drivers/mtd/nand/xway_nand.c 
    1416+++ b/drivers/mtd/nand/xway_nand.c 
     
    4547 } 
    4648  
    47 @@ -94,17 +104,15 @@ static void xway_cmd_ctrl(struct mtd_inf 
     49@@ -94,17 +104,15 @@ static void xway_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) 
    4850        unsigned long flags; 
    4951  
     
    6769                        ; 
    6870                spin_unlock_irqrestore(&ebu_lock, flags); 
    69 @@ -124,12 +132,38 @@ static unsigned char xway_read_byte(stru 
     71@@ -124,12 +132,38 @@ static unsigned char xway_read_byte(struct mtd_info *mtd) 
    7072        int ret; 
    7173  
     
    107109 { 
    108110        struct nand_chip *this = platform_get_drvdata(pdev); 
    109 @@ -175,6 +209,8 @@ static struct platform_nand_data xway_na 
     111@@ -175,6 +209,8 @@ static struct platform_nand_data xway_nand_data = { 
    110112                .dev_ready      = xway_dev_ready, 
    111113                .select_chip    = xway_select_chip, 
     
    116118 }; 
    117119  
     120--  
     1211.7.10.4 
     122 
  • trunk/target/linux/lantiq/patches-3.9/0015-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch

    r37088 r37089  
    1 From 88bc909507f7e9347a24e38185a11a38e51cc773 Mon Sep 17 00:00:00 2001 
     1From 861d86dc228cc78ebca1612e4f978bf057cab31d Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    3 Date: Wed, 13 Mar 2013 10:04:34 +0100 
    4 Subject: [PATCH 34/40] MTD: lantiq: handle NO_XIP on cfi0001 flash 
     3Date: Sat, 29 Jun 2013 19:21:22 +0200 
     4Subject: [PATCH 15/22] MTD: lantiq: handle NO_XIP on cfi0001 flash 
    55 
    66--- 
     
    88 1 file changed, 5 insertions(+), 1 deletion(-) 
    99 
     10diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c 
     11index d1da6ed..ae170ce 100644 
    1012--- a/drivers/mtd/maps/lantiq-flash.c 
    1113+++ b/drivers/mtd/maps/lantiq-flash.c 
    12 @@ -134,7 +134,11 @@ ltq_mtd_probe(struct platform_device *pd 
     14@@ -135,7 +135,11 @@ ltq_mtd_probe(struct platform_device *pdev) 
    1315        } 
    1416  
     
    2123+       ltq_mtd->res->start; 
    2224        ltq_mtd->map->size = resource_size(ltq_mtd->res); 
    23         ltq_mtd->map->virt = devm_request_and_ioremap(&pdev->dev, ltq_mtd->res); 
    24         if (!ltq_mtd->map->virt) { 
     25        ltq_mtd->map->virt = devm_ioremap_resource(&pdev->dev, ltq_mtd->res); 
     26        if (IS_ERR(ltq_mtd->map->virt)) { 
     27--  
     281.7.10.4 
     29 
  • trunk/target/linux/lantiq/patches-3.9/0017-owrt-lantiq-dtb-image-hack.patch

    r37088 r37089  
    1 From 5128799df668a7ff5b2861fab39f9f788369eb43 Mon Sep 17 00:00:00 2001 
     1From 34188b104874841296548a8c7e09d6e98771634f Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Wed, 13 Mar 2013 09:36:16 +0100 
    4 Subject: [PATCH 36/40] owrt: lantiq dtb image hack 
     4Subject: [PATCH 17/22] owrt: lantiq dtb image hack 
    55 
    66--- 
     
    99 2 files changed, 3 insertions(+), 3 deletions(-) 
    1010 
     11diff --git a/arch/mips/lantiq/Makefile b/arch/mips/lantiq/Makefile 
     12index d6bdc57..690257a 100644 
    1113--- a/arch/mips/lantiq/Makefile 
    1214+++ b/arch/mips/lantiq/Makefile 
     
    2022  
    2123 obj-$(CONFIG_SOC_TYPE_XWAY) += xway/ 
     24diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c 
     25index 9f9e875..72b183a 100644 
    2226--- a/arch/mips/lantiq/prom.c 
    2327+++ b/arch/mips/lantiq/prom.c 
    24 @@ -57,6 +57,8 @@ static void __init prom_init_cmdline(voi 
     28@@ -57,6 +57,8 @@ static void __init prom_init_cmdline(void) 
    2529        } 
    2630 } 
     
    4044  
    4145 void __init device_tree_init(void) 
     46--  
     471.7.10.4 
     48 
  • trunk/target/linux/lantiq/patches-3.9/0018-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch

    r37088 r37089  
    1 From 0c9b05716ac0e597ae0f81a96ff68e54716decc9 Mon Sep 17 00:00:00 2001 
     1From 591a9bdde1fa9aa6f1c6132ea04771bb1dcd6180 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Wed, 13 Mar 2013 10:02:58 +0100 
    4 Subject: [PATCH 37/40] owrt: lantiq: wifi and ethernet eeprom handling 
     4Subject: [PATCH 18/22] owrt: lantiq: wifi and ethernet eeprom handling 
    55 
    66--- 
     
    88 .../mips/include/asm/mach-lantiq/xway/lantiq_soc.h |    3 + 
    99 arch/mips/lantiq/xway/Makefile                     |    3 + 
    10  arch/mips/lantiq/xway/ath_eep.c                    |  206 ++++++++++++++++++++ 
    11  arch/mips/lantiq/xway/eth_mac.c                    |   76 ++++++++ 
    12  arch/mips/lantiq/xway/pci-ath-fixup.c              |  109 +++++++++++ 
    13  arch/mips/lantiq/xway/rt_eep.c                     |   60 ++++++ 
    14  drivers/net/ethernet/lantiq_etop.c                 |   10 +- 
    15  8 files changed, 469 insertions(+), 4 deletions(-) 
     10 arch/mips/lantiq/xway/ath_eep.c                    |  248 ++++++++++++++++++++ 
     11 arch/mips/lantiq/xway/eth_mac.c                    |   76 ++++++ 
     12 arch/mips/lantiq/xway/pci-ath-fixup.c              |  109 +++++++++ 
     13 arch/mips/lantiq/xway/rt_eep.c                     |   60 +++++ 
     14 arch/mips/pci/pci-lantiq.c                         |    2 +- 
     15 8 files changed, 506 insertions(+), 1 deletion(-) 
    1616 create mode 100644 arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h 
    1717 create mode 100644 arch/mips/lantiq/xway/ath_eep.c 
     
    2020 create mode 100644 arch/mips/lantiq/xway/rt_eep.c 
    2121 
     22diff --git a/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h b/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h 
     23new file mode 100644 
     24index 0000000..095d261 
    2225--- /dev/null 
    2326+++ b/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h 
     
    2932+ 
    3033+#endif /* _PCI_ATH_FIXUP */ 
     34diff --git a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
     35index 133336b..779715c 100644 
    3136--- a/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    3237+++ b/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    33 @@ -90,5 +90,8 @@ int xrx200_gphy_boot(struct device *dev, 
     38@@ -90,5 +90,8 @@ int xrx200_gphy_boot(struct device *dev, unsigned int id, dma_addr_t dev_addr); 
    3439 extern void ltq_pmu_enable(unsigned int module); 
    3540 extern void ltq_pmu_disable(unsigned int module); 
     
    4045 #endif /* CONFIG_SOC_TYPE_XWAY */ 
    4146 #endif /* _LTQ_XWAY_H__ */ 
     47diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
     48index 087497d..51f0eba 100644 
    4249--- a/arch/mips/lantiq/xway/Makefile 
    4350+++ b/arch/mips/lantiq/xway/Makefile 
     
    4956+ 
    5057 obj-$(CONFIG_XRX200_PHY_FW) += xrx200_phy_fw.o 
     58diff --git a/arch/mips/lantiq/xway/ath_eep.c b/arch/mips/lantiq/xway/ath_eep.c 
     59new file mode 100644 
     60index 0000000..ed55124 
    5161--- /dev/null 
    5262+++ b/arch/mips/lantiq/xway/ath_eep.c 
     
    300310+} 
    301311+late_initcall(of_ath5k_eeprom_init); 
     312diff --git a/arch/mips/lantiq/xway/eth_mac.c b/arch/mips/lantiq/xway/eth_mac.c 
     313new file mode 100644 
     314index 0000000..d288a0e 
    302315--- /dev/null 
    303316+++ b/arch/mips/lantiq/xway/eth_mac.c 
     
    379392+} 
    380393+device_initcall(of_eth_mac_init); 
     394diff --git a/arch/mips/lantiq/xway/pci-ath-fixup.c b/arch/mips/lantiq/xway/pci-ath-fixup.c 
     395new file mode 100644 
     396index 0000000..c87ffb2 
    381397--- /dev/null 
    382398+++ b/arch/mips/lantiq/xway/pci-ath-fixup.c 
     
    491507+       ath_num_fixups++; 
    492508+} 
     509diff --git a/arch/mips/lantiq/xway/rt_eep.c b/arch/mips/lantiq/xway/rt_eep.c 
     510new file mode 100644 
     511index 0000000..00f2d4c 
    493512--- /dev/null 
    494513+++ b/arch/mips/lantiq/xway/rt_eep.c 
     
    554573+} 
    555574+device_initcall(of_ralink_eeprom_init); 
    556 --- a/drivers/net/ethernet/lantiq_etop.c 
    557 +++ b/drivers/net/ethernet/lantiq_etop.c 
    558 @@ -826,7 +826,8 @@ ltq_etop_init(struct net_device *dev) 
    559   
    560         ltq_etop_change_mtu(dev, 1500); 
    561   
    562 -       memcpy(&mac.sa_data, priv->mac, ETH_ALEN); 
    563 +       if (priv->mac) 
    564 +               memcpy(&mac.sa_data, priv->mac, ETH_ALEN); 
    565         if (!is_valid_ether_addr(mac.sa_data)) { 
    566                 pr_warn("etop: invalid MAC, using random\n"); 
    567                 random_ether_addr(mac.sa_data); 
    568 @@ -885,8 +886,7 @@ static const struct net_device_ops ltq_e 
    569         .ndo_tx_timeout = ltq_etop_tx_timeout, 
    570  }; 
    571   
    572 -static int __devinit 
    573 -ltq_etop_probe(struct platform_device *pdev) 
    574 +static int ltq_etop_probe(struct platform_device *pdev) 
    575  { 
    576         struct net_device *dev; 
    577         struct ltq_etop_priv *priv; 
    578 @@ -950,7 +950,9 @@ ltq_etop_probe(struct platform_device *p 
    579         priv->tx_irq = irqres[0].start; 
    580         priv->rx_irq = irqres[1].start; 
    581         priv->mii_mode = of_get_phy_mode(pdev->dev.of_node); 
    582 -       priv->mac = of_get_mac_address(pdev->dev.of_node); 
    583 +       priv->mac = ltq_get_eth_mac(); 
    584 +       if (!priv->mac) 
    585 +               priv->mac = of_get_mac_address(pdev->dev.of_node); 
    586   
    587         priv->clk_ppe = clk_get(&pdev->dev, NULL); 
    588         if (IS_ERR(priv->clk_ppe)) 
     575diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c 
     576index 879077b..ad22c82 100644 
    589577--- a/arch/mips/pci/pci-lantiq.c 
    590578+++ b/arch/mips/pci/pci-lantiq.c 
     
    595583-arch_initcall(pcibios_init); 
    596584+late_initcall(pcibios_init); 
     585--  
     5861.7.10.4 
     587 
  • trunk/target/linux/lantiq/patches-3.9/0019-owrt-lantiq-handle-vmmc-memory-reservation.patch

    r37088 r37089  
    1 From 6af001cc662f4aa3740c550ac43c6b6f75df67c8 Mon Sep 17 00:00:00 2001 
     1From 12ec61455ea440c164c3ff777adbedea350b1e08 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Wed, 13 Mar 2013 10:04:01 +0100 
    4 Subject: [PATCH 38/40] owrt: lantiq: handle vmmc memory reservation 
     4Subject: [PATCH 19/22] owrt: lantiq: handle vmmc memory reservation 
    55 
    66--- 
     
    1010 create mode 100644 arch/mips/lantiq/xway/vmmc.c 
    1111 
     12diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
     13index 51f0eba..3a01d22 100644 
    1214--- a/arch/mips/lantiq/xway/Makefile 
    1315+++ b/arch/mips/lantiq/xway/Makefile 
     
    2022  
    2123 obj-$(CONFIG_XRX200_PHY_FW) += xrx200_phy_fw.o 
     24diff --git a/arch/mips/lantiq/xway/vmmc.c b/arch/mips/lantiq/xway/vmmc.c 
     25new file mode 100644 
     26index 0000000..6dedf77 
    2227--- /dev/null 
    2328+++ b/arch/mips/lantiq/xway/vmmc.c 
     
    8691+ 
    8792+module_platform_driver(vmmc_driver); 
     93--  
     941.7.10.4 
     95 
  • trunk/target/linux/lantiq/patches-3.9/0020-owrt-lantiq-backport-old-timer-code.patch

    r37088 r37089  
    1 From 225313fe4112a487954e7f7e3be995854b7c9ffa Mon Sep 17 00:00:00 2001 
     1From 077bcf8dea89b92d9ab8868e8234feb263c26a83 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Wed, 13 Mar 2013 10:01:49 +0100 
    4 Subject: [PATCH 39/40] owrt: lantiq: backport old timer code 
     4Subject: [PATCH 20/22] owrt: lantiq: backport old timer code 
    55 
    66--- 
     
    1212 create mode 100644 arch/mips/lantiq/xway/timer.c 
    1313 
     14diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_timer.h b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h 
     15new file mode 100644 
     16index 0000000..ef564ab 
    1417--- /dev/null 
    1518+++ b/arch/mips/include/asm/mach-lantiq/lantiq_timer.h 
     
    170173+ 
    171174+#endif /* __DANUBE_GPTU_DEV_H__2005_07_26__10_19__ */ 
     175diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile 
     176index 3a01d22..ea8706f 100644 
    172177--- a/arch/mips/lantiq/xway/Makefile 
    173178+++ b/arch/mips/lantiq/xway/Makefile 
     
    178183 obj-y += eth_mac.o vmmc.o 
    179184 obj-$(CONFIG_PCI) += ath_eep.o rt_eep.o pci-ath-fixup.o 
     185diff --git a/arch/mips/lantiq/xway/timer.c b/arch/mips/lantiq/xway/timer.c 
     186new file mode 100644 
     187index 0000000..1c0fdb8 
    180188--- /dev/null 
    181189+++ b/arch/mips/lantiq/xway/timer.c 
     
    10261034+ 
    10271035+#endif 
     1036--  
     10371.7.10.4 
     1038 
  • trunk/target/linux/lantiq/patches-3.9/0021-owrt-lantiq-add-atm-hack.patch

    r37088 r37089  
    1 From ae15f50544e6012c998ef59f6c12e334da3c9bff Mon Sep 17 00:00:00 2001 
     1From 51130632baa3dfabca87ce5d5b57376a7927b7d3 Mon Sep 17 00:00:00 2001 
    22From: John Crispin <blogic@openwrt.org> 
    33Date: Fri, 3 Aug 2012 10:27:25 +0200 
    4 Subject: [PATCH 40/40] owrt: lantiq: add atm hack 
     4Subject: [PATCH 21/22] owrt: lantiq: add atm hack 
    55 
    66--- 
     
    1616 create mode 100644 arch/mips/include/asm/mach-lantiq/lantiq_ptm.h 
    1717 
     18diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_atm.h b/arch/mips/include/asm/mach-lantiq/lantiq_atm.h 
     19new file mode 100644 
     20index 0000000..bf045a9 
    1821--- /dev/null 
    1922+++ b/arch/mips/include/asm/mach-lantiq/lantiq_atm.h 
     
    215218+#endif  //  IFX_ATM_H 
    216219+ 
     220diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_ptm.h b/arch/mips/include/asm/mach-lantiq/lantiq_ptm.h 
     221new file mode 100644 
     222index 0000000..698e5c3 
    217223--- /dev/null 
    218224+++ b/arch/mips/include/asm/mach-lantiq/lantiq_ptm.h 
     
    421427+#endif  //  IFX_PTM_H 
    422428+ 
     429diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c 
     430index 5119487..6d2c486 100644 
    423431--- a/arch/mips/lantiq/irq.c 
    424432+++ b/arch/mips/lantiq/irq.c 
     
    431439 #include <asm/bootinfo.h> 
    432440 #include <asm/irq_cpu.h> 
    433 @@ -99,6 +100,7 @@ void ltq_mask_and_ack_irq(struct irq_dat 
     441@@ -99,6 +100,7 @@ void ltq_mask_and_ack_irq(struct irq_data *d) 
    434442        ltq_icu_w32(im, ltq_icu_r32(im, ier) & ~BIT(offset), ier); 
    435443        ltq_icu_w32(im, BIT(offset), isr); 
     
    439447 static void ltq_ack_irq(struct irq_data *d) 
    440448 { 
     449diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c 
     450index 07cec44..a3e3872 100644 
    441451--- a/arch/mips/mm/cache.c 
    442452+++ b/arch/mips/mm/cache.c 
    443 @@ -58,6 +58,8 @@ void (*_dma_cache_wback)(unsigned long s 
     453@@ -57,6 +57,8 @@ void (*_dma_cache_wback)(unsigned long start, unsigned long size); 
    444454 void (*_dma_cache_inv)(unsigned long start, unsigned long size); 
    445455  
     
    450460 #endif /* CONFIG_DMA_NONCOHERENT */ 
    451461  
     462diff --git a/include/uapi/linux/atm.h b/include/uapi/linux/atm.h 
     463index 88399db..78c8bbc 100644 
    452464--- a/include/uapi/linux/atm.h 
    453465+++ b/include/uapi/linux/atm.h 
     
    467479        unsigned char   traffic_class;  /* traffic class (ATM_UBR, ...) */ 
    468480        int             max_pcr;        /* maximum PCR in cells per second */ 
     481diff --git a/net/atm/common.c b/net/atm/common.c 
     482index 737bef5..959008d 100644 
    469483--- a/net/atm/common.c 
    470484+++ b/net/atm/common.c 
    471 @@ -62,11 +62,17 @@ static void vcc_remove_socket(struct soc 
     485@@ -62,11 +62,17 @@ static void vcc_remove_socket(struct sock *sk) 
    472486        write_unlock_irq(&vcc_sklist_lock); 
    473487 } 
     
    487501                pr_debug("Sorry: wmem_alloc = %d, size = %d, sndbuf = %d\n", 
    488502                         sk_wmem_alloc_get(sk), size, sk->sk_sndbuf); 
     503diff --git a/net/atm/proc.c b/net/atm/proc.c 
     504index 6ac35ff..3cea444 100644 
    489505--- a/net/atm/proc.c 
    490506+++ b/net/atm/proc.c 
    491 @@ -154,7 +154,7 @@ static void *vcc_seq_next(struct seq_fil 
     507@@ -154,7 +154,7 @@ static void *vcc_seq_next(struct seq_file *seq, void *v, loff_t *pos) 
    492508 static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) 
    493509 { 
     
    498514                "---",  "1",    "2",    "3/4",  /*  0- 3 */ 
    499515                "???",  "5",    "???",  "???",  /*  4- 7 */ 
     516--  
     5171.7.10.4 
     518 
  • trunk/target/linux/lantiq/patches-3.9/0022-PINCTRL-add-gpio_irq-support.patch

    r37088 r37089  
     1From ea78e25b769740a801e259f4f6cb93fa92faa244 Mon Sep 17 00:00:00 2001 
     2From: John Crispin <blogic@openwrt.org> 
     3Date: Sat, 29 Jun 2013 19:32:08 +0200 
     4Subject: [PATCH 22/22] PINCTRL: add gpio_irq support 
     5 
     6--- 
     7 drivers/pinctrl/pinctrl-xway.c |   28 ++++++++++++++++++++++++++-- 
     8 1 file changed, 26 insertions(+), 2 deletions(-) 
     9 
     10diff --git a/drivers/pinctrl/pinctrl-xway.c b/drivers/pinctrl/pinctrl-xway.c 
     11index 068224e..8719d35 100644 
    112--- a/drivers/pinctrl/pinctrl-xway.c 
    213+++ b/drivers/pinctrl/pinctrl-xway.c 
    3 @@ -563,10 +563,9 @@ static struct pinctrl_desc xway_pctrl_de 
     14@@ -564,10 +564,9 @@ static struct pinctrl_desc xway_pctrl_desc = { 
    415        .confops        = &xway_pinconf_ops, 
    516 }; 
     
    1324        u32 alt1_reg = GPIO_ALT1(pin); 
    1425  
    15 @@ -586,6 +585,14 @@ static inline int xway_mux_apply(struct 
     26@@ -587,6 +586,14 @@ static inline int xway_mux_apply(struct pinctrl_dev *pctrldev, 
    1627        return 0; 
    1728 } 
     
    2839        {"lantiq,pull",         LTQ_PINCONF_PARAM_PULL}, 
    2940        {"lantiq,open-drain",   LTQ_PINCONF_PARAM_OPEN_DRAIN}, 
    30 @@ -630,6 +637,10 @@ static int xway_gpio_dir_out(struct gpio 
     41@@ -631,6 +638,10 @@ static int xway_gpio_dir_out(struct gpio_chip *chip, unsigned int pin, int val) 
    3142 { 
    3243        struct ltq_pinmux_info *info = dev_get_drvdata(chip->dev); 
     
    3950        xway_gpio_set(chip, pin, val); 
    4051  
    41 @@ -650,6 +661,18 @@ static void xway_gpio_free(struct gpio_c 
     52@@ -651,6 +662,18 @@ static void xway_gpio_free(struct gpio_chip *chip, unsigned offset) 
    4253        pinctrl_free_gpio(gpio); 
    4354 } 
     
    5869        .label = "gpio-xway", 
    5970        .direction_input = xway_gpio_dir_in, 
    60 @@ -658,6 +681,7 @@ static struct gpio_chip xway_chip = { 
     71@@ -659,6 +682,7 @@ static struct gpio_chip xway_chip = { 
    6172        .set = xway_gpio_set, 
    6273        .request = xway_gpio_req, 
     
    6677 }; 
    6778  
     79--  
     801.7.10.4 
     81 
Note: See TracChangeset for help on using the changeset viewer.