From: Dobrica Pavlinusic Date: Sat, 6 Oct 2007 12:33:07 +0000 (+0200) Subject: define number of ports on ethernet switch X-Git-Tag: 3.04 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=refs%2Ftags%2FMAGIC;hp=16dc5d65a4c76f755ffb0d0391f7b39090d8377c;p=bcm963xx.git define number of ports on ethernet switch --- 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 */