Ignore:
Timestamp:
2012-05-05T15:56:35+02:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: update 3.3 patches

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/patches-3.3/131-MIPS-ath79-add-initial-support-for-the-Atheros-DB120.patch

    r31601 r31602  
    1 From a01e8727327cf0fb6382ca8700a3a3f73d93202a Mon Sep 17 00:00:00 2001 
     1From 4921cb7d9f6997b6f7aefd37c7cfd50324e8fd75 Mon Sep 17 00:00:00 2001 
    22From: Gabor Juhos <juhosg@openwrt.org> 
    3 Date: Fri, 9 Dec 2011 22:23:02 +0100 
    4 Subject: [PATCH 34/35] MIPS: ath79: add initial support for the Atheros DB120 board 
     3Date: Wed, 14 Mar 2012 20:39:35 +0100 
     4Subject: [PATCH 36/47] MIPS: ath79: add initial support for the Atheros DB120 board 
    55 
    66Signed-off-by: Gabor Juhos <juhosg@openwrt.org> 
    77Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> 
     8Cc: linux-mips@linux-mips.org 
     9Cc: mcgrof@infradead.org 
     10Patchwork: https://patchwork.linux-mips.org/patch/3517/ 
     11Signed-off-by: Ralf Baechle <ralf@linux-mips.org> 
    812--- 
    9  arch/mips/ath79/Kconfig      |   12 +++ 
     13 arch/mips/ath79/Kconfig      |   12 ++++ 
    1014 arch/mips/ath79/Makefile     |    1 + 
    11  arch/mips/ath79/mach-db120.c |  155 ++++++++++++++++++++++++++++++++++++++++++ 
     15 arch/mips/ath79/mach-db120.c |  134 ++++++++++++++++++++++++++++++++++++++++++ 
    1216 arch/mips/ath79/machtypes.h  |    1 + 
    13  4 files changed, 169 insertions(+), 0 deletions(-) 
     17 4 files changed, 148 insertions(+), 0 deletions(-) 
    1418 create mode 100644 arch/mips/ath79/mach-db120.c 
    1519 
     
    4650--- /dev/null 
    4751+++ b/arch/mips/ath79/mach-db120.c 
    48 @@ -0,0 +1,155 @@ 
     52@@ -0,0 +1,134 @@ 
    4953+/* 
    5054+ * Atheros DB120 reference board support 
     
    5357+ * Copyright (c) 2011 Gabor Juhos <juhosg@openwrt.org> 
    5458+ * 
    55 + * All rights reserved. 
     59+ * Permission to use, copy, modify, and/or distribute this software for any 
     60+ * purpose with or without fee is hereby granted, provided that the above 
     61+ * copyright notice and this permission notice appear in all copies. 
    5662+ * 
    57 + * Redistribution and use in source and binary forms, with or without 
    58 + * modification, are permitted (subject to the limitations in the 
    59 + * disclaimer below) provided that the following conditions are met: 
     63+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 
     64+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 
     65+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 
     66+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 
     67+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 
     68+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 
     69+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 
    6070+ * 
    61 + *  * Redistributions of source code must retain the above copyright 
    62 + *    notice, this list of conditions and the following disclaimer. 
    63 + * 
    64 + *  * Redistributions in binary form must reproduce the above copyright 
    65 + *    notice, this list of conditions and the following disclaimer in the 
    66 + *    documentation and/or other materials provided with the 
    67 + *    distribution. 
    68 + * 
    69 + *  * Neither the name of Qualcomm Atheros nor the names of its 
    70 + *    contributors may be used to endorse or promote products derived 
    71 + *    from this software without specific prior written permission. 
    72 + * 
    73 + * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE 
    74 + * GRANTED BY THIS LICENSE.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT 
    75 + * HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED 
    76 + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
    77 + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
    78 + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
    79 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
    80 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
    81 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 
    82 + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
    83 + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 
    84 + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 
    85 + * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    8671+ */ 
    8772+ 
     
    9378+#include "dev-leds-gpio.h" 
    9479+#include "dev-spi.h" 
    95 +#include "dev-usb.h" 
    9680+#include "dev-wmac.h" 
    9781+#include "pci.h" 
     
    195179+       ath79_register_spi(&db120_spi_data, db120_spi_info, 
    196180+                          ARRAY_SIZE(db120_spi_info)); 
    197 +       ath79_register_usb(); 
    198181+       ath79_register_wmac(art + DB120_WMAC_CALDATA_OFFSET); 
    199182+       db120_pci_init(art + DB120_PCIE_CALDATA_OFFSET); 
Note: See TracChangeset for help on using the changeset viewer.