Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82342
b: refs/heads/master
c: ec0a3a2
h: refs/heads/master
v: v3
  • Loading branch information
Shaohua Li authored and Greg Kroah-Hartman committed Feb 1, 2008
1 parent a534286 commit 64f3c89
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f34303de9e0263b389a215483adddc7d918cf8c8
refs/heads/master: ec0a3a27fbb5792980b8c3ce4a93bc2ee93d0b35
2 changes: 2 additions & 0 deletions trunk/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ static int pci_save_pcie_state(struct pci_dev *dev)
pci_read_config_word(dev, pos + PCI_EXP_LNKCTL, &cap[i++]);
pci_read_config_word(dev, pos + PCI_EXP_SLTCTL, &cap[i++]);
pci_read_config_word(dev, pos + PCI_EXP_RTCTL, &cap[i++]);
save_state->cap_nr = PCI_CAP_ID_EXP;
pci_add_saved_cap(dev, save_state);
return 0;
}
Expand Down Expand Up @@ -630,6 +631,7 @@ static int pci_save_pcix_state(struct pci_dev *dev)
cap = (u16 *)&save_state->data[0];

pci_read_config_word(dev, pos + PCI_X_CMD, &cap[i++]);
save_state->cap_nr = PCI_CAP_ID_PCIX;
pci_add_saved_cap(dev, save_state);
return 0;
}
Expand Down

0 comments on commit 64f3c89

Please sign in to comment.