summaryrefslogtreecommitdiff
path: root/drivers/pci/ats.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-07-17 23:27:34 +0300
committerBjorn Helgaas <bhelgaas@google.com>2015-08-13 23:57:22 +0300
commit67930995d7fb8ae7d2078822b563010b289ace2e (patch)
tree1ff5b514c36b7f8cd11fef1d99bbb7bf367e6c1d /drivers/pci/ats.c
parentd544d75ac96aa1b0a8a378826626a0fbd8ce4380 (diff)
downloadlinux-67930995d7fb8ae7d2078822b563010b289ace2e.tar.xz
PCI: Reduce size of ATS structure elements
The extended capabilities list is linked with 12-bit pointers, and the ATS Smallest Translation Unit and Invalidate Queue Depth fields are both 5 bits. Use u16 and u8 to hold the extended capability address and the stu and qdep values. No functional change. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/pci/ats.c')
0 files changed, 0 insertions, 0 deletions