Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8291
b: refs/heads/master
c: 7c56075
h: refs/heads/master
i:
  8289: f07b434
  8287: f868759
v: v3
  • Loading branch information
Rajesh Shah authored and Greg Kroah-Hartman committed Sep 9, 2005
1 parent f58dc1d commit 17cd5d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 144a50ea5e1487b8b8e722289b4177713354448a
refs/heads/master: 7c56075e60caaff1314decdb61b72ef576915270
8 changes: 4 additions & 4 deletions trunk/drivers/pci/hotplug/pciehprm_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1696,15 +1696,15 @@ void pciehprm_enable_card(
pci_bus->number = func->bus;
devfn = PCI_DEVFN(func->device, func->function);

rc = pci_bus_read_config_word(pci_bus, devfn, PCI_COMMAND, &command);
rc = pci_bus_read_config_word(pci_bus, devfn, PCI_COMMAND, &cmd);

if (card_type == PCI_HEADER_TYPE_BRIDGE) {
rc = pci_bus_read_config_word(pci_bus, devfn, PCI_BRIDGE_CONTROL, &bcommand);
rc = pci_bus_read_config_word(pci_bus, devfn, PCI_BRIDGE_CONTROL, &bcmd);
}

cmd = command = command | PCI_COMMAND_MASTER | PCI_COMMAND_INVALIDATE
command = cmd | PCI_COMMAND_MASTER | PCI_COMMAND_INVALIDATE
| PCI_COMMAND_IO | PCI_COMMAND_MEMORY;
bcmd = bcommand = bcommand | PCI_BRIDGE_CTL_NO_ISA;
bcommand = bcmd | PCI_BRIDGE_CTL_NO_ISA;

ab = find_acpi_bridge_by_bus(acpi_bridges_head, ctrl->seg, ctrl->bus);
if (ab) {
Expand Down

0 comments on commit 17cd5d2

Please sign in to comment.