diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2023-08-24 09:17:54 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-25 19:05:58 -0700 |
commit | 0ea064e74bc8f915aba3f2d0fb3418247a09b73d (patch) | |
tree | 3f29b8b9d9a8eddfb396981443ae4298534b284f /drivers/net/ethernet/intel/igb/igb_main.c | |
parent | 969cfd4c8ca50c32901342cdd3d677c3ffe61371 (diff) |
pds_core: pass opcode to devcmd_wait
Don't rely on the PCI memory for the devcmd opcode because we
read a 0xff value if the PCI bus is broken, which can cause us
to report a bogus dev_cmd opcode later.
Fixes: 523847df1b37 ("pds_core: add devcmd device interfaces")
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230824161754.34264-6-shannon.nelson@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb_main.c')
0 files changed, 0 insertions, 0 deletions