define number of ports on ethernet switch MAGIC 3.04 MAGIC
authorDobrica Pavlinusic <dpavlin@llin.pliva.hr>
Sat, 6 Oct 2007 12:33:07 +0000 (14:33 +0200)
committerDobrica Pavlinusic <dpavlin@llin.pliva.hr>
Sat, 6 Oct 2007 12:33:07 +0000 (14:33 +0200)
targets/boardparms/bcm963xx/boardparms.h

index f2e5b85..75680ce 100755 (executable)
@@ -54,6 +54,9 @@ extern "C" {
 #define BP_ENET_EXTERNAL_PHY                    2
 #define BP_ENET_EXTERNAL_SWITCH                 3
 
+/* Number of ports on switch */
+#define BP_NO_SWITCH                           2
+
 /* Values for EthernetMacInfo Configuration type. */
 #define BP_ENET_CONFIG_MDIO                     0       /* Internal PHY, External PHY, Switch+(no GPIO, no SPI, no MDIO Pseudo phy */
 #define BP_ENET_CONFIG_GPIO                     1       /* Bcm96345GW board + Bcm5325M/E */