Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-23 Thread Rob Herring
On Tue, Aug 9, 2022 at 4:39 PM Tim Harvey wrote: > > On Tue, Aug 9, 2022 at 2:31 PM Pali Rohár wrote: > > > > On Tuesday 09 August 2022 16:48:23 Sean Anderson wrote: > > > On 8/8/22 5:45 PM, Michal Suchánek wrote: > > > > On Mon, Aug 08, 2022 at 02:38:35PM -0700, Stephen Hemminger wrote: > > > >>

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-20 Thread Sean Anderson
On 8/20/22 5:16 AM, Pali Rohár wrote: On Wednesday 10 August 2022 00:45:35 Pali Rohár wrote: On Tuesday 09 August 2022 18:41:25 Sean Anderson wrote: On 8/9/22 5:42 PM, Pali Rohár wrote: On Tuesday 09 August 2022 17:36:52 Sean Anderson wrote: On 8/9/22 5:31 PM, Pali Rohár wrote: On Tuesday 09

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-20 Thread Pali Rohár
On Wednesday 10 August 2022 00:45:35 Pali Rohár wrote: > On Tuesday 09 August 2022 18:41:25 Sean Anderson wrote: > > On 8/9/22 5:42 PM, Pali Rohár wrote: > > > On Tuesday 09 August 2022 17:36:52 Sean Anderson wrote: > > >> On 8/9/22 5:31 PM, Pali Rohár wrote: > > >> > On Tuesday 09 August 2022 16:4

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-11 Thread Sean Anderson
On 8/10/22 11:35 AM, Michal Suchánek wrote: > On Wed, Aug 10, 2022 at 05:17:56PM +0200, Andrew Lunn wrote: >> > > I guess you are new to the netdev list :-) >> > > >> > > This is one of those FAQ sort of things, discussed every >> > > year. Anything like this is always NACKed. I don't see why t

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-10 Thread Michal Suchánek
On Wed, Aug 10, 2022 at 05:17:56PM +0200, Andrew Lunn wrote: > > > I guess you are new to the netdev list :-) > > > > > > This is one of those FAQ sort of things, discussed every > > > year. Anything like this is always NACKed. I don't see why this time > > > should be any different. > > > > > >

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-10 Thread Andrew Lunn
> > I guess you are new to the netdev list :-) > > > > This is one of those FAQ sort of things, discussed every > > year. Anything like this is always NACKed. I don't see why this time > > should be any different. > > > > DSA is somewhat special because it is very old. It comes from before > > th

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-10 Thread Michal Suchánek
On Wed, Aug 10, 2022 at 03:11:48AM +0200, Andrew Lunn wrote: > > Is something like the following really that crazy of an idea? > > diff --git a/net/core/dev.c b/net/core/dev.c > > index e0878a500aa9..a679c74a63c6 100644 > > --- a/net/core/dev.c > > +++ b/net/core/dev.c > > @@ -1151,6 +1151,15 @@ st

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Andrew Lunn
> Is something like the following really that crazy of an idea? > diff --git a/net/core/dev.c b/net/core/dev.c > index e0878a500aa9..a679c74a63c6 100644 > --- a/net/core/dev.c > +++ b/net/core/dev.c > @@ -1151,6 +1151,15 @@ static int dev_alloc_name_ns(struct net *net, > int ret; > >

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Tim Harvey
On Tue, Aug 9, 2022 at 3:45 PM Pali Rohár wrote: > > On Tuesday 09 August 2022 18:41:25 Sean Anderson wrote: > > > > > > On 8/9/22 5:42 PM, Pali Rohár wrote: > > > On Tuesday 09 August 2022 17:36:52 Sean Anderson wrote: > > >> On 8/9/22 5:31 PM, Pali Rohár wrote: > > >> > On Tuesday 09 August 2022

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Pali Rohár
On Tuesday 09 August 2022 18:41:25 Sean Anderson wrote: > > > On 8/9/22 5:42 PM, Pali Rohár wrote: > > On Tuesday 09 August 2022 17:36:52 Sean Anderson wrote: > >> On 8/9/22 5:31 PM, Pali Rohár wrote: > >> > On Tuesday 09 August 2022 16:48:23 Sean Anderson wrote: > >> >> On 8/8/22 5:45 PM, Michal

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Tim Harvey
On Tue, Aug 9, 2022 at 3:41 PM Sean Anderson wrote: > > > > On 8/9/22 5:42 PM, Pali Rohár wrote: > > On Tuesday 09 August 2022 17:36:52 Sean Anderson wrote: > >> On 8/9/22 5:31 PM, Pali Rohár wrote: > >> > On Tuesday 09 August 2022 16:48:23 Sean Anderson wrote: > >> >> On 8/8/22 5:45 PM, Michal Su

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Sean Anderson
On 8/9/22 5:42 PM, Pali Rohár wrote: > On Tuesday 09 August 2022 17:36:52 Sean Anderson wrote: >> On 8/9/22 5:31 PM, Pali Rohár wrote: >> > On Tuesday 09 August 2022 16:48:23 Sean Anderson wrote: >> >> On 8/8/22 5:45 PM, Michal Suchánek wrote: >> >> > On Mon, Aug 08, 2022 at 02:38:35PM -0700, St

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Pali Rohár
On Tuesday 09 August 2022 14:39:05 Tim Harvey wrote: > I've been wondering the same as well which made me wonder what the > history of the 'aliases' node is and why its not used in most cases in > Linux. I know for the SOC's I work with we've always defined aliases > for ethernet, gpio, serial, spi

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Pali Rohár
On Tuesday 09 August 2022 17:36:52 Sean Anderson wrote: > On 8/9/22 5:31 PM, Pali Rohár wrote: > > On Tuesday 09 August 2022 16:48:23 Sean Anderson wrote: > >> On 8/8/22 5:45 PM, Michal Suchánek wrote: > >> > On Mon, Aug 08, 2022 at 02:38:35PM -0700, Stephen Hemminger wrote: > >> >> On Mon, 8 Aug 2

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Sean Anderson
On 8/9/22 5:35 PM, Tim Harvey wrote: > On Tue, Aug 9, 2022 at 1:48 PM Sean Anderson wrote: >> >> >> >> On 8/8/22 5:45 PM, Michal Suchánek wrote: >> > On Mon, Aug 08, 2022 at 02:38:35PM -0700, Stephen Hemminger wrote: >> >> On Mon, 8 Aug 2022 23:09:45 +0200 >> >> Michal Suchánek wrote: >> >> >>

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Tim Harvey
On Tue, Aug 9, 2022 at 2:31 PM Pali Rohár wrote: > > On Tuesday 09 August 2022 16:48:23 Sean Anderson wrote: > > On 8/8/22 5:45 PM, Michal Suchánek wrote: > > > On Mon, Aug 08, 2022 at 02:38:35PM -0700, Stephen Hemminger wrote: > > >> On Mon, 8 Aug 2022 23:09:45 +0200 > > >> Michal Suchánek wrote

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Sean Anderson
On 8/9/22 5:31 PM, Pali Rohár wrote: > On Tuesday 09 August 2022 16:48:23 Sean Anderson wrote: >> On 8/8/22 5:45 PM, Michal Suchánek wrote: >> > On Mon, Aug 08, 2022 at 02:38:35PM -0700, Stephen Hemminger wrote: >> >> On Mon, 8 Aug 2022 23:09:45 +0200 >> >> Michal Suchánek wrote: >> >> >> >> >

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Tim Harvey
On Tue, Aug 9, 2022 at 1:48 PM Sean Anderson wrote: > > > > On 8/8/22 5:45 PM, Michal Suchánek wrote: > > On Mon, Aug 08, 2022 at 02:38:35PM -0700, Stephen Hemminger wrote: > >> On Mon, 8 Aug 2022 23:09:45 +0200 > >> Michal Suchánek wrote: > >> > >> > On Mon, Aug 08, 2022 at 03:57:55PM -0400, Sea

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Pali Rohár
On Tuesday 09 August 2022 16:48:23 Sean Anderson wrote: > On 8/8/22 5:45 PM, Michal Suchánek wrote: > > On Mon, Aug 08, 2022 at 02:38:35PM -0700, Stephen Hemminger wrote: > >> On Mon, 8 Aug 2022 23:09:45 +0200 > >> Michal Suchánek wrote: > >> > >> > On Mon, Aug 08, 2022 at 03:57:55PM -0400, Sean

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-09 Thread Sean Anderson
On 8/8/22 5:45 PM, Michal Suchánek wrote: > On Mon, Aug 08, 2022 at 02:38:35PM -0700, Stephen Hemminger wrote: >> On Mon, 8 Aug 2022 23:09:45 +0200 >> Michal Suchánek wrote: >> >> > On Mon, Aug 08, 2022 at 03:57:55PM -0400, Sean Anderson wrote: >> > > Hi Tim, >> > > >> > > On 8/8/22 3:18 PM,

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Stephen Hemminger
On Mon, 8 Aug 2022 23:09:45 +0200 Michal Suchánek wrote: > On Mon, Aug 08, 2022 at 03:57:55PM -0400, Sean Anderson wrote: > > Hi Tim, > > > > On 8/8/22 3:18 PM, Tim Harvey wrote: > > > Greetings, > > > > > > I'm trying to understand if there is any implication of 'ethernet' > > > aliases in L

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Michal Suchánek
On Mon, Aug 08, 2022 at 02:38:35PM -0700, Stephen Hemminger wrote: > On Mon, 8 Aug 2022 23:09:45 +0200 > Michal Suchánek wrote: > > > On Mon, Aug 08, 2022 at 03:57:55PM -0400, Sean Anderson wrote: > > > Hi Tim, > > > > > > On 8/8/22 3:18 PM, Tim Harvey wrote: > > > > Greetings, > > > > > > >

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Tim Harvey
On Mon, Aug 8, 2022 at 2:34 PM Florian Fainelli wrote: > > On 8/8/22 14:28, Tim Harvey wrote: > > On Mon, Aug 8, 2022 at 2:19 PM Florian Fainelli > > wrote: > >> > >> On 8/8/22 12:57, Sean Anderson wrote: > >>> Hi Tim, > >>> > >>> On 8/8/22 3:18 PM, Tim Harvey wrote: > Greetings, > > >

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Florian Fainelli
On 8/8/22 14:28, Tim Harvey wrote: On Mon, Aug 8, 2022 at 2:19 PM Florian Fainelli wrote: On 8/8/22 12:57, Sean Anderson wrote: Hi Tim, On 8/8/22 3:18 PM, Tim Harvey wrote: Greetings, I'm trying to understand if there is any implication of 'ethernet' aliases in Linux such as: ali

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Tim Harvey
On Mon, Aug 8, 2022 at 2:19 PM Florian Fainelli wrote: > > On 8/8/22 12:57, Sean Anderson wrote: > > Hi Tim, > > > > On 8/8/22 3:18 PM, Tim Harvey wrote: > >> Greetings, > >> > >> I'm trying to understand if there is any implication of 'ethernet' > >> aliases in Linux such as: > >> aliase

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Florian Fainelli
On 8/8/22 12:57, Sean Anderson wrote: Hi Tim, On 8/8/22 3:18 PM, Tim Harvey wrote: Greetings, I'm trying to understand if there is any implication of 'ethernet' aliases in Linux such as: aliases { ethernet0 = &eqos; ethernet1 = &fec;

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Tim Harvey
On Mon, Aug 8, 2022 at 12:58 PM Sean Anderson wrote: > > Hi Tim, > > On 8/8/22 3:18 PM, Tim Harvey wrote: > > Greetings, > > > > I'm trying to understand if there is any implication of 'ethernet' > > aliases in Linux such as: > > aliases { > > ethernet0 = &eqos; > >

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Michal Suchánek
On Mon, Aug 08, 2022 at 03:57:55PM -0400, Sean Anderson wrote: > Hi Tim, > > On 8/8/22 3:18 PM, Tim Harvey wrote: > > Greetings, > > > > I'm trying to understand if there is any implication of 'ethernet' > > aliases in Linux such as: > > aliases { > > ethernet0 = &eqos; >

Re: ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Sean Anderson
Hi Tim, On 8/8/22 3:18 PM, Tim Harvey wrote: > Greetings, > > I'm trying to understand if there is any implication of 'ethernet' > aliases in Linux such as: > aliases { > ethernet0 = &eqos; > ethernet1 = &fec; > ethernet2 = &lan1; >

ethernet dt aliases implications in U-Boot and Linux

2022-08-08 Thread Tim Harvey
Greetings, I'm trying to understand if there is any implication of 'ethernet' aliases in Linux such as: aliases { ethernet0 = &eqos; ethernet1 = &fec; ethernet2 = &lan1; ethernet3 = &lan2; ethernet4 = &lan3;