From: Mike Frysinger Date: Sun, 19 Jul 2009 22:36:14 -0400 Subject: [U-Boot] [PATCH] - add dns In-Reply-To: <200907191930.44021.rgetz@blackfin.uclinux.org> References: <200907171553.08108.rgetz@blackfin.uclinux.org> <200907182115.03882.vapier@gentoo.org> <200907191930.44021.rgetz@blackfin.uclinux.org> Message-ID: <200907192236.15915.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sunday 19 July 2009 19:30:43 Robin Getz wrote: > On Sat 18 Jul 2009 21:15, Mike Frysinger pondered: > > On Saturday 18 July 2009 20:27:00 Robin Getz wrote: > > > Does it make sense to have 4 different ones? (not to me)... > > > > > > Or something new & common in ./net.c:random_port() > > > > i would make a new patch that adds a new random_port() function and > > converts existing consumers to that, and then have the dns code rely on > > that. > > > > and you should adopt my implementation because the generated code is > > much much nicer than the others ;) > > At least on Blackfin - the sntp version and yours are computationally > equal - although I think yours ends up being more random - so yeah, I'll > use that one. any arch that has an instruction for doing the "and" operation should end up being computationally as simple as the Blackfin code. afaik, pretty much all do, and the ones who dont are screwed anyways, so nothing to be done for them. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20090719/a1e9be32/attachment-0001.pgp