From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Thu, 12 Aug 2010 14:58:47 +0200 Subject: [U-Boot] [PATCH] UEC PHY: Speed up initial PHY neg. In-Reply-To: <1281451009-26015-1-git-send-email-Joakim.Tjernlund@transmode.se> (Joakim Tjernlund's message of "Tue, 10 Aug 2010 16:36:49 +0200") References: <1281451009-26015-1-git-send-email-Joakim.Tjernlund@transmode.se> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jocke, > Instead of always performing an autoneg, check if the PHY > already has a link and if it matches one of the requested > modes. Initially only 100MbFD is optimized this way. Isn't it about time that we think about _not_ stopping the ethernet device after every transaction? Why not initialize it for the first transfer and stop it once we boot a kernel? For USB for example we do just that. Sorry for not providing a concrete patch, but I felt it is worthwhile to throw that thought into the discussion as it pops up more and more often nowadays. For example usb-cdc which currently deregisters the network device on the host side after _every_ transfer.... Cheers Detlev -- You live and learn -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de