From 582fee1785542a04ead70b039eac63585618c4f6 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 6 Oct 2007 14:33:07 +0200 Subject: [PATCH 1/1] define number of ports on ethernet switch --- targets/boardparms/bcm963xx/boardparms.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/targets/boardparms/bcm963xx/boardparms.h b/targets/boardparms/bcm963xx/boardparms.h index f2e5b857..75680cee 100755 --- a/targets/boardparms/bcm963xx/boardparms.h +++ b/targets/boardparms/bcm963xx/boardparms.h @@ -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 */ -- 2.20.1