bcm63xx: Enable LED pin support for ath9k pci fixup.
authorJonas Gorski <jogo@openwrt.org>
Sat, 24 Nov 2012 14:19:16 +0000 (14:19 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sat, 24 Nov 2012 14:19:16 +0000 (14:19 +0000)
Some boards need specifying LED pin in order to get it working.
For example, in board HW556 (Huawei HG556a) "led_pin" must be "2".
By default led_pin is "0", so dsl_274xb_rev_f is changed to "-1".

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 34321

30 files changed:
target/linux/brcm63xx/patches-3.3/445-BCM63XX-add-led-pin-for-ath9k.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-3.3/524-board_dsl_274xb_rev_f.patch
target/linux/brcm63xx/patches-3.3/525-board_96348w3.patch
target/linux/brcm63xx/patches-3.3/526-board_CT6373-1.patch
target/linux/brcm63xx/patches-3.3/527-board_dva-g3810bn-tl-1.patch
target/linux/brcm63xx/patches-3.3/528-board_nb6.patch
target/linux/brcm63xx/patches-3.3/529-board_fast2604.patch
target/linux/brcm63xx/patches-3.3/530-board_963281T_TEF.patch
target/linux/brcm63xx/patches-3.3/531-board_96328A-1441N1.patch
target/linux/brcm63xx/patches-3.3/532-board_96328a-1241N.patch
target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch
target/linux/brcm63xx/patches-3.3/551-96348gw_a_leds.patch
target/linux/brcm63xx/patches-3.3/552-board_96348gw-10_reset_button.patch
target/linux/brcm63xx/patches-3.3/553-board_rta770bw.patch
target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch
target/linux/brcm63xx/patches-3.6/445-BCM63XX-add-led-pin-for-ath9k.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-3.6/524-board_dsl_274xb_rev_f.patch
target/linux/brcm63xx/patches-3.6/525-board_96348w3.patch
target/linux/brcm63xx/patches-3.6/526-board_CT6373-1.patch
target/linux/brcm63xx/patches-3.6/527-board_dva-g3810bn-tl-1.patch
target/linux/brcm63xx/patches-3.6/528-board_nb6.patch
target/linux/brcm63xx/patches-3.6/529-board_fast2604.patch
target/linux/brcm63xx/patches-3.6/530-board_963281T_TEF.patch
target/linux/brcm63xx/patches-3.6/531-board_96328A-1441N1.patch
target/linux/brcm63xx/patches-3.6/532-board_96328a-1241N.patch
target/linux/brcm63xx/patches-3.6/550-alice_gate2_leds.patch
target/linux/brcm63xx/patches-3.6/551-96348gw_a_leds.patch
target/linux/brcm63xx/patches-3.6/552-board_96348gw-10_reset_button.patch
target/linux/brcm63xx/patches-3.6/553-board_rta770bw.patch
target/linux/brcm63xx/patches-3.6/801-ssb_export_fallback_sprom.patch

diff --git a/target/linux/brcm63xx/patches-3.3/445-BCM63XX-add-led-pin-for-ath9k.patch b/target/linux/brcm63xx/patches-3.3/445-BCM63XX-add-led-pin-for-ath9k.patch
new file mode 100644 (file)
index 0000000..e09cd83
--- /dev/null
@@ -0,0 +1,49 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -939,7 +939,7 @@ int __init board_register_devices(void)
+       /* register any fixups */
+       for (i = 0; i < board.has_caldata; i++)
+               pci_enable_ath9k_fixup(board.caldata[i].slot, board.caldata[i].caldata_offset,
+-                      board.caldata[i].endian_check);
++                      board.caldata[i].endian_check, board.caldata[i].led_pin);
+       return 0;
+ }
+--- a/arch/mips/bcm63xx/pci-ath9k-fixup.c
++++ b/arch/mips/bcm63xx/pci-ath9k-fixup.c
+@@ -173,13 +173,14 @@ static void ath9k_pci_fixup(struct pci_d
+ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATHEROS, PCI_ANY_ID, ath9k_pci_fixup);
+ void __init pci_enable_ath9k_fixup(unsigned slot, u32 offset,
+-      unsigned endian_check)
++      unsigned endian_check, int led_pin)
+ {
+       if (ath9k_num_fixups >= ARRAY_SIZE(ath9k_fixups))
+               return;
+       ath9k_fixups[ath9k_num_fixups].slot = slot;
+       ath9k_fixups[ath9k_num_fixups].pdata.endian_check = endian_check;
++      ath9k_fixups[ath9k_num_fixups].pdata.led_pin = led_pin;
+       if (!bcm63xx_read_eeprom(ath9k_fixups[ath9k_num_fixups].pdata.eeprom_data, offset))
+               return;
+--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
++++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
+@@ -19,6 +19,7 @@ struct ath9k_caldata {
+       unsigned int    slot;
+       u32             caldata_offset;
+       unsigned int    endian_check:1;
++      int             led_pin;
+ };
+ /*
+--- a/arch/mips/include/asm/mach-bcm63xx/pci_ath9k_fixup.h
++++ b/arch/mips/include/asm/mach-bcm63xx/pci_ath9k_fixup.h
+@@ -3,6 +3,6 @@
+ void pci_enable_ath9k_fixup(unsigned slot, u32 offset,
+-      unsigned endian_check) __init;
++      unsigned endian_check, int led_pin) __init;
+ #endif /* _PCI_ATH9K_FIXUP */
index b339d7476f2c7880999ebe32ef859f9edb04dcb9..a3b630eeb5b5aa357798d55b81a44bbf02edd6c3 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -195,6 +195,109 @@ static struct board_info __initdata boar
+@@ -195,6 +195,110 @@ static struct board_info __initdata boar
  
        },
  };
