summaryrefslogtreecommitdiff
path: root/ipc/Makefile
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 18:36:07 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2016-10-12 03:44:22 (GMT)
commite3a1698b1e7776fbb3304dfd68db1d1ac18f85c0 (patch)
tree4491983d75db45409671fc82409466caa30b2a0b /ipc/Makefile
parent6d76833c5223348dc8fddaa31584d923cae2a566 (diff)
downloadlinux-e3a1698b1e7776fbb3304dfd68db1d1ac18f85c0.tar.xz
PCI: iproc: Hard-code PCIe capability offset instead of searching
We know where the PCIe capability lives in the host bridge's config space; in fact, we already hard-coded the offset of the Link Control 2 register. The hard-coded Link Control 2 offset was 0xdc. Link Control 2 is at offset 0x30 into the PCIe capability, so the capability itself must be at 0xdc - 0x30 = 0xac. Hard-code the PCIe capability offset, which means we don't have to search for it and we can use the standard definitions for registers within the capability. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'ipc/Makefile')
0 files changed, 0 insertions, 0 deletions