diff options
author | Myron Stowe <myron.stowe@redhat.com> | 2012-06-01 15:16:43 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-11 20:41:28 -0600 |
commit | 9cb604ed45a31419bab3877472691a5da15a3c47 (patch) | |
tree | 6a9c237f2af76b3ac257fb6ee477cc8fb7b89980 /drivers/parisc/iosapic.c | |
parent | c463b8cb9350cf1230cefe467a1cf279140a5437 (diff) | |
download | blackbird-op-linux-9cb604ed45a31419bab3877472691a5da15a3c47.tar.gz blackbird-op-linux-9cb604ed45a31419bab3877472691a5da15a3c47.zip |
PCI: remove redundant capabilities checking in pci_{save, restore}_pcie_state
Unlike PCI Express v1's Capabilities Structure, v2's requires the entire
structure to be implemented. In v2 structures, register fields that
are not implemented are present but hardwired to 0x0. These may
include: Link Capabilities, Status, and Control; Slot Capabilities,
Status, and Control; Root Capabilities, Status, and Control; and all of
the '2' (Device, Link, and Slot) Capabilities, Status, and Control
registers.
This patch removes the redundant capability checks corresponding to the
Link 2's and Slot 2's, Capabilities, Status, and Control registers as they
will be present if Device Capabilities 2's registers are (which explains
why the macros for each of the three are identical).
Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/parisc/iosapic.c')
0 files changed, 0 insertions, 0 deletions