From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tuomas Tynkkynen Date: Sun, 19 Mar 2017 01:17:48 +0200 Subject: [U-Boot] [PATCH] fdt_support: Fixup 'ethernet' aliases not ending in digits In-Reply-To: <20170318183434.GH19897@bill-the-cat> References: <20170317194459.10109-1-tuomas@tuxera.com> <20170318012651.GB19897@bill-the-cat> <20170318202007.3c053d78@duuni> <20170318183434.GH19897@bill-the-cat> Message-ID: <20170319011748.463fc4ef@duuni> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 18 Mar 2017 14:34:34 -0400 Tom Rini wrote: > On Sat, Mar 18, 2017 at 08:20:07PM +0200, Tuomas Tynkkynen wrote: ... > > > > That one accepts everything starting with "ethernet", which sounds undesirable > > if one wants to have e.g. an "ethernet-phy0" alias for some different purpose. > > True. Would you mind doing a v2 of your patch then (and grab my part to > just use the length of ethernet in the strncmp) where we don't add a > comment implying RPi is "wrong" here and just that we sometimes have > "ethernet" as the alias for the first and only ethernet device? Thanks! > Sure, will do it on Monday when I have access to my Pi again!