From: Kim Phillips Date: Thu, 7 Jan 2010 18:59:44 -0600 Subject: [U-Boot] 83xx, uec: adjust enet_interface settings on the fly. In-Reply-To: <4B4594DC.3090809@denx.de> References: <4B4594DC.3090809@denx.de> Message-ID: <20100107185944.189fdff3.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 7 Jan 2010 09:01:32 +0100 Heiko Schocher wrote: > static void adjust_link(struct eth_device *dev) > { > uec_private_t *uec = (uec_private_t *)dev->priv; > @@ -547,6 +617,8 @@ static void adjust_link(struct eth_device *dev) > dev->name, mii_info->speed); > break; > } > + } else if (uec->uec_info->uf_info.eth_type == FAST_ETH) { > + adjust_fast_enet_interface(mii_info->speed, dev); > } did you make any effort to refactor this into the existing eth_type == GIGA_ETH code? I'm not sure why that code became conditional in commit 24c3aca3f1358b113d3215adb5433b156e99f72b "mpc83xx: Add support for the MPC832XEMDS board" in the first place - Dave? Kim