diff options
author | Len Brown <len.brown@intel.com> | 2005-08-24 12:10:49 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-24 12:11:34 -0400 |
commit | 76f58584824c61eb5b3bdbf019236815921d2e7c (patch) | |
tree | a8cb03339eddd5ada3c9d04b70b8bd6520e2bc14 /arch/i386 | |
parent | 8466361ad5233d4356a4601e16b66c25277920d1 (diff) |
[ACPI] delete CONFIG_ACPI_BUS
it is a synonym for CONFIG_ACPI
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/defconfig | 1 | ||||
-rw-r--r-- | arch/i386/kernel/acpi/boot.c | 6 | ||||
-rw-r--r-- | arch/i386/kernel/mpparse.c | 4 |
3 files changed, 0 insertions, 11 deletions
diff --git a/arch/i386/defconfig b/arch/i386/defconfig index f137a32634ac..1a387856c870 100644 --- a/arch/i386/defconfig +++ b/arch/i386/defconfig | |||
@@ -142,7 +142,6 @@ CONFIG_ACPI_THERMAL=y | |||
142 | # CONFIG_ACPI_ASUS is not set | 142 | # CONFIG_ACPI_ASUS is not set |
143 | # CONFIG_ACPI_TOSHIBA is not set | 143 | # CONFIG_ACPI_TOSHIBA is not set |
144 | # CONFIG_ACPI_DEBUG is not set | 144 | # CONFIG_ACPI_DEBUG is not set |
145 | CONFIG_ACPI_BUS=y | ||
146 | CONFIG_ACPI_EC=y | 145 | CONFIG_ACPI_EC=y |
147 | CONFIG_ACPI_POWER=y | 146 | CONFIG_ACPI_POWER=y |
148 | CONFIG_ACPI_PCI=y | 147 | CONFIG_ACPI_PCI=y |
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c index 84befaecedf8..552fc85691ac 100644 --- a/arch/i386/kernel/acpi/boot.c +++ b/arch/i386/kernel/acpi/boot.c | |||
@@ -408,8 +408,6 @@ acpi_parse_nmi_src(acpi_table_entry_header * header, const unsigned long end) | |||
408 | 408 | ||
409 | #endif /* CONFIG_X86_IO_APIC */ | 409 | #endif /* CONFIG_X86_IO_APIC */ |
410 | 410 | ||
411 | #ifdef CONFIG_ACPI_BUS | ||
412 | |||
413 | /* | 411 | /* |
414 | * acpi_pic_sci_set_trigger() | 412 | * acpi_pic_sci_set_trigger() |
415 | * | 413 | * |
@@ -460,8 +458,6 @@ void __init acpi_pic_sci_set_trigger(unsigned int irq, u16 trigger) | |||
460 | outb(new >> 8, 0x4d1); | 458 | outb(new >> 8, 0x4d1); |
461 | } | 459 | } |
462 | 460 | ||
463 | #endif /* CONFIG_ACPI_BUS */ | ||
464 | |||
465 | int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) | 461 | int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) |
466 | { | 462 | { |
467 | #ifdef CONFIG_X86_IO_APIC | 463 | #ifdef CONFIG_X86_IO_APIC |
@@ -637,12 +633,10 @@ static int __init acpi_parse_fadt(unsigned long phys, unsigned long size) | |||
637 | /* initialize sci_int early for INT_SRC_OVR MADT parsing */ | 633 | /* initialize sci_int early for INT_SRC_OVR MADT parsing */ |
638 | acpi_fadt.sci_int = fadt->sci_int; | 634 | acpi_fadt.sci_int = fadt->sci_int; |
639 | 635 | ||
640 | #ifdef CONFIG_ACPI_BUS | ||
641 | /* initialize rev and apic_phys_dest_mode for x86_64 genapic */ | 636 | /* initialize rev and apic_phys_dest_mode for x86_64 genapic */ |
642 | acpi_fadt.revision = fadt->revision; | 637 | acpi_fadt.revision = fadt->revision; |
643 | acpi_fadt.force_apic_physical_destination_mode = | 638 | acpi_fadt.force_apic_physical_destination_mode = |
644 | fadt->force_apic_physical_destination_mode; | 639 | fadt->force_apic_physical_destination_mode; |
645 | #endif | ||
646 | 640 | ||
647 | #ifdef CONFIG_X86_PM_TIMER | 641 | #ifdef CONFIG_X86_PM_TIMER |
648 | /* detect the location of the ACPI PM Timer */ | 642 | /* detect the location of the ACPI PM Timer */ |
diff --git a/arch/i386/kernel/mpparse.c b/arch/i386/kernel/mpparse.c index db90d141481d..97dbf289dbd5 100644 --- a/arch/i386/kernel/mpparse.c +++ b/arch/i386/kernel/mpparse.c | |||
@@ -1069,11 +1069,9 @@ int mp_register_gsi (u32 gsi, int edge_level, int active_high_low) | |||
1069 | */ | 1069 | */ |
1070 | static int gsi_to_irq[MAX_GSI_NUM]; | 1070 | static int gsi_to_irq[MAX_GSI_NUM]; |
1071 | 1071 | ||
1072 | #ifdef CONFIG_ACPI_BUS | ||
1073 | /* Don't set up the ACPI SCI because it's already set up */ | 1072 | /* Don't set up the ACPI SCI because it's already set up */ |
1074 | if (acpi_fadt.sci_int == gsi) | 1073 | if (acpi_fadt.sci_int == gsi) |
1075 | return gsi; | 1074 | return gsi; |
1076 | #endif | ||
1077 | 1075 | ||
1078 | ioapic = mp_find_ioapic(gsi); | 1076 | ioapic = mp_find_ioapic(gsi); |
1079 | if (ioapic < 0) { | 1077 | if (ioapic < 0) { |
@@ -1116,13 +1114,11 @@ int mp_register_gsi (u32 gsi, int edge_level, int active_high_low) | |||
1116 | if (gsi < MAX_GSI_NUM) { | 1114 | if (gsi < MAX_GSI_NUM) { |
1117 | if (gsi > 15) | 1115 | if (gsi > 15) |
1118 | gsi = pci_irq++; | 1116 | gsi = pci_irq++; |
1119 | #ifdef CONFIG_ACPI_BUS | ||
1120 | /* | 1117 | /* |
1121 | * Don't assign IRQ used by ACPI SCI | 1118 | * Don't assign IRQ used by ACPI SCI |
1122 | */ | 1119 | */ |
1123 | if (gsi == acpi_fadt.sci_int) | 1120 | if (gsi == acpi_fadt.sci_int) |
1124 | gsi = pci_irq++; | 1121 | gsi = pci_irq++; |
1125 | #endif | ||
1126 | gsi_to_irq[irq] = gsi; | 1122 | gsi_to_irq[irq] = gsi; |
1127 | } else { | 1123 | } else { |
1128 | printk(KERN_ERR "GSI %u is too high\n", gsi); | 1124 | printk(KERN_ERR "GSI %u is too high\n", gsi); |