Skip to content
Commit d88d6b05 authored by Steve Hodgson's avatar Steve Hodgson Committed by Ben Hutchings
Browse files

sfc: Siena: Disable write-combining when SR-IOV is enabled



If SR-IOV is enabled by firmware, even if it is not enabled in the PCI
capability, TX pushes using write-combining may be corrupted.

We want to know whether it is enabled before mapping the NIC
registers, and even if PCI extended capabilities are not accessible.
Therefore, we look for the MSI capability, which is removed if SR-IOV
is enabled.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent 736561a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment