427-boards_probe_switch.patch 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
  2. +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
  3. @@ -123,6 +123,8 @@ static struct board_info __initdata boar
  4. .has_uart0 = 1,
  5. .has_enet0 = 1,
  6. .enet0 = {
  7. + .has_phy = 1,
  8. + .phy_id = 0,
  9. .force_speed_100 = 1,
  10. .force_duplex_full = 1,
  11. },
  12. @@ -166,6 +168,8 @@ static struct board_info __initdata boar
  13. .has_uart0 = 1,
  14. .has_enet0 = 1,
  15. .enet0 = {
  16. + .has_phy = 1,
  17. + .phy_id = 0,
  18. .force_speed_100 = 1,
  19. .force_duplex_full = 1,
  20. },
  21. @@ -277,6 +281,8 @@ static struct board_info __initdata boar
  22. .use_internal_phy = 1,
  23. },
  24. .enet1 = {
  25. + .has_phy = 1,
  26. + .phy_id = 0,
  27. .force_speed_100 = 1,
  28. .force_duplex_full = 1,
  29. },
  30. @@ -339,6 +345,8 @@ static struct board_info __initdata boar
  31. },
  32. .enet1 = {
  33. + .has_phy = 1,
  34. + .phy_id = 0,
  35. .force_speed_100 = 1,
  36. .force_duplex_full = 1,
  37. },
  38. @@ -393,6 +401,8 @@ static struct board_info __initdata boar
  39. .use_internal_phy = 1,
  40. },
  41. .enet1 = {
  42. + .has_phy = 1,
  43. + .phy_id = 0,
  44. .force_speed_100 = 1,
  45. .force_duplex_full = 1,
  46. },
  47. @@ -453,6 +463,8 @@ static struct board_info __initdata boar
  48. },
  49. .enet1 = {
  50. + .has_phy = 1,
  51. + .phy_id = 0,
  52. .force_speed_100 = 1,
  53. .force_duplex_full = 1,
  54. },
  55. @@ -476,6 +488,8 @@ static struct board_info __initdata boar
  56. .use_internal_phy = 1,
  57. },
  58. .enet1 = {
  59. + .has_phy = 1,
  60. + .phy_id = 0,
  61. .force_speed_100 = 1,
  62. .force_duplex_full = 1,
  63. },
  64. @@ -495,6 +509,8 @@ static struct board_info __initdata boar
  65. .has_enet1 = 1,
  66. .enet0 = {
  67. .has_phy = 1,
  68. + .phy_id = 0,
  69. + .has_phy = 1,
  70. .use_internal_phy = 1,
  71. },
  72. .enet1 = {
  73. @@ -518,6 +534,8 @@ static struct board_info __initdata boar
  74. .use_internal_phy = 1,
  75. },
  76. .enet1 = {
  77. + .has_phy = 1,
  78. + .phy_id = 0,
  79. .force_speed_100 = 1,
  80. .force_duplex_full = 1,
  81. },
  82. @@ -546,6 +564,8 @@ static struct board_info __initdata boar
  83. },
  84. .enet1 = {
  85. + .has_phy = 1,
  86. + .phy_id = 0,
  87. .force_speed_100 = 1,
  88. .force_duplex_full = 1,
  89. },
  90. @@ -599,6 +619,8 @@ static struct board_info __initdata boar
  91. },
  92. .enet1 = {
  93. + .has_phy = 1,
  94. + .phy_id = 0,
  95. .force_speed_100 = 1,
  96. .force_duplex_full = 1,
  97. },
  98. @@ -648,6 +670,8 @@ static struct board_info __initdata boar
  99. },
  100. .enet1 = {
  101. + .has_phy = 1,
  102. + .phy_id = 0,
  103. .force_speed_100 = 1,
  104. .force_duplex_full = 1,
  105. },
  106. @@ -671,6 +695,8 @@ static struct board_info __initdata boar
  107. },
  108. .enet1 = {
  109. + .has_phy = 1,
  110. + .phy_id = 0,
  111. .force_speed_100 = 1,
  112. .force_duplex_full = 1,
  113. },