aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorDanielle Ratson <[email protected]>2020-08-23 11:06:28 +0300
committerDavid S. Miller <[email protected]>2020-08-24 17:36:11 -0700
commit5bf01b571cf45db12a34f53b1ce96e044c030ae6 (patch)
treee40d06f6beb8bf50acd858ac415880cd2a7db82a /drivers/fpga/fpga-mgr.c
parentffff9c9cb451d16c42cea79adbaaafa423902113 (diff)
mlxsw: spectrum_ethtool: Remove internal speeds from PTYS register
The PTYS register is used to report and configure the port type and speed. Currently, internal bits in the register are used the same way other bits are used. Using the internal bits can cause bad parameter firmware errors. For example, trying to write to internal bit 25 returns: EMAD reg access failed (tid=53e2bffa00004310,reg_id=5004(ptys),type=write,status=7(bad parameter)) Remove the internal bits from the PTYS register, so that it is no longer possible to pass them to firmware. Signed-off-by: Danielle Ratson <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions