PCI: Use PCI_EXP_SLTCAP_PSN mask when extracting slot number
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 9 Apr 2013 22:46:12 +0000 (16:46 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 15 Apr 2013 20:30:44 +0000 (14:30 -0600)
commit545d7b78e0bbe686056cdd6cd431ca1946641b31
tree86495cc7c7ec4dd824e0e4d72c4c11a886725d37
parent05795726e82372d3fe46210fcb3320f1fa49aea7
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>
drivers/pci/hotplug/pciehp_acpi.c