@@ -27,6 +27,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 +              {
 +                      .caldata_offset = 0x7d1000,
 +                      .slot           = 0,
++                      .led_pin        = -1,
 +              },
 +      },
 +
@@ -120,7 +121,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
  #endif
  
  /*
-@@ -2393,6 +2496,7 @@ static const struct board_info __initdat
+@@ -2393,6 +2497,7 @@ static const struct board_info __initdat
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index 76425cd277f5c44fc1d9f68c8630946966675a56..837b70a103dd82374d6ac01c4a9ebea63527741b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1334,6 +1334,57 @@ static struct board_info __initdata boar
+@@ -1335,6 +1335,57 @@ static struct board_info __initdata boar
        },
  };
  
@@ -58,7 +58,7 @@
  #endif
  
  /*
-@@ -2526,6 +2577,7 @@ static const struct board_info __initdat
+@@ -2527,6 +2578,7 @@ static const struct board_info __initdat
        &board_ct536_ct5621,
        &board_96348A_122,
        &board_CPVA502plus,
index 58b209ed38144f1aa47efa8a916ddb421956c521..e399cff618a80677d581654ccd40f426b12d5aee 100644 (file)
@@ -14,7 +14,7 @@
  static struct board_info board;
  
  /*
-@@ -2261,6 +2268,111 @@ static struct board_info __initdata boar
+@@ -2262,6 +2269,111 @@ static struct board_info __initdata boar
        .num_spis = ARRAY_SIZE(nb4_spi_devices),
  };
  
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
        .expected_cpu_id                = 0x6358,
-@@ -2592,6 +2704,7 @@ static const struct board_info __initdat
+@@ -2593,6 +2705,7 @@ static const struct board_info __initdat
        &board_nb4_ser_r2,
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
index fe47dc633d6f997ac2b6b255399c829d55c2acd6..cd9ab7996c3fdb5266f505bd0c04679bb1cc893f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2512,6 +2512,71 @@ static struct board_info __initdata boar
+@@ -2513,6 +2513,71 @@ static struct board_info __initdata boar
                },
        }
  };
@@ -72,7 +72,7 @@
  #endif
  
  /*
-@@ -2707,6 +2772,7 @@ static const struct board_info __initdat
+@@ -2708,6 +2773,7 @@ static const struct board_info __initdat
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
index 58bd3efb7a4efe211f4f278e7c46b44a9cfdf677..c9ff9178558c5bbc46e76df7a41db40db88798de 100644 (file)
@@ -17,7 +17,7 @@
  
  #define CT6373_PID_OFFSET             0xff80
  #define CT6373_74X164_GPIO_BASE       64
-@@ -2579,6 +2582,103 @@ static struct board_info __initdata boar
+@@ -2580,6 +2583,103 @@ static struct board_info __initdata boar
  };
  #endif
  
  /*
   * known 6368 boards
   */
