2020-04-03 10:26:23 +00:00
|
|
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
2020-10-04 16:00:28 +00:00
|
|
|
@@ -64,6 +64,32 @@ static struct board_info __initdata boar
|
2020-04-03 10:26:23 +00:00
|
|
|
.use_fullspeed = 0,
|
|
|
|
.port_no = 0,
|
|
|
|
},
|
|
|
|
+
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .has_enetsw = 1,
|
2020-04-03 10:26:23 +00:00
|
|
|
+ .enetsw = {
|
|
|
|
+ .used_ports = {
|
|
|
|
+ [0] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
2020-04-03 10:26:23 +00:00
|
|
|
+ .phy_id = 1,
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .name = "Port 1",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ [1] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
|
|
|
+ .phy_id = 2,
|
|
|
|
+ .name = "Port 2",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ [2] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
|
|
|
+ .phy_id = 3,
|
|
|
|
+ .name = "Port 3",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ [3] = {
|
2020-08-07 07:14:15 +00:00
|
|
|
+ .used = 1,
|
|
|
|
+ .phy_id = 4,
|
|
|
|
+ .name = "Port 4",
|
2020-04-03 10:26:23 +00:00
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
};
|
|
|
|
#endif /* CONFIG_BCM63XX_CPU_6328 */
|
|
|
|
|