Re: [PATCH v1 2/2] devinfo: print only devices with errors

2021-06-16 Thread Oleksij Rempel
On Wed, Jun 16, 2021 at 09:59:03AM +0200, Sascha Hauer wrote: > Hi Oleksij, > > On Sun, Jun 06, 2021 at 02:24:00PM +0200, Oleksij Rempel wrote: > > Make use of device state flags and print only devices with errors. > > The result will look like this: > > barebox@RIoTboard i.MX6S:/ devinfo -e > > `

Re: [PATCH v1 2/2] devinfo: print only devices with errors

2021-06-16 Thread Sascha Hauer
Hi Oleksij, On Sun, Jun 06, 2021 at 02:24:00PM +0200, Oleksij Rempel wrote: > Make use of device state flags and print only devices with errors. > The result will look like this: > barebox@RIoTboard i.MX6S:/ devinfo -e > `-- 2188000.ether...@2188000.of <-- (error!) >`-- miibus0 > `-- mdi

[PATCH v1 2/2] devinfo: print only devices with errors

2021-06-06 Thread Oleksij Rempel
Make use of device state flags and print only devices with errors. The result will look like this: barebox@RIoTboard i.MX6S:/ devinfo -e `-- 2188000.ether...@2188000.of <-- (error!) `-- miibus0 `-- mdio0-phy04 `-- 0x-0x003f ( 64 Bytes): /dev/mdio0-phy04 `-- eth0 S