diff options
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/Kconfig | 1 | ||||
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/speedstep-lib.c | 1 | ||||
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/speedstep-smi.c | 2 | ||||
-rw-r--r-- | arch/i386/kernel/io_apic.c | 4 | ||||
-rw-r--r-- | arch/i386/pci/fixup.c | 2 | ||||
-rw-r--r-- | arch/i386/pci/i386.c | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 53d62373a524..bcf2fc408a1a 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -1073,6 +1073,7 @@ config PCI | |||
1073 | bool "PCI support" if !X86_VISWS | 1073 | bool "PCI support" if !X86_VISWS |
1074 | depends on !X86_VOYAGER | 1074 | depends on !X86_VOYAGER |
1075 | default y if X86_VISWS | 1075 | default y if X86_VISWS |
1076 | select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC) | ||
1076 | help | 1077 | help |
1077 | Find out whether you have a PCI motherboard. PCI is the name of a | 1078 | Find out whether you have a PCI motherboard. PCI is the name of a |
1078 | bus system, i.e. the way the CPU talks to the other stuff inside | 1079 | bus system, i.e. the way the CPU talks to the other stuff inside |
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c b/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c index d59277c00911..b1acc8ce3167 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c +++ b/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <linux/moduleparam.h> | 13 | #include <linux/moduleparam.h> |
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/cpufreq.h> | 15 | #include <linux/cpufreq.h> |
16 | #include <linux/pci.h> | ||
17 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
18 | 17 | ||
19 | #include <asm/msr.h> | 18 | #include <asm/msr.h> |
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c b/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c index ff0d89806114..e1c509aa3054 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c +++ b/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c | |||
@@ -17,10 +17,10 @@ | |||
17 | #include <linux/moduleparam.h> | 17 | #include <linux/moduleparam.h> |
18 | #include <linux/init.h> | 18 | #include <linux/init.h> |
19 | #include <linux/cpufreq.h> | 19 | #include <linux/cpufreq.h> |
20 | #include <linux/pci.h> | ||
21 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
22 | #include <linux/delay.h> | 21 | #include <linux/delay.h> |
23 | #include <asm/ist.h> | 22 | #include <asm/ist.h> |
23 | #include <asm/io.h> | ||
24 | 24 | ||
25 | #include "speedstep-lib.h" | 25 | #include "speedstep-lib.h" |
26 | 26 | ||
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c index b3ab8ffebd27..89d85d244926 100644 --- a/arch/i386/kernel/io_apic.c +++ b/arch/i386/kernel/io_apic.c | |||
@@ -2611,19 +2611,19 @@ int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) | |||
2611 | if (irq < 0) | 2611 | if (irq < 0) |
2612 | return irq; | 2612 | return irq; |
2613 | 2613 | ||
2614 | set_irq_msi(irq, desc); | ||
2615 | ret = msi_compose_msg(dev, irq, &msg); | 2614 | ret = msi_compose_msg(dev, irq, &msg); |
2616 | if (ret < 0) { | 2615 | if (ret < 0) { |
2617 | destroy_irq(irq); | 2616 | destroy_irq(irq); |
2618 | return ret; | 2617 | return ret; |
2619 | } | 2618 | } |
2620 | 2619 | ||
2620 | set_irq_msi(irq, desc); | ||
2621 | write_msi_msg(irq, &msg); | 2621 | write_msi_msg(irq, &msg); |
2622 | 2622 | ||
2623 | set_irq_chip_and_handler_name(irq, &msi_chip, handle_edge_irq, | 2623 | set_irq_chip_and_handler_name(irq, &msi_chip, handle_edge_irq, |
2624 | "edge"); | 2624 | "edge"); |
2625 | 2625 | ||
2626 | return irq; | 2626 | return 0; |
2627 | } | 2627 | } |
2628 | 2628 | ||
2629 | void arch_teardown_msi_irq(unsigned int irq) | 2629 | void arch_teardown_msi_irq(unsigned int irq) |
diff --git a/arch/i386/pci/fixup.c b/arch/i386/pci/fixup.c index 8053b17ab647..b62eafb997bc 100644 --- a/arch/i386/pci/fixup.c +++ b/arch/i386/pci/fixup.c | |||
@@ -354,7 +354,7 @@ static void __devinit pci_fixup_video(struct pci_dev *pdev) | |||
354 | printk(KERN_DEBUG "Boot video device is %s\n", pci_name(pdev)); | 354 | printk(KERN_DEBUG "Boot video device is %s\n", pci_name(pdev)); |
355 | } | 355 | } |
356 | } | 356 | } |
357 | DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_video); | 357 | DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_video); |
358 | 358 | ||
359 | /* | 359 | /* |
360 | * Some Toshiba laptops need extra code to enable their TI TSB43AB22/A. | 360 | * Some Toshiba laptops need extra code to enable their TI TSB43AB22/A. |
diff --git a/arch/i386/pci/i386.c b/arch/i386/pci/i386.c index 43005f044424..bcd2f94b732c 100644 --- a/arch/i386/pci/i386.c +++ b/arch/i386/pci/i386.c | |||
@@ -246,8 +246,8 @@ int pcibios_enable_resources(struct pci_dev *dev, int mask) | |||
246 | continue; | 246 | continue; |
247 | if (!r->start && r->end) { | 247 | if (!r->start && r->end) { |
248 | printk(KERN_ERR "PCI: Device %s not available " | 248 | printk(KERN_ERR "PCI: Device %s not available " |
249 | "because of resource collisions\n", | 249 | "because of resource %d collisions\n", |
250 | pci_name(dev)); | 250 | pci_name(dev), idx); |
251 | return -EINVAL; | 251 | return -EINVAL; |
252 | } | 252 | } |
253 | if (r->flags & IORESOURCE_IO) | 253 | if (r->flags & IORESOURCE_IO) |