2014-02-24 23:54:12 +08:00
|
|
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
2014-06-22 03:23:38 +08:00
|
|
|
@@ -598,6 +598,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
.has_uart0 = 1,
|
|
|
|
.has_enet0 = 1,
|
|
|
|
.enet0 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-22 03:23:38 +08:00
|
|
|
@@ -641,6 +643,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
.has_uart0 = 1,
|
|
|
|
.has_enet0 = 1,
|
|
|
|
.enet0 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-22 03:23:38 +08:00
|
|
|
@@ -926,6 +930,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-22 03:23:38 +08:00
|
|
|
@@ -998,6 +1004,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-22 03:23:38 +08:00
|
|
|
@@ -1245,6 +1253,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-22 03:23:38 +08:00
|
|
|
@@ -1420,6 +1430,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-22 03:23:38 +08:00
|
|
|
@@ -1610,6 +1622,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
2014-06-22 03:23:18 +08:00
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-22 03:23:38 +08:00
|
|
|
@@ -1631,6 +1645,8 @@ static struct board_info __initdata boar
|
2014-06-22 03:23:18 +08:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
2014-02-24 23:54:12 +08:00
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
2014-06-22 03:23:18 +08:00
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-22 03:23:38 +08:00
|
|
|
@@ -1650,6 +1666,8 @@ static struct board_info __initdata boar
|
2014-06-22 03:23:18 +08:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
2014-02-24 23:54:12 +08:00
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-30 21:34:28 +08:00
|
|
|
@@ -2021,6 +2039,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-30 21:34:28 +08:00
|
|
|
@@ -2073,6 +2093,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-30 21:34:28 +08:00
|
|
|
@@ -2214,6 +2236,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2014-06-30 21:34:28 +08:00
|
|
|
@@ -2331,6 +2355,8 @@ static struct board_info __initdata boar
|
2014-02-24 23:54:12 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|