-@@ -2775,6 +2875,10 @@ static const struct board_info __initdat
+@@ -2776,6 +2876,10 @@ static const struct board_info __initdat
        &board_DVAG3810BN,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
-@@ -2842,6 +2946,11 @@ static void __init boardid_fixup(u8 *boo
+@@ -2843,6 +2947,11 @@ static void __init boardid_fixup(u8 *boo
                }
        }
  
index cab0461943a52352464d14b2b8615a489916531a..f965f7b523c09d451b0a9bef42cf84bd2d9738e0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1010,6 +1010,55 @@ static struct board_info __initdata boar
+@@ -1011,6 +1011,55 @@ static struct board_info __initdata boar
        .has_ehci0                      = 1,
  };
  
@@ -56,7 +56,7 @@
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
-@@ -2843,6 +2892,7 @@ static const struct board_info __initdat
+@@ -2844,6 +2893,7 @@ static const struct board_info __initdat
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
index 49e3c7c92f8c69b8878d2bea720908c9eb7a2ff0..080aa44a4610bc401dde8000532eefcfc4b344ee 100644 (file)
  static struct board_info __initdata board_dsl_274xb_f1 = {
        .name                           = "AW4339U",
        .expected_cpu_id                = 0x6328,
-@@ -2873,6 +2992,7 @@ static const struct board_info __initdat
+@@ -2874,6 +2993,7 @@ static const struct board_info __initdat
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index c254040a6e510816c32cd798d900069ffee4c331..7c93af8aaf13ed725f2a53800f04d499405dd601 100644 (file)
@@ -79,7 +79,7 @@
  static struct board_info __initdata board_963281TAN = {
        .name                           = "963281TAN",
        .expected_cpu_id                = 0x6328,
-@@ -2991,6 +3063,7 @@ static struct board_info __initdata boar
+@@ -2992,6 +3064,7 @@ static struct board_info __initdata boar
  static const struct board_info __initdata *bcm963xx_boards[] = {
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index c2e2ef9035cda63cd51797dc79aa893e8d183ebc..2516e09911d5c4026f15e2ee010e372a19949d18 100644 (file)
@@ -73,7 +73,7 @@
  static struct board_info __initdata board_96328A_1441N1 = {
        .name                                   = "96328A-1441N1",
        .expected_cpu_id                        = 0x6328,
-@@ -3063,6 +3129,7 @@ static struct board_info __initdata boar
+@@ -3064,6 +3130,7 @@ static struct board_info __initdata boar
  static const struct board_info __initdata *bcm963xx_boards[] = {
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index d151cab9e77eb02151359f1d151548122b2cac6a..eb5ca0893832af91ba080eb912c4b0afca1f9250 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1918,6 +1918,99 @@ static struct board_info __initdata boar
+@@ -1919,6 +1919,99 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
        .has_ehci0 = 1,
index ce263b28af358fbfe85c7c3b4dce013d001915e3..5060a9078350cd2ca2457a64d1a9479f9fecce1f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1375,6 +1375,19 @@ static struct board_info __initdata boar
+@@ -1376,6 +1376,19 @@ static struct board_info __initdata boar
        },
  
        .has_ohci0 = 1,
index 095a851b2c552727fa7f9b1401ceecb718f185d6..e5663b0f3122a50d63c055654f786e193a564f49 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -843,6 +843,17 @@ static struct board_info __initdata boar
+@@ -844,6 +844,17 @@ static struct board_info __initdata boar
                        .active_low     = 1,
                },
        },
index a1286c91cf70065752898a5cd17e4fa468ad585f..2edae51e399d25ff386389d1004cb8b19bc185ad 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -735,6 +735,53 @@ static struct board_info __initdata boar
+@@ -736,6 +736,53 @@ static struct board_info __initdata boar
  
        .has_uart0                      = 1,
  };
@@ -54,7 +54,7 @@
  #endif
  
  /*
-@@ -3260,6 +3307,7 @@ static const struct board_info __initdat
+@@ -3261,6 +3308,7 @@ static const struct board_info __initdat
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
index 3e380b12eb4bddaffc48484eb1f3d0521d1408cd..ab1f5440a900bc7f48359b8e18b87f1763ea1211 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
  #include <linux/spi/74x164.h>
-@@ -3365,7 +3366,7 @@ static const struct board_info __initdat
+@@ -3366,7 +3367,7 @@ static const struct board_info __initdat
   * bcm4318 WLAN work
   */
  #ifdef CONFIG_SSB_PCIHOST
@@ -17,7 +17,7 @@
        .revision               = 0x02,
        .board_rev              = 0x17,
        .country_code           = 0x0,
-@@ -3385,6 +3386,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -3386,6 +3387,7 @@ static struct ssb_sprom bcm63xx_sprom =
        .boardflags_lo          = 0x2848,
        .boardflags_hi          = 0x0000,
  };
