summaryrefslogtreecommitdiff
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-08-28 11:33:53 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-08-28 20:51:39 -0600
commitc8b303d0206b28c4ff3aecada47108d1655ae00f (patch)
treebbb96ddfdeb3707f479b4b924fb0c3079165ca98 /lib/spinlock_debug.c
parentd3694d4fa3f44f6a295f8ab064937c8a1549d174 (diff)
PCI: Remove PCIe Capability version checks
Previously we relied on the PCIe r3.0, sec 7.8, spec language that says "For Functions that do not implement the [Link, Slot, Root] registers, these spaces must be hardwired to 0b," which means that for v2 PCIe capabilities, we don't need to check the device type at all. But it's simpler if we don't need to check the capability version at all, and I think the spec is explicit enough about which registers are required for which types that we can remove the version checks. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-By: Jiang Liu <jiang.liu@huawei.com>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions