commit | 9437eca18170008a085a61bf96c99f2d923b0393 | [log] [tgz] |
---|---|---|
author | Yijing Wang <wangyijing@huawei.com> | Mon Nov 04 16:51:31 2013 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon Nov 04 16:51:31 2013 -0700 |
tree | 202e08e658fbe2ae76e4df47bf015e35cb4e08ca | |
parent | f0308261b1dd5acba5c7e797159e60f94706df7d [diff] |
powerpc/pci: Use pci_is_pcie() to simplify code [fix] Fix f0308261b1 ("powerpc/pci: Use pci_is_pcie() to simplify code"). I accidentally merged v2 instead of v3, so this adds the difference. Without this, "cap" is the left-over PCI-X capability offset, and we're using it as the PCIe capability offset. [bhelgaas: extracted v2->v3 diff] Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>