OSDN Git Service

ptp: ocp: Rename version string shown by devlink.
authorJonathan Lemon <jonathan.lemon@gmail.com>
Thu, 5 Aug 2021 19:52:47 +0000 (12:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Aug 2021 09:41:27 +0000 (10:41 +0100)
commit1a052da92924413d8fab15ccf293f886148e8fc9
tree10e591b572653b9e3f1f4c6c0c4792cf2f0c659f
parentef0cfb3460a40942c901e15e3df9822b63cb159e
ptp: ocp: Rename version string shown by devlink.

The TimeCard has two FPGA images in the flash: the actual firmware,
and a manufacturing fallback version which is intended to act as a
loader in case the flash update failed.

Name these "fw" and "loader", which are reflected in devlink:

    [root@timecard drv]# devlink dev info
    pci/0000:04:00.0:
      driver ptp_ocp
      serial_number fc:c2:3d:2e:d7:c0
      versions:
          running:
            fw 5

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c