]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: mxl-gpy: print firmware in human readable form
authorMichael Walle <michael@walle.cc>
Tue, 12 Jul 2022 13:15:54 +0000 (15:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2022 13:18:39 +0000 (14:18 +0100)
commit73e6ae464fb7bcac7bba000d1d0e9d293b44c181
treefff910cdd083ca5b1214b5dbdfd0a9ada174b7c0
parent9345bb133b784edd35cc9d2992d694b453f9698c
net: phy: mxl-gpy: print firmware in human readable form

Now having a major and a minor number, also print the firmware in
human readable form "major.minor". Still keep the 4-digit hexadecimal
representation because that form is used in the firmware changelog
documents. Also, drop the "release" string assuming that most common
case, but make it clearer that the user is running a test version.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mxl-gpy.c