Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27187
b: refs/heads/master
c: 8b8c8d2
h: refs/heads/master
i:
  27185: 8db90e2
  27183: 3b56f11
v: v3
  • Loading branch information
Yu, Luming authored and Greg Kroah-Hartman committed Jun 11, 2006
1 parent 1781a35 commit 44b4848
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 04d9c1a1100b6bdeffa7e1bfc30080bdac28e183
refs/heads/master: 8b8c8d280ab2d18fe6e42d671f60d4ffed451cdc
6 changes: 5 additions & 1 deletion trunk/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,11 @@ pci_restore_state(struct pci_dev *dev)
int i;
int val;

for (i = 0; i < 16; i++) {
/*
* The Base Address register should be programmed before the command
* register(s)
*/
for (i = 15; i >= 0; i--) {
pci_read_config_dword(dev, i * 4, &val);
if (val != dev->saved_config_space[i]) {
printk(KERN_DEBUG "PM: Writing back config space on "
Expand Down

0 comments on commit 44b4848

Please sign in to comment.