brcm63xx: set usb host port number for some devices
[openwrt.git] / target / linux / brcm63xx / patches-3.10 / 501-board-NB4.patch
index 94da7ba..76b339c 100644 (file)
@@ -22,7 +22,7 @@
  static struct board_info board;
  
  /*
-@@ -754,6 +762,596 @@ static struct board_info __initdata boar
+@@ -754,6 +762,601 @@ static struct board_info __initdata boar
  
        .has_ohci0                      = 1,
  };
@@ -87,6 +87,7 @@
 +      .has_ohci0 = 1,
 +      .has_pccard = 1,
 +      .has_ehci0 = 1,
++      .num_usbh_ports                 = 2,
 +
 +      .leds = {
 +              {
 +      .has_ohci0 = 1,
 +      .has_pccard = 1,
 +      .has_ehci0 = 1,
++      .num_usbh_ports                 = 2,
 +
 +      .leds = {
 +              {
 +      .has_ohci0 = 1,
 +      .has_pccard = 1,
 +      .has_ehci0 = 1,
++      .num_usbh_ports                 = 2,
 +
 +      .leds = {
 +              {
 +      .has_ohci0 = 1,
 +      .has_pccard = 1,
 +      .has_ehci0 = 1,
++      .num_usbh_ports                 = 2,
 +
 +      .leds = {
 +              {
 +      .has_ohci0 = 1,
 +      .has_pccard = 1,
 +      .has_ehci0 = 1,
++      .num_usbh_ports                 = 2,
 +
 +      .leds = {
 +              {
  #endif
  
  /*
-@@ -790,6 +1388,11 @@ static const struct board_info __initcon
+@@ -790,6 +1393,11 @@ static const struct board_info __initcon
        &board_96358vw2,
        &board_AGPFS0,
        &board_DWVS0,
  #endif
  };
  
-@@ -844,6 +1447,16 @@ static void __init boardid_fixup(u8 *boo
+@@ -844,6 +1452,16 @@ 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();