Skip to content

Commit

Permalink
Merge ../to-linus
Browse files Browse the repository at this point in the history
  • Loading branch information
Len Brown committed Jul 30, 2005
2 parents c2c2e03 + 87bec66 commit dd8f39b
Show file tree
Hide file tree
Showing 14 changed files with 983 additions and 247 deletions.
7 changes: 7 additions & 0 deletions arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,13 @@ acpi_cpufreq_cpu_init (
(u32) data->acpi_data.states[i].transition_latency);

cpufreq_frequency_table_get_attr(data->freq_table, policy->cpu);

/*
* the first call to ->target() should result in us actually
* writing something to the appropriate registers.
*/
data->resume = 1;

return (result);

err_freqfree:
Expand Down
1 change: 1 addition & 0 deletions arch/i386/pci/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ static int __init pci_acpi_init(void)
acpi_irq_penalty_init();
pcibios_scanned++;
pcibios_enable_irq = acpi_pci_irq_enable;
pcibios_disable_irq = acpi_pci_irq_disable;

if (pci_routeirq) {
/*
Expand Down
6 changes: 6 additions & 0 deletions arch/i386/pci/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,9 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)

return pcibios_enable_irq(dev);
}

void pcibios_disable_device (struct pci_dev *dev)
{
if (pcibios_disable_irq)
pcibios_disable_irq(dev);
}
1 change: 1 addition & 0 deletions arch/i386/pci/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ struct irq_router_handler {
};

int (*pcibios_enable_irq)(struct pci_dev *dev) = NULL;
void (*pcibios_disable_irq)(struct pci_dev *dev) = NULL;

/*
* Search 0xf0000 -- 0xfffff for the PCI IRQ Routing Table.
Expand Down
1 change: 1 addition & 0 deletions arch/i386/pci/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ extern int pcibios_scanned;
extern spinlock_t pci_config_lock;

extern int (*pcibios_enable_irq)(struct pci_dev *dev);
extern void (*pcibios_disable_irq)(struct pci_dev *dev);
Loading

0 comments on commit dd8f39b

Please sign in to comment.