Re: Don't initialise ports with no PHY

2020-04-30 Thread Christian Zigotzky
> On 30. Apr 2020, at 23:36, Darren Stevens wrote: > > Hello Christian > >> On 29/04/2020, Christian Zigotzky wrote: >> >> On 29. Apr 2020, at 17:22, Andrew Lunn wrote: >>> >>> ?On Wed, Apr 29, 2020 at 03:55:28PM +0200, Christian Zigotzky wrote: Hi Andrew, You can fin

Re: Don't initialise ports with no PHY

2020-04-30 Thread Darren Stevens
Hello Christian On 29/04/2020, Christian Zigotzky wrote: > > >> On 29. Apr 2020, at 17:22, Andrew Lunn wrote: >> >> ?On Wed, Apr 29, 2020 at 03:55:28PM +0200, Christian Zigotzky wrote: >>> Hi Andrew, >>> >>> You can find some dtb and source files in our kernel package. >>> >>> Download: http:/

Re: Don't initialise ports with no PHY

2020-04-30 Thread Darren Stevens
Hello Andrew On 25/04/2020, Andrew Lunn wrote: > On Fri, Apr 24, 2020 at 11:29:38PM +0100, Darren Stevens wrote: >> Since cbb961ca271e ("Use random MAC address when none is given") >> Varisys Cyrus P5020 boards have been listing 5 ethernet ports instead of >> the 2 the board has.This is because we

Re: [RFC PATCH dpss_eth] Don't initialise ports with no PHY

2020-04-29 Thread Christian Zigotzky
Hi Andrew, You can find some dtb and source files in our kernel package. Download: http://www.xenosoft.de/linux-image-5.7-rc3-X1000_X5000.tar.gz Thanks, Christian > On 29. Apr 2020, at 15:13, Andrew Lunn wrote: > >  >> >> Maybe we have to modify the dtb file. > > Hi Christian > > Could yo

Re: [RFC PATCH dpss_eth] Don't initialise ports with no PHY

2020-04-29 Thread Christian Zigotzky
> On 29. Apr 2020, at 17:22, Andrew Lunn wrote: > > On Wed, Apr 29, 2020 at 03:55:28PM +0200, Christian Zigotzky wrote: >> Hi Andrew, >> >> You can find some dtb and source files in our kernel package. >> >> Download: http://www.xenosoft.de/linux-image-5.7-rc3-X1000_X5000.tar.gz > > I have

Re: [RFC PATCH dpss_eth] Don't initialise ports with no PHY

2020-04-29 Thread Andrew Lunn
On Wed, Apr 29, 2020 at 03:55:28PM +0200, Christian Zigotzky wrote: > Hi Andrew, > > You can find some dtb and source files in our kernel package. > > Download: http://www.xenosoft.de/linux-image-5.7-rc3-X1000_X5000.tar.gz I have the tarball. Are we talking about linux-image-5.7-rc3-X1000_X5000/

Re: [RFC PATCH dpss_eth] Don't initialise ports with no PHY

2020-04-29 Thread Andrew Lunn
> Maybe we have to modify the dtb file. Hi Christian Could you point me at the DT file. Thanks Andrew

Re: [RFC PATCH dpss_eth] Don't initialise ports with no PHY

2020-04-29 Thread Christian Zigotzky
Hi Darren, Thanks a lot for your patch! I tested it with the RC3 today. Unfortunately it doesn't compile because a bracket is missing in the following line: +    if (prop && !strncmp(prop, "disabled", 8) { And a semicolon is missing in the following line: +        goto _return I added the

Re: [RFC PATCH dpss_eth] Don't initialise ports with no PHY

2020-04-24 Thread Andrew Lunn
On Fri, Apr 24, 2020 at 11:29:38PM +0100, Darren Stevens wrote: > Since cbb961ca271e ("Use random MAC address when none is given") > Varisys Cyrus P5020 boards have been listing 5 ethernet ports instead of > the 2 the board has.This is because we were preventing the adding of the > unused ports by

Re: [RFC PATCH dpss_eth] Don't initialise ports with no PHY

2020-04-24 Thread Florian Fainelli
On 4/24/2020 3:29 PM, Darren Stevens wrote: > Since cbb961ca271e ("Use random MAC address when none is given") > Varisys Cyrus P5020 boards have been listing 5 ethernet ports instead of > the 2 the board has.This is because we were preventing the adding of the > unused ports by not suppling them

[RFC PATCH dpss_eth] Don't initialise ports with no PHY

2020-04-24 Thread Darren Stevens
Since cbb961ca271e ("Use random MAC address when none is given") Varisys Cyrus P5020 boards have been listing 5 ethernet ports instead of the 2 the board has.This is because we were preventing the adding of the unused ports by not suppling them a MAC address, which this patch now supplies. Prevent