Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 545d7b78 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 05795726
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment