summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-sysfs.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-10 00:46:12 +0200
committerBjorn Helgaas <bhelgaas@google.com>2013-04-15 22:30:44 +0200
commit545d7b78e0bbe686056cdd6cd431ca1946641b31 (patch)
tree86495cc7c7ec4dd824e0e4d72c4c11a886725d37 /drivers/pci/pci-sysfs.c
parentPCI: Remove unnecessary dependencies between PME and ACPI (diff)
downloadlinux-545d7b78e0bbe686056cdd6cd431ca1946641b31.tar.xz
linux-545d7b78e0bbe686056cdd6cd431ca1946641b31.zip
PCI: Use PCI_EXP_SLTCAP_PSN mask when extracting slot number
Use PCI_EXP_SLTCAP_PSN mask to make it easier to find where the Physical Slot Number is used. The Physical Slot Number is bits 31:19 of the Slot Capabilities Register, and slot_cap is a u32, so the mask is technically unnecessary, but it's helpful for human readers. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
0 files changed, 0 insertions, 0 deletions