Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358428
b: refs/heads/master
c: 7c9c003
h: refs/heads/master
v: v3
  • Loading branch information
Myron Stowe authored and Bjorn Helgaas committed Jan 31, 2013
1 parent a17320b commit 38f610f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 10c463a7a3b96285133c37e230781a1274abbd31
refs/heads/master: 7c9c003c68de51fb8712a01e904444ef40c742f5
9 changes: 9 additions & 0 deletions trunk/include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,15 @@ static inline bool pci_is_pcie(struct pci_dev *dev)
return !!pci_pcie_cap(dev);
}

/**
* pcie_caps_reg - get the PCIe Capabilities Register
* @dev: PCI device
*/
static inline u16 pcie_caps_reg(const struct pci_dev *dev)
{
return dev->pcie_flags_reg;
}

/**
* pci_pcie_type - get the PCIe device/port type
* @dev: PCI device
Expand Down

0 comments on commit 38f610f

Please sign in to comment.