diff options
| author | Ingo Molnar <mingo@kernel.org> | 2013-12-17 09:27:08 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2013-12-17 09:27:08 -0500 |
| commit | bb799d3b980eb803ca2da4a4eefbd9308f8d988a (patch) | |
| tree | 69fbe0cd6d47b23a50f5e1d87bf7489532fae149 /drivers/pci/hotplug/cpqphp_ctrl.c | |
| parent | 919fc6e34831d1c2b58bfb5ae261dc3facc9b269 (diff) | |
| parent | 319e2e3f63c348a9b66db4667efa73178e18b17d (diff) | |
Merge tag 'v3.13-rc4' into core/locking
Merge Linux 3.13-rc4, to refresh this rather old tree with the latest fixes.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/pci/hotplug/cpqphp_ctrl.c')
| -rw-r--r-- | drivers/pci/hotplug/cpqphp_ctrl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pci/hotplug/cpqphp_ctrl.c b/drivers/pci/hotplug/cpqphp_ctrl.c index d282019cda5f..11845b796799 100644 --- a/drivers/pci/hotplug/cpqphp_ctrl.c +++ b/drivers/pci/hotplug/cpqphp_ctrl.c | |||
| @@ -1231,7 +1231,7 @@ static u8 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_ | |||
| 1231 | 1231 | ||
| 1232 | /* Only if mode change...*/ | 1232 | /* Only if mode change...*/ |
| 1233 | if (((bus->cur_bus_speed == PCI_SPEED_66MHz) && (adapter_speed == PCI_SPEED_66MHz_PCIX)) || | 1233 | if (((bus->cur_bus_speed == PCI_SPEED_66MHz) && (adapter_speed == PCI_SPEED_66MHz_PCIX)) || |
| 1234 | ((bus->cur_bus_speed == PCI_SPEED_66MHz_PCIX) && (adapter_speed == PCI_SPEED_66MHz))) | 1234 | ((bus->cur_bus_speed == PCI_SPEED_66MHz_PCIX) && (adapter_speed == PCI_SPEED_66MHz))) |
| 1235 | set_SOGO(ctrl); | 1235 | set_SOGO(ctrl); |
| 1236 | 1236 | ||
| 1237 | wait_for_ctrl_irq(ctrl); | 1237 | wait_for_ctrl_irq(ctrl); |
| @@ -1828,7 +1828,7 @@ static void interrupt_event_handler(struct controller *ctrl) | |||
| 1828 | 1828 | ||
| 1829 | if (ctrl->event_queue[loop].event_type == INT_BUTTON_PRESS) { | 1829 | if (ctrl->event_queue[loop].event_type == INT_BUTTON_PRESS) { |
| 1830 | dbg("button pressed\n"); | 1830 | dbg("button pressed\n"); |
| 1831 | } else if (ctrl->event_queue[loop].event_type == | 1831 | } else if (ctrl->event_queue[loop].event_type == |
| 1832 | INT_BUTTON_CANCEL) { | 1832 | INT_BUTTON_CANCEL) { |
| 1833 | dbg("button cancel\n"); | 1833 | dbg("button cancel\n"); |
| 1834 | del_timer(&p_slot->task_event); | 1834 | del_timer(&p_slot->task_event); |
| @@ -2411,11 +2411,11 @@ static int configure_new_function(struct controller *ctrl, struct pci_func *func | |||
| 2411 | if (rc) | 2411 | if (rc) |
| 2412 | return rc; | 2412 | return rc; |
| 2413 | 2413 | ||
| 2414 | /* find range of busses to use */ | 2414 | /* find range of buses to use */ |
| 2415 | dbg("find ranges of buses to use\n"); | 2415 | dbg("find ranges of buses to use\n"); |
| 2416 | bus_node = get_max_resource(&(resources->bus_head), 1); | 2416 | bus_node = get_max_resource(&(resources->bus_head), 1); |
| 2417 | 2417 | ||
| 2418 | /* If we don't have any busses to allocate, we can't continue */ | 2418 | /* If we don't have any buses to allocate, we can't continue */ |
| 2419 | if (!bus_node) | 2419 | if (!bus_node) |
| 2420 | return -ENOMEM; | 2420 | return -ENOMEM; |
| 2421 | 2421 | ||
| @@ -2900,7 +2900,7 @@ static int configure_new_function(struct controller *ctrl, struct pci_func *func | |||
| 2900 | 2900 | ||
| 2901 | /* If this function needs an interrupt and we are behind | 2901 | /* If this function needs an interrupt and we are behind |
| 2902 | * a bridge and the pin is tied to something that's | 2902 | * a bridge and the pin is tied to something that's |
| 2903 | * alread mapped, set this one the same */ | 2903 | * already mapped, set this one the same */ |
| 2904 | if (temp_byte && resources->irqs && | 2904 | if (temp_byte && resources->irqs && |
| 2905 | (resources->irqs->valid_INT & | 2905 | (resources->irqs->valid_INT & |
| 2906 | (0x01 << ((temp_byte + resources->irqs->barber_pole - 1) & 0x03)))) { | 2906 | (0x01 << ((temp_byte + resources->irqs->barber_pole - 1) & 0x03)))) { |
