commit | 62f87c0e31d646d5501edf4f7feb07d0ad689d80 | [log] [tgz] |
---|---|---|
author | Yijing Wang <wangyijing@huawei.com> | Tue Jul 24 17:20:03 2012 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Aug 23 09:40:57 2012 -0600 |
tree | f2aa208c10f6cf8b91634f91efda44efc6f4c25f | |
parent | 786e22885d9959fda0473ace5a61cb11620fba9b [diff] |
PCI: Introduce pci_pcie_type(dev) to replace pci_dev->pcie_type Introduce an inline function pci_pcie_type(dev) to extract PCIe device type from pci_dev->pcie_flags_reg field, and prepare for removing pci_dev->pcie_type. Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>