Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82301
b: refs/heads/master
c: 39ec456
h: refs/heads/master
i:
  82299: 32a1111
v: v3
  • Loading branch information
Shaohua Li authored and Greg Kroah-Hartman committed Feb 1, 2008
1 parent 8ba68c3 commit 15c8821
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb003ec26556057e5f27d4b989bbb432d0bdc0f4
refs/heads/master: 39ec4561b3a9ccccbdab1dd88a045342be22f27b
5 changes: 2 additions & 3 deletions trunk/drivers/pci/pcie/portdrv_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,8 @@ static int get_port_device_capability(struct pci_dev *dev)
if (reg32 & SLOT_HP_CAPABLE_MASK)
services |= PCIE_PORT_SERVICE_HP;
}
/* PME Capable */
pos = pci_find_capability(dev, PCI_CAP_ID_PME);
if (pos)
/* PME Capable - root port capability */
if (((reg16 >> 4) & PORT_TYPE_MASK) == PCIE_RC_PORT)
services |= PCIE_PORT_SERVICE_PME;

pos = PCI_CFG_SPACE_SIZE;
Expand Down

0 comments on commit 15c8821

Please sign in to comment.