summaryrefslogtreecommitdiff
path: root/net/ethernet
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2012-07-24 17:20:03 +0800
committerBjorn Helgaas <bhelgaas@google.com>2012-08-23 09:40:57 -0600
commit62f87c0e31d646d5501edf4f7feb07d0ad689d80 (patch)
treef2aa208c10f6cf8b91634f91efda44efc6f4c25f /net/ethernet
parent786e22885d9959fda0473ace5a61cb11620fba9b (diff)
downloadlinux-3.10-62f87c0e31d646d5501edf4f7feb07d0ad689d80.tar.gz
linux-3.10-62f87c0e31d646d5501edf4f7feb07d0ad689d80.tar.bz2
linux-3.10-62f87c0e31d646d5501edf4f7feb07d0ad689d80.zip
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>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions