Changeset 42437


Ignore:
Timestamp:
2014-09-08T16:29:18+02:00 (3 years ago)
Author:
blogic
Message:

lantiq: add ath9k led pin support

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch

    r41860 r42437  
    2323=================================================================== 
    2424--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    25 +++ linux-3.10.49/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h     2014-07-28 15:42:11.008968725 +0100 
     25+++ linux-3.10.49/arch/mips/include/asm/mach-lantiq/pci-ath-fixup.h     2014-09-07 17:34:26.488234696 +0200 
    2626@@ -0,0 +1,6 @@ 
    2727+#ifndef _PCI_ATH_FIXUP 
     
    3333Index: linux-3.10.49/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h 
    3434=================================================================== 
    35 --- linux-3.10.49.orig/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h      2014-07-17 23:58:15.000000000 +0100 
    36 +++ linux-3.10.49/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h   2014-07-28 15:42:11.008968725 +0100 
     35--- linux-3.10.49.orig/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h      2014-07-18 00:58:15.000000000 +0200 
     36+++ linux-3.10.49/arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h   2014-09-07 17:34:26.488234696 +0200 
    3737@@ -90,5 +90,8 @@ 
    3838 extern void ltq_pmu_enable(unsigned int module); 
     
    4646Index: linux-3.10.49/arch/mips/lantiq/xway/Makefile 
    4747=================================================================== 
    48 --- linux-3.10.49.orig/arch/mips/lantiq/xway/Makefile   2014-07-28 15:42:10.976968725 +0100 
    49 +++ linux-3.10.49/arch/mips/lantiq/xway/Makefile        2014-07-28 15:49:51.008978396 +0100 
     48--- linux-3.10.49.orig/arch/mips/lantiq/xway/Makefile   2014-09-07 17:34:26.448234696 +0200 
     49+++ linux-3.10.49/arch/mips/lantiq/xway/Makefile        2014-09-07 17:41:10.740227820 +0200 
    5050@@ -2,4 +2,7 @@ 
    5151  
     
    5959=================================================================== 
    6060--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    61 +++ linux-3.10.49/arch/mips/lantiq/xway/ath_eep.c       2014-07-28 15:46:33.032974234 +0100 
    62 @@ -0,0 +1,277 @@ 
     61+++ linux-3.10.49/arch/mips/lantiq/xway/ath_eep.c       2014-09-07 17:41:03.184227948 +0200 
     62@@ -0,0 +1,282 @@ 
    6363+/* 
    6464+ *  Copyright (C) 2011 Luca Olivetti <luca@ventoso.org> 
     
    104104+       struct resource *eep_res, *mac_res = NULL; 
    105105+       void __iomem *eep, *mac; 
    106 +       int mac_offset; 
     106+       int mac_offset, led_pin; 
    107107+       u32 mac_inc = 0, pci_slot = 0; 
    108108+       int i; 
     
    194194+                } 
    195195+ 
     196+       } 
     197+ 
     198+       if (!of_property_read_u32(np, "ath,led-pin", &led_pin)) { 
     199+               ath9k_pdata.led_pin = led_pin; 
     200+               dev_info(&pdev->dev, "using led pin %d.\n", led_pin); 
    196201+       } 
    197202+ 
     
    341346=================================================================== 
    342347--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    343 +++ linux-3.10.49/arch/mips/lantiq/xway/eth_mac.c       2014-07-28 15:42:11.008968725 +0100 
     348+++ linux-3.10.49/arch/mips/lantiq/xway/eth_mac.c       2014-09-07 17:34:26.488234696 +0200 
    344349@@ -0,0 +1,76 @@ 
    345350+/* 
     
    422427=================================================================== 
    423428--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    424 +++ linux-3.10.49/arch/mips/lantiq/xway/pci-ath-fixup.c 2014-07-28 15:42:11.008968725 +0100 
     429+++ linux-3.10.49/arch/mips/lantiq/xway/pci-ath-fixup.c 2014-09-07 17:34:26.488234696 +0200 
    425430@@ -0,0 +1,109 @@ 
    426431+/* 
     
    536541=================================================================== 
    537542--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    538 +++ linux-3.10.49/arch/mips/lantiq/xway/rt_eep.c        2014-07-28 15:42:11.008968725 +0100 
     543+++ linux-3.10.49/arch/mips/lantiq/xway/rt_eep.c        2014-09-07 17:34:26.488234696 +0200 
    539544@@ -0,0 +1,60 @@ 
    540545+/* 
Note: See TracChangeset for help on using the changeset viewer.