From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Sun, 31 Jan 2010 21:25:21 -0800 Subject: [U-Boot] 83xx, uec: split enet_interface in two variables, was: 83xx, uec: adjust enet_interface settings on the fly. In-Reply-To: <4B56B90C.2020703@denx.de> References: <4B4594DC.3090809@denx.de> <2acbd3e41001182249x5cd1ede8u14d62aa7f758ef19@mail.gmail.com> <4B56B90C.2020703@denx.de> Message-ID: <4B6665C1.8000901@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Heiko, Heiko Schocher wrote: > There's no sensible reason to unite speed and interface type into > one variable. So split this variable enet_interface into two > vars: enet_interface_type, which hold the interface type and speed. > > Also: add the possibility for switching between 10 and 100 MBit > interfaces on the fly, when running in FAST_ETH mode. > > Signed-off-by: Heiko Schocher > --- > board/freescale/mpc8360emds/mpc8360emds.c | 3 +- > drivers/qe/uec.c | 122 ++++++++++++++++------------- > drivers/qe/uec.h | 34 ++++---- > drivers/qe/uec_phy.c | 84 +++++++++++--------- > include/configs/MPC8323ERDB.h | 6 +- > include/configs/MPC832XEMDS.h | 6 +- > include/configs/MPC8360EMDS.h | 6 +- > include/configs/MPC8360ERDK.h | 6 +- > include/configs/MPC8568MDS.h | 6 +- > include/configs/MPC8569MDS.h | 30 +++++--- > include/configs/kmeter1.h | 3 +- > 11 files changed, 175 insertions(+), 131 deletions(-) > Applied to net repo. thanks, Ben