diff --git a/target/linux/brcm63xx/patches-3.6/445-BCM63XX-add-led-pin-for-ath9k.patch b/target/linux/brcm63xx/patches-3.6/445-BCM63XX-add-led-pin-for-ath9k.patch
new file mode 100644 (file)
index 0000000..3a33549
--- /dev/null
@@ -0,0 +1,49 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -984,7 +984,7 @@ int __init board_register_devices(void)
+       /* register any fixups */
+       for (i = 0; i < board.has_caldata; i++)
+               pci_enable_ath9k_fixup(board.caldata[i].slot, board.caldata[i].caldata_offset,
+-                      board.caldata[i].endian_check);
++                      board.caldata[i].endian_check, board.caldata[i].led_pin);
+       return 0;
+ }
+--- a/arch/mips/bcm63xx/pci-ath9k-fixup.c
++++ b/arch/mips/bcm63xx/pci-ath9k-fixup.c
+@@ -173,13 +173,14 @@ static void ath9k_pci_fixup(struct pci_d
+ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATHEROS, PCI_ANY_ID, ath9k_pci_fixup);
+ void __init pci_enable_ath9k_fixup(unsigned slot, u32 offset,
+-      unsigned endian_check)
++      unsigned endian_check, int led_pin)
+ {
+       if (ath9k_num_fixups >= ARRAY_SIZE(ath9k_fixups))
+               return;
+       ath9k_fixups[ath9k_num_fixups].slot = slot;
+       ath9k_fixups[ath9k_num_fixups].pdata.endian_check = endian_check;
++      ath9k_fixups[ath9k_num_fixups].pdata.led_pin = led_pin;
+       if (!bcm63xx_read_eeprom(ath9k_fixups[ath9k_num_fixups].pdata.eeprom_data, offset))
+               return;
+--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
++++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
+@@ -19,6 +19,7 @@ struct ath9k_caldata {
+       unsigned int    slot;
+       u32             caldata_offset;
+       unsigned int    endian_check:1;
++      int             led_pin;
+ };
+ /*
+--- a/arch/mips/include/asm/mach-bcm63xx/pci_ath9k_fixup.h
++++ b/arch/mips/include/asm/mach-bcm63xx/pci_ath9k_fixup.h
+@@ -3,6 +3,6 @@
+ void pci_enable_ath9k_fixup(unsigned slot, u32 offset,
+-      unsigned endian_check) __init;
++      unsigned endian_check, int led_pin) __init;
+ #endif /* _PCI_ATH9K_FIXUP */
index b339d7476f2c7880999ebe32ef859f9edb04dcb9..a3b630eeb5b5aa357798d55b81a44bbf02edd6c3 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -195,6 +195,109 @@ static struct board_info __initdata boar
+@@ -195,6 +195,110 @@ static struct board_info __initdata boar
  
        },
  };
