net: phy: aquantia: report PHY details like firmware version
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 24 Mar 2019 10:08:13 +0000 (11:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Mar 2019 18:33:43 +0000 (11:33 -0700)
commit43429a0353af8586fe6f3a56c3931284ff5ede83
tree26f0749a6722b4d4b31dccbef6f8ccfd146facb7
parent9d685c11bf980bdd8036fb003db5a28913192f2e
net: phy: aquantia: report PHY details like firmware version

Add reporting firmware details. These details are available only once
the firmware has finished initializing the chip. This can take some
time and we need to poll for init completion.

v2:
- Propagate timeout in aqr107_wait_reset_complete(). Don't bail out
  completely on timeout because chip may be functional even w/o
  firmware image.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/aquantia_main.c