wkz / mdio-tools

Low-level debug tools for MDIO devices.
GNU General Public License v2.0
66 stars 31 forks source link

Reading from none existing device id will never timeout #17

Open gwrg opened 2 years ago

gwrg commented 2 years ago

Reading from existing id 4 works fine

mdio *fc000 mvls 4 raw 0x2:4 0x043c

The command will never timeout if the id is changed to one which do not exist. In this case id 1 has no device.

mdio *fc000 mvls 1 raw 0x2:4

vredzhepov commented 1 year ago

Seems on the latest release 1.2.0 this issue has been already fixed. When trying to read from not existing device an error returned # mdio !* mvls 1 raw 0x11:0x08 ERROR: Raw operation failed (-110)