@@ -27,6 +27,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 +              {
 +                      .caldata_offset = 0x7d1000,
 +                      .slot           = 0,
++                      .led_pin        = -1,
 +              },
 +      },
 +
@@ -120,7 +121,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
  #endif
  
  /*
-@@ -2393,6 +2496,7 @@ static const struct board_info __initdat
+@@ -2393,6 +2497,7 @@ static const struct board_info __initdat
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index 76425cd277f5c44fc1d9f68c8630946966675a56..837b70a103dd82374d6ac01c4a9ebea63527741b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1334,6 +1334,57 @@ static struct board_info __initdata boar
+@@ -1335,6 +1335,57 @@ static struct board_info __initdata boar
        },
  };
  
@@ -58,7 +58,7 @@
  #endif
  
  /*
-@@ -2526,6 +2577,7 @@ static const struct board_info __initdat
+@@ -2527,6 +2578,7 @@ static const struct board_info __initdat
        &board_ct536_ct5621,
        &board_96348A_122,
        &board_CPVA502plus,
index 58b209ed38144f1aa47efa8a916ddb421956c521..e399cff618a80677d581654ccd40f426b12d5aee 100644 (file)
@@ -14,7 +14,7 @@
  static struct board_info board;
  
  /*
-@@ -2261,6 +2268,111 @@ static struct board_info __initdata boar
+@@ -2262,6 +2269,111 @@ static struct board_info __initdata boar
        .num_spis = ARRAY_SIZE(nb4_spi_devices),
  };
  
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
        .expected_cpu_id                = 0x6358,
-@@ -2592,6 +2704,7 @@ static const struct board_info __initdat
+@@ -2593,6 +2705,7 @@ static const struct board_info __initdat
        &board_nb4_ser_r2,
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
index fe47dc633d6f997ac2b6b255399c829d55c2acd6..cd9ab7996c3fdb5266f505bd0c04679bb1cc893f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2512,6 +2512,71 @@ static struct board_info __initdata boar
+@@ -2513,6 +2513,71 @@ static struct board_info __initdata boar
                },
        }
  };
@@ -72,7 +72,7 @@
  #endif
  
  /*
-@@ -2707,6 +2772,7 @@ static const struct board_info __initdat
+@@ -2708,6 +2773,7 @@ static const struct board_info __initdat
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
index 58bd3efb7a4efe211f4f278e7c46b44a9cfdf677..c9ff9178558c5bbc46e76df7a41db40db88798de 100644 (file)
@@ -17,7 +17,7 @@
  
  #define CT6373_PID_OFFSET             0xff80
  #define CT6373_74X164_GPIO_BASE       64
-@@ -2579,6 +2582,103 @@ static struct board_info __initdata boar
+@@ -2580,6 +2583,103 @@ static struct board_info __initdata boar
  };
  #endif
  
  /*
   * known 6368 boards
   */
-@@ -2775,6 +2875,10 @@ static const struct board_info __initdat
+@@ -2776,6 +2876,10 @@ static const struct board_info __initdat
        &board_DVAG3810BN,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
-@@ -2842,6 +2946,11 @@ static void __init boardid_fixup(u8 *boo
+@@ -2843,6 +2947,11 @@ static void __init boardid_fixup(u8 *boo
                }
        }
  
index cab0461943a52352464d14b2b8615a489916531a..f965f7b523c09d451b0a9bef42cf84bd2d9738e0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1010,6 +1010,55 @@ static struct board_info __initdata boar
+@@ -1011,6 +1011,55 @@ static struct board_info __initdata boar
        .has_ehci0                      = 1,
  };
  
