ionic: pass opcode to devcmd_wait

[ Upstream commit 24f110240c ]

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.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Shannon Nelson 2023-12-11 10:57:57 -08:00 • committed by Greg Kroah-Hartman
commit 434fcaf372
3 changed files with 3 additions and 1 deletions