brcm63xx: fix number of usb ports for HW556 variants
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.10 / 534-board_hw556.patch
index 4eb6d55d335439870a8691298d5515c9f67de8bf..63eb226ec109f31c1c40b4661019f6a1e6065d9b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2900,6 +2900,489 @@ static struct board_info __initdata boar
+@@ -2900,6 +2900,492 @@ static struct board_info __initdata boar
        },
  };
  
 +      .has_pci                                = 1,
 +      .has_ohci0                              = 1,
 +      .has_ehci0                              = 1,
++      .num_usbh_ports                         = 2,
 +
 +      .has_caldata                            = 1,
 +      .caldata = {
 +      .has_pci                                = 1,
 +      .has_ohci0                              = 1,
 +      .has_ehci0                              = 1,
++      .num_usbh_ports                         = 2,
 +
 +      .has_caldata                            = 1,
 +      .caldata = {
 +      .has_pci                                = 1,
 +      .has_ohci0                              = 1,
 +      .has_ehci0                              = 1,
++      .num_usbh_ports                         = 2,
 +
 +      .has_caldata                            = 1,
 +      .caldata = {
   /* T-Home Speedport W 303V Typ B */
  static struct board_info __initdata board_spw303v = {
        .name                   = "96358-502V",
-@@ -3339,6 +3822,10 @@ static const struct board_info __initcon
+@@ -3339,6 +3825,10 @@ static const struct board_info __initcon
        &board_nb4_fxc_r2,
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
        &board_DVAG3810BN,
  #endif
-@@ -3404,13 +3891,37 @@ static void __init boardid_fixup(u8 *boo
+@@ -3404,13 +3894,37 @@ static void __init boardid_fixup(u8 *boo
        struct bcm_tag *tag = (struct bcm_tag *)(boot_addr + CFE_OFFSET_64K);
        char *board_name = (char *)bcm63xx_nvram_get_name();