@@ -56,7 +56,7 @@
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
-@@ -2843,6 +2892,7 @@ static const struct board_info __initdat
+@@ -2844,6 +2893,7 @@ static const struct board_info __initdat
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
index 49e3c7c92f8c69b8878d2bea720908c9eb7a2ff0..080aa44a4610bc401dde8000532eefcfc4b344ee 100644 (file)
  static struct board_info __initdata board_dsl_274xb_f1 = {
        .name                           = "AW4339U",
        .expected_cpu_id                = 0x6328,
-@@ -2873,6 +2992,7 @@ static const struct board_info __initdat
+@@ -2874,6 +2993,7 @@ static const struct board_info __initdat
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index c254040a6e510816c32cd798d900069ffee4c331..7c93af8aaf13ed725f2a53800f04d499405dd601 100644 (file)
@@ -79,7 +79,7 @@
  static struct board_info __initdata board_963281TAN = {
        .name                           = "963281TAN",
        .expected_cpu_id                = 0x6328,
-@@ -2991,6 +3063,7 @@ static struct board_info __initdata boar
+@@ -2992,6 +3064,7 @@ static struct board_info __initdata boar
  static const struct board_info __initdata *bcm963xx_boards[] = {
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index c2e2ef9035cda63cd51797dc79aa893e8d183ebc..2516e09911d5c4026f15e2ee010e372a19949d18 100644 (file)
@@ -73,7 +73,7 @@
  static struct board_info __initdata board_96328A_1441N1 = {
        .name                                   = "96328A-1441N1",
        .expected_cpu_id                        = 0x6328,
-@@ -3063,6 +3129,7 @@ static struct board_info __initdata boar
+@@ -3064,6 +3130,7 @@ static struct board_info __initdata boar
  static const struct board_info __initdata *bcm963xx_boards[] = {
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index d151cab9e77eb02151359f1d151548122b2cac6a..eb5ca0893832af91ba080eb912c4b0afca1f9250 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1918,6 +1918,99 @@ static struct board_info __initdata boar
+@@ -1919,6 +1919,99 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
        .has_ehci0 = 1,
index ce263b28af358fbfe85c7c3b4dce013d001915e3..5060a9078350cd2ca2457a64d1a9479f9fecce1f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1375,6 +1375,19 @@ static struct board_info __initdata boar
+@@ -1376,6 +1376,19 @@ static struct board_info __initdata boar
        },
  
        .has_ohci0 = 1,
index 095a851b2c552727fa7f9b1401ceecb718f185d6..e5663b0f3122a50d63c055654f786e193a564f49 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -843,6 +843,17 @@ static struct board_info __initdata boar
+@@ -844,6 +844,17 @@ static struct board_info __initdata boar
                        .active_low     = 1,
                },
        },
index a1286c91cf70065752898a5cd17e4fa468ad585f..2edae51e399d25ff386389d1004cb8b19bc185ad 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -735,6 +735,53 @@ static struct board_info __initdata boar
+@@ -736,6 +736,53 @@ static struct board_info __initdata boar
  
        .has_uart0                      = 1,
  };
@@ -54,7 +54,7 @@
  #endif
  
  /*
-@@ -3260,6 +3307,7 @@ static const struct board_info __initdat
+@@ -3261,6 +3308,7 @@ static const struct board_info __initdat
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
index 3e380b12eb4bddaffc48484eb1f3d0521d1408cd..ab1f5440a900bc7f48359b8e18b87f1763ea1211 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
  #include <linux/spi/74x164.h>
-@@ -3365,7 +3366,7 @@ static const struct board_info __initdat
+@@ -3366,7 +3367,7 @@ static const struct board_info __initdat
   * bcm4318 WLAN work
   */
  #ifdef CONFIG_SSB_PCIHOST
@@ -17,7 +17,7 @@
        .revision               = 0x02,
        .board_rev              = 0x17,
        .country_code           = 0x0,
-@@ -3385,6 +3386,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -3386,6 +3387,7 @@ static struct ssb_sprom bcm63xx_sprom =
        .boardflags_lo          = 0x2848,
        .boardflags_hi          = 0x0000,
  };