535-board_rta770w.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -426,6 +426,25 @@ static struct board_info __initdata boar
  4. .force_duplex_full = 1,
  5. },
  6. };
  7. +
  8. +// Actually this board is the very same as the rta770bw,
  9. +// where the additional 'b' within the name just
  10. +// just indicates 'Annex B'. The ADSL Modem itself is able
  11. +// to handle both Annex A as well as Annex B -
  12. +// the loaded firmware makes the only difference
  13. +static struct board_info __initdata board_rta770w = {
  14. + .name = "RTA770W",
  15. + .expected_cpu_id = 0x6345,
  16. +
  17. + .has_enet0 = 1,
  18. +
  19. + .enet0 = {
  20. + .has_phy = 1,
  21. + .phy_id = 0,
  22. + .force_speed_100 = 1,
  23. + .force_duplex_full = 1,
  24. + },
  25. +};
  26. #endif /* CONFIG_BCM63XX_CPU_6345 */
  27. /*
  28. @@ -1443,6 +1462,7 @@ static const struct board_info __initcon
  29. #ifdef CONFIG_BCM63XX_CPU_6345
  30. &board_96345gw2,
  31. &board_rta770bw,
  32. + &board_rta770w,
  33. #endif
  34. #ifdef CONFIG_BCM63XX_CPU_6348
  35. &board_96348r,
  36. @@ -1517,6 +1537,7 @@ static struct of_device_id const bcm963x
  37. #ifdef CONFIG_BCM63XX_CPU_6345
  38. { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
  39. { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
  40. + { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
  41. #endif
  42. #ifdef CONFIG_BCM63XX_CPU_6348
  43. { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },