Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250088
b: refs/heads/master
c: 69643e4
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and Jesse Barnes committed May 11, 2011
1 parent cab158d commit 6694686
Show file tree
Hide file tree
Showing 2 changed files with 8 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: e522a7126c7c144a1dd14c6f217ac31e71082b1d
refs/heads/master: 69643e4829c5cd13bafe44a6b9f3eb2086e0f618
7 changes: 7 additions & 0 deletions trunk/drivers/pci/hotplug/acpiphp_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,13 @@ static int __ref enable_device(struct acpiphp_slot *slot)
acpiphp_set_hpp_values(bus);
acpiphp_set_acpi_region(slot);
pci_enable_bridges(bus);

list_for_each_entry(dev, &bus->devices, bus_list) {
/* Assume that newly added devices are powered on already. */
if (!dev->is_added)
dev->current_state = PCI_D0;
}

pci_bus_add_devices(bus);

list_for_each_entry(func, &slot->funcs, sibling) {
Expand Down

0 comments on commit 6694686

Please sign in to comment.