Re: [PATCH v2] cmd: net: add a 'net list' command to list network devs

2021-06-14 Thread Ramon Fried
On Mon, Jun 14, 2021 at 6:36 PM Tim Harvey wrote: > > On Sat, Jun 12, 2021 at 12:02 PM Ramon Fried wrote: > > > > Hi Tim. > > The patch fails build in several boards (Malta variants): > > > > +cmd/net.c: In function 'do_net_list': > > 42+cmd/net.c:487:34: error: initialization of 'const struct ud

Re: [PATCH v2] cmd: net: add a 'net list' command to list network devs

2021-06-14 Thread Tim Harvey
On Sat, Jun 12, 2021 at 12:02 PM Ramon Fried wrote: > > Hi Tim. > The patch fails build in several boards (Malta variants): > > +cmd/net.c: In function 'do_net_list': > 42+cmd/net.c:487:34: error: initialization of 'const struct udevice *' > from incompatible pointer type 'struct eth_device *' > [

Re: [PATCH v2] cmd: net: add a 'net list' command to list network devs

2021-06-12 Thread Ramon Fried
Hi Tim. The patch fails build in several boards (Malta variants): +cmd/net.c: In function 'do_net_list': 42+cmd/net.c:487:34: error: initialization of 'const struct udevice *' from incompatible pointer type 'struct eth_device *' [-Werror=incompatible-pointer-types] 43+ 487 | const struct udevice *

Re: [PATCH v2] cmd: net: add a 'net list' command to list network devs

2021-06-12 Thread Ramon Fried
On Fri Jun 11, 2021 at 10:52 PM IDT, Tim Harvey wrote: > In a system with multiple network controllers it can be difficult > to know the names of the various devices available. This is especially > true for USB ether devices as they do not display device names upon > detection. > > This is being ad

[PATCH v2] cmd: net: add a 'net list' command to list network devs

2021-06-11 Thread Tim Harvey
In a system with multiple network controllers it can be difficult to know the names of the various devices available. This is especially true for USB ether devices as they do not display device names upon detection. This is being added as a net sub-system in case other commands may want to be adde