diff options
| -rw-r--r-- | Documentation/feature-removal-schedule.txt | 45 | ||||
| -rw-r--r-- | MAINTAINERS | 39 | ||||
| -rw-r--r-- | arch/i386/kernel/acpi/cstate.c | 10 | ||||
| -rw-r--r-- | arch/ia64/kernel/acpi.c | 3 | ||||
| -rw-r--r-- | arch/ia64/sn/kernel/io_acpi_init.c | 3 | ||||
| -rw-r--r-- | drivers/acpi/Kconfig | 11 | ||||
| -rw-r--r-- | drivers/acpi/bus.c | 3 | ||||
| -rw-r--r-- | drivers/acpi/ec.c | 4 | ||||
| -rw-r--r-- | drivers/acpi/ibm_acpi.c | 13 | ||||
| -rw-r--r-- | drivers/acpi/processor_core.c | 3 | ||||
| -rw-r--r-- | drivers/acpi/processor_perflib.c | 4 | ||||
| -rw-r--r-- | include/linux/acpi.h | 1 |
12 files changed, 97 insertions, 42 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index f2024df7ebe5..fc532395d116 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
| @@ -273,3 +273,48 @@ Why: Speedstep-centrino driver with ACPI hooks and acpi-cpufreq driver are | |||
| 273 | Who: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 273 | Who: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> |
| 274 | 274 | ||
| 275 | --------------------------- | 275 | --------------------------- |
| 276 | |||
| 277 | What: ACPI hotkey driver (CONFIG_ACPI_HOTKEY) | ||
| 278 | When: 2.6.21 | ||
| 279 | Why: hotkey.c was an attempt to consolidate multiple drivers that use | ||
| 280 | ACPI to implement hotkeys. However, hotkeys are not documented | ||
| 281 | in the ACPI specification, so the drivers used undocumented | ||
| 282 | vendor-specific hooks and turned out to be more different than | ||
| 283 | the same. | ||
| 284 | |||
| 285 | Further, the keys and the features supplied by each platform | ||
| 286 | are different, so there will always be a need for | ||
| 287 | platform-specific drivers. | ||
| 288 | |||
| 289 | So the new plan is to delete hotkey.c and instead, work on the | ||
| 290 | platform specific drivers to try to make them look the same | ||
| 291 | to the user when they supply the same features. | ||
| 292 | |||
| 293 | hotkey.c has always depended on CONFIG_EXPERIMENTAL | ||
| 294 | |||
| 295 | Who: Len Brown <len.brown@intel.com> | ||
| 296 | |||
| 297 | --------------------------- | ||
| 298 | |||
| 299 | What: /sys/firmware/acpi/namespace | ||
| 300 | When: 2.6.21 | ||
| 301 | Why: The ACPI namespace is effectively the symbol list for | ||
| 302 | the BIOS. The device names are completely arbitrary | ||
| 303 | and have no place being exposed to user-space. | ||
| 304 | |||
| 305 | For those interested in the BIOS ACPI namespace, | ||
| 306 | the BIOS can be extracted and disassembled with acpidump | ||
| 307 | and iasl as documented in the pmtools package here: | ||
| 308 | http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils | ||
| 309 | |||
| 310 | Who: Len Brown <len.brown@intel.com> | ||
| 311 | |||
| 312 | --------------------------- | ||
| 313 | |||
| 314 | What: /proc/acpi/button | ||
| 315 | When: August 2007 | ||
| 316 | Why: /proc/acpi/button has been replaced by events to the input layer | ||
| 317 | since 2.6.20. | ||
| 318 | Who: Len Brown <len.brown@intel.com> | ||
| 319 | |||
| 320 | --------------------------- | ||
diff --git a/MAINTAINERS b/MAINTAINERS index 49e4f554d211..1b1491d64ca6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -207,16 +207,45 @@ S: Supported | |||
| 207 | ACPI | 207 | ACPI |
| 208 | P: Len Brown | 208 | P: Len Brown |
| 209 | M: len.brown@intel.com | 209 | M: len.brown@intel.com |
| 210 | M: lenb@kernel.org | ||
| 210 | L: linux-acpi@vger.kernel.org | 211 | L: linux-acpi@vger.kernel.org |
| 211 | W: http://acpi.sourceforge.net/ | 212 | W: http://acpi.sourceforge.net/ |
| 212 | T: git kernel.org:/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git | 213 | T: git kernel.org:/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git |
| 213 | S: Maintained | 214 | S: Supported |
| 215 | |||
| 216 | ACPI BATTERY DRIVERS | ||
| 217 | P: Vladimir P. Lebedev | ||
| 218 | M: vladimir.p.lebedev@intel.com | ||
| 219 | L: linux-acpi@vger.kernel.org | ||
| 220 | W: http://acpi.sourceforge.net/ | ||
| 221 | S: Supported | ||
| 222 | |||
| 223 | ACPI EC DRIVER | ||
| 224 | P: Alexey Starikovskiy | ||
| 225 | M: alexey.y.starikovskiy@linux.intel.com | ||
| 226 | L: linux-acpi@vger.kernel.org | ||
| 227 | W: http://acpi.sourceforge.net/ | ||
| 228 | S: Supported | ||
| 229 | |||
| 230 | ACPI FAN DRIVER | ||
| 231 | P: Konstantin A. Karasyov | ||
| 232 | M: konstantin.a.karasyov@intel.com | ||
| 233 | L: linux-acpi@vger.kernel.org | ||
| 234 | W: http://acpi.sourceforge.net/ | ||
| 235 | S: Supported | ||
| 214 | 236 | ||
| 215 | ACPI PCI HOTPLUG DRIVER | 237 | ACPI PCI HOTPLUG DRIVER |
| 216 | P: Kristen Carlson Accardi | 238 | P: Kristen Carlson Accardi |
| 217 | M: kristen.c.accardi@intel.com | 239 | M: kristen.c.accardi@intel.com |
| 218 | L: pcihpd-discuss@lists.sourceforge.net | 240 | L: pcihpd-discuss@lists.sourceforge.net |
| 219 | S: Maintained | 241 | S: Supported |
| 242 | |||
| 243 | ACPI THERMAL DRIVER | ||
| 244 | P: Konstantin A. Karasyov | ||
| 245 | M: konstantin.a.karasyov@intel.com | ||
| 246 | L: linux-acpi@vger.kernel.org | ||
| 247 | W: http://acpi.sourceforge.net/ | ||
| 248 | S: Supported | ||
| 220 | 249 | ||
| 221 | AD1816 SOUND DRIVER | 250 | AD1816 SOUND DRIVER |
| 222 | P: Thorsten Knabe | 251 | P: Thorsten Knabe |
| @@ -1085,7 +1114,7 @@ DOCKING STATION DRIVER | |||
| 1085 | P: Kristen Carlson Accardi | 1114 | P: Kristen Carlson Accardi |
| 1086 | M: kristen.c.accardi@intel.com | 1115 | M: kristen.c.accardi@intel.com |
| 1087 | L: linux-acpi@vger.kernel.org | 1116 | L: linux-acpi@vger.kernel.org |
| 1088 | S: Maintained | 1117 | S: Supported |
| 1089 | 1118 | ||
| 1090 | DOUBLETALK DRIVER | 1119 | DOUBLETALK DRIVER |
| 1091 | P: James R. Van Zandt | 1120 | P: James R. Van Zandt |
| @@ -2535,7 +2564,7 @@ PCIE HOTPLUG DRIVER | |||
| 2535 | P: Kristen Carlson Accardi | 2564 | P: Kristen Carlson Accardi |
| 2536 | M: kristen.c.accardi@intel.com | 2565 | M: kristen.c.accardi@intel.com |
| 2537 | L: pcihpd-discuss@lists.sourceforge.net | 2566 | L: pcihpd-discuss@lists.sourceforge.net |
| 2538 | S: Maintained | 2567 | S: Supported |
| 2539 | 2568 | ||
| 2540 | PCMCIA SUBSYSTEM | 2569 | PCMCIA SUBSYSTEM |
| 2541 | P: Linux PCMCIA Team | 2570 | P: Linux PCMCIA Team |
| @@ -3041,7 +3070,7 @@ SHPC HOTPLUG DRIVER | |||
| 3041 | P: Kristen Carlson Accardi | 3070 | P: Kristen Carlson Accardi |
| 3042 | M: kristen.c.accardi@intel.com | 3071 | M: kristen.c.accardi@intel.com |
| 3043 | L: pcihpd-discuss@lists.sourceforge.net | 3072 | L: pcihpd-discuss@lists.sourceforge.net |
| 3044 | S: Maintained | 3073 | S: Supported |
| 3045 | 3074 | ||
| 3046 | SECURE DIGITAL HOST CONTROLLER INTERFACE DRIVER | 3075 | SECURE DIGITAL HOST CONTROLLER INTERFACE DRIVER |
| 3047 | P: Pierre Ossman | 3076 | P: Pierre Ossman |
diff --git a/arch/i386/kernel/acpi/cstate.c b/arch/i386/kernel/acpi/cstate.c index 12e937c1ce4b..2d39f55d29a8 100644 --- a/arch/i386/kernel/acpi/cstate.c +++ b/arch/i386/kernel/acpi/cstate.c | |||
| @@ -47,13 +47,13 @@ EXPORT_SYMBOL(acpi_processor_power_init_bm_check); | |||
| 47 | 47 | ||
| 48 | /* The code below handles cstate entry with monitor-mwait pair on Intel*/ | 48 | /* The code below handles cstate entry with monitor-mwait pair on Intel*/ |
| 49 | 49 | ||
| 50 | struct cstate_entry_s { | 50 | struct cstate_entry { |
| 51 | struct { | 51 | struct { |
| 52 | unsigned int eax; | 52 | unsigned int eax; |
| 53 | unsigned int ecx; | 53 | unsigned int ecx; |
| 54 | } states[ACPI_PROCESSOR_MAX_POWER]; | 54 | } states[ACPI_PROCESSOR_MAX_POWER]; |
| 55 | }; | 55 | }; |
| 56 | static struct cstate_entry_s *cpu_cstate_entry; /* per CPU ptr */ | 56 | static struct cstate_entry *cpu_cstate_entry; /* per CPU ptr */ |
| 57 | 57 | ||
| 58 | static short mwait_supported[ACPI_PROCESSOR_MAX_POWER]; | 58 | static short mwait_supported[ACPI_PROCESSOR_MAX_POWER]; |
| 59 | 59 | ||
| @@ -71,7 +71,7 @@ static short mwait_supported[ACPI_PROCESSOR_MAX_POWER]; | |||
| 71 | int acpi_processor_ffh_cstate_probe(unsigned int cpu, | 71 | int acpi_processor_ffh_cstate_probe(unsigned int cpu, |
| 72 | struct acpi_processor_cx *cx, struct acpi_power_register *reg) | 72 | struct acpi_processor_cx *cx, struct acpi_power_register *reg) |
| 73 | { | 73 | { |
| 74 | struct cstate_entry_s *percpu_entry; | 74 | struct cstate_entry *percpu_entry; |
| 75 | struct cpuinfo_x86 *c = cpu_data + cpu; | 75 | struct cpuinfo_x86 *c = cpu_data + cpu; |
| 76 | 76 | ||
| 77 | cpumask_t saved_mask; | 77 | cpumask_t saved_mask; |
| @@ -136,7 +136,7 @@ EXPORT_SYMBOL_GPL(acpi_processor_ffh_cstate_probe); | |||
| 136 | void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cx) | 136 | void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cx) |
| 137 | { | 137 | { |
| 138 | unsigned int cpu = smp_processor_id(); | 138 | unsigned int cpu = smp_processor_id(); |
| 139 | struct cstate_entry_s *percpu_entry; | 139 | struct cstate_entry *percpu_entry; |
| 140 | 140 | ||
| 141 | percpu_entry = per_cpu_ptr(cpu_cstate_entry, cpu); | 141 | percpu_entry = per_cpu_ptr(cpu_cstate_entry, cpu); |
| 142 | mwait_idle_with_hints(percpu_entry->states[cx->index].eax, | 142 | mwait_idle_with_hints(percpu_entry->states[cx->index].eax, |
| @@ -150,7 +150,7 @@ static int __init ffh_cstate_init(void) | |||
| 150 | if (c->x86_vendor != X86_VENDOR_INTEL) | 150 | if (c->x86_vendor != X86_VENDOR_INTEL) |
| 151 | return -1; | 151 | return -1; |
| 152 | 152 | ||
| 153 | cpu_cstate_entry = alloc_percpu(struct cstate_entry_s); | 153 | cpu_cstate_entry = alloc_percpu(struct cstate_entry); |
| 154 | return 0; | 154 | return 0; |
| 155 | } | 155 | } |
| 156 | 156 | ||
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 73ef4a85b861..ef2fe474f107 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
| @@ -590,6 +590,9 @@ void __init acpi_numa_arch_fixup(void) | |||
| 590 | */ | 590 | */ |
| 591 | int acpi_register_gsi(u32 gsi, int triggering, int polarity) | 591 | int acpi_register_gsi(u32 gsi, int triggering, int polarity) |
| 592 | { | 592 | { |
| 593 | if (acpi_irq_model == ACPI_IRQ_MODEL_PLATFORM) | ||
| 594 | return gsi; | ||
| 595 | |||
| 593 | if (has_8259 && gsi < 16) | 596 | if (has_8259 && gsi < 16) |
| 594 | return isa_irq_to_vector(gsi); | 597 | return isa_irq_to_vector(gsi); |
| 595 | 598 | ||
diff --git a/arch/ia64/sn/kernel/io_acpi_init.c b/arch/ia64/sn/kernel/io_acpi_init.c index 99d7f278612a..cb96b4ea7df6 100644 --- a/arch/ia64/sn/kernel/io_acpi_init.c +++ b/arch/ia64/sn/kernel/io_acpi_init.c | |||
| @@ -223,6 +223,9 @@ sn_io_acpi_init(void) | |||
| 223 | u64 result; | 223 | u64 result; |
| 224 | s64 status; | 224 | s64 status; |
| 225 | 225 | ||
| 226 | /* SN Altix does not follow the IOSAPIC IRQ routing model */ | ||
| 227 | acpi_irq_model = ACPI_IRQ_MODEL_PLATFORM; | ||
| 228 | |||
| 226 | acpi_bus_register_driver(&acpi_sn_hubdev_driver); | 229 | acpi_bus_register_driver(&acpi_sn_hubdev_driver); |
| 227 | status = sal_ioif_init(&result); | 230 | status = sal_ioif_init(&result); |
| 228 | if (status || result) | 231 | if (status || result) |
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 1639998e4d27..f4f000abc4e9 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
| @@ -225,17 +225,6 @@ config ACPI_IBM_DOCK | |||
| 225 | 225 | ||
| 226 | If you are not sure, say N here. | 226 | If you are not sure, say N here. |
| 227 | 227 | ||
| 228 | config ACPI_IBM_BAY | ||
| 229 | bool "Legacy Removable Bay Support" | ||
| 230 | depends on ACPI_IBM | ||
| 231 | depends on ACPI_BAY=n | ||
| 232 | default n | ||
| 233 | ---help--- | ||
| 234 | Allows the ibm_acpi driver to handle removable bays. | ||
| 235 | This support is obsoleted by CONFIG_ACPI_BAY. | ||
| 236 | |||
| 237 | If you are not sure, say N here. | ||
| 238 | |||
| 239 | config ACPI_TOSHIBA | 228 | config ACPI_TOSHIBA |
| 240 | tristate "Toshiba Laptop Extras" | 229 | tristate "Toshiba Laptop Extras" |
| 241 | depends on X86 | 230 | depends on X86 |
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 279c4bac92e5..766332e45592 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
| @@ -561,6 +561,9 @@ static int __init acpi_bus_init_irq(void) | |||
| 561 | case ACPI_IRQ_MODEL_IOSAPIC: | 561 | case ACPI_IRQ_MODEL_IOSAPIC: |
| 562 | message = "IOSAPIC"; | 562 | message = "IOSAPIC"; |
| 563 | break; | 563 | break; |
| 564 | case ACPI_IRQ_MODEL_PLATFORM: | ||
| 565 | message = "platform specific model"; | ||
| 566 | break; | ||
| 564 | default: | 567 | default: |
| 565 | printk(KERN_WARNING PREFIX "Unknown interrupt routing model\n"); | 568 | printk(KERN_WARNING PREFIX "Unknown interrupt routing model\n"); |
| 566 | return -ENODEV; | 569 | return -ENODEV; |
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 4144d5dd442e..cbdf031f3c09 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
| @@ -1016,8 +1016,8 @@ static int __init acpi_ec_set_intr_mode(char *str) | |||
| 1016 | acpi_ec_mode = EC_POLL; | 1016 | acpi_ec_mode = EC_POLL; |
| 1017 | } | 1017 | } |
| 1018 | acpi_ec_driver.ops.add = acpi_ec_add; | 1018 | acpi_ec_driver.ops.add = acpi_ec_add; |
| 1019 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "EC %s mode.\n", | 1019 | printk(KERN_NOTICE PREFIX "%s mode.\n", |
| 1020 | intr ? "interrupt" : "polling")); | 1020 | intr ? "interrupt" : "polling"); |
| 1021 | 1021 | ||
| 1022 | return 1; | 1022 | return 1; |
| 1023 | } | 1023 | } |
diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c index b72d13d11a27..c6144ca66638 100644 --- a/drivers/acpi/ibm_acpi.c +++ b/drivers/acpi/ibm_acpi.c | |||
| @@ -157,7 +157,6 @@ IBM_HANDLE(dock, root, "\\_SB.GDCK", /* X30, X31, X40 */ | |||
| 157 | "\\_SB.PCI.ISA.SLCE", /* 570 */ | 157 | "\\_SB.PCI.ISA.SLCE", /* 570 */ |
| 158 | ); /* A21e,G4x,R30,R31,R32,R40,R40e,R50e */ | 158 | ); /* A21e,G4x,R30,R31,R32,R40,R40e,R50e */ |
| 159 | #endif | 159 | #endif |
| 160 | #ifdef CONFIG_ACPI_IBM_BAY | ||
| 161 | IBM_HANDLE(bay, root, "\\_SB.PCI.IDE.SECN.MAST", /* 570 */ | 160 | IBM_HANDLE(bay, root, "\\_SB.PCI.IDE.SECN.MAST", /* 570 */ |
| 162 | "\\_SB.PCI0.IDE0.IDES.IDSM", /* 600e/x, 770e, 770x */ | 161 | "\\_SB.PCI0.IDE0.IDES.IDSM", /* 600e/x, 770e, 770x */ |
| 163 | "\\_SB.PCI0.SATA.SCND.MSTR", /* T60, X60, Z60 */ | 162 | "\\_SB.PCI0.SATA.SCND.MSTR", /* T60, X60, Z60 */ |
| @@ -175,7 +174,6 @@ IBM_HANDLE(bay2, root, "\\_SB.PCI0.IDE0.PRIM.SLAV", /* A3x, R32 */ | |||
| 175 | IBM_HANDLE(bay2_ej, bay2, "_EJ3", /* 600e/x, 770e, A3x */ | 174 | IBM_HANDLE(bay2_ej, bay2, "_EJ3", /* 600e/x, 770e, A3x */ |
| 176 | "_EJ0", /* 770x */ | 175 | "_EJ0", /* 770x */ |
| 177 | ); /* all others */ | 176 | ); /* all others */ |
| 178 | #endif | ||
| 179 | 177 | ||
| 180 | /* don't list other alternatives as we install a notify handler on the 570 */ | 178 | /* don't list other alternatives as we install a notify handler on the 570 */ |
| 181 | IBM_HANDLE(pci, root, "\\_SB.PCI"); /* 570 */ | 179 | IBM_HANDLE(pci, root, "\\_SB.PCI"); /* 570 */ |
| @@ -1042,7 +1040,6 @@ static int light_write(char *buf) | |||
| 1042 | return 0; | 1040 | return 0; |
| 1043 | } | 1041 | } |
| 1044 | 1042 | ||
| 1045 | #if defined(CONFIG_ACPI_IBM_DOCK) || defined(CONFIG_ACPI_IBM_BAY) | ||
| 1046 | static int _sta(acpi_handle handle) | 1043 | static int _sta(acpi_handle handle) |
| 1047 | { | 1044 | { |
| 1048 | int status; | 1045 | int status; |
| @@ -1052,7 +1049,7 @@ static int _sta(acpi_handle handle) | |||
| 1052 | 1049 | ||
| 1053 | return status; | 1050 | return status; |
| 1054 | } | 1051 | } |
| 1055 | #endif | 1052 | |
| 1056 | #ifdef CONFIG_ACPI_IBM_DOCK | 1053 | #ifdef CONFIG_ACPI_IBM_DOCK |
| 1057 | #define dock_docked() (_sta(dock_handle) & 1) | 1054 | #define dock_docked() (_sta(dock_handle) & 1) |
| 1058 | 1055 | ||
| @@ -1118,7 +1115,6 @@ static void dock_notify(struct ibm_struct *ibm, u32 event) | |||
| 1118 | } | 1115 | } |
| 1119 | #endif | 1116 | #endif |
| 1120 | 1117 | ||
| 1121 | #ifdef CONFIG_ACPI_IBM_BAY | ||
| 1122 | static int bay_status_supported; | 1118 | static int bay_status_supported; |
| 1123 | static int bay_status2_supported; | 1119 | static int bay_status2_supported; |
| 1124 | static int bay_eject_supported; | 1120 | static int bay_eject_supported; |
| @@ -1194,7 +1190,6 @@ static void bay_notify(struct ibm_struct *ibm, u32 event) | |||
| 1194 | { | 1190 | { |
| 1195 | acpi_bus_generate_event(ibm->device, event, 0); | 1191 | acpi_bus_generate_event(ibm->device, event, 0); |
| 1196 | } | 1192 | } |
| 1197 | #endif | ||
| 1198 | 1193 | ||
| 1199 | static int cmos_read(char *p) | 1194 | static int cmos_read(char *p) |
| 1200 | { | 1195 | { |
| @@ -2354,7 +2349,6 @@ static struct ibm_struct ibms[] = { | |||
| 2354 | .type = ACPI_SYSTEM_NOTIFY, | 2349 | .type = ACPI_SYSTEM_NOTIFY, |
| 2355 | }, | 2350 | }, |
| 2356 | #endif | 2351 | #endif |
| 2357 | #ifdef CONFIG_ACPI_IBM_BAY | ||
| 2358 | { | 2352 | { |
| 2359 | .name = "bay", | 2353 | .name = "bay", |
| 2360 | .init = bay_init, | 2354 | .init = bay_init, |
| @@ -2364,7 +2358,6 @@ static struct ibm_struct ibms[] = { | |||
| 2364 | .handle = &bay_handle, | 2358 | .handle = &bay_handle, |
| 2365 | .type = ACPI_SYSTEM_NOTIFY, | 2359 | .type = ACPI_SYSTEM_NOTIFY, |
| 2366 | }, | 2360 | }, |
| 2367 | #endif | ||
| 2368 | { | 2361 | { |
| 2369 | .name = "cmos", | 2362 | .name = "cmos", |
| 2370 | .read = cmos_read, | 2363 | .read = cmos_read, |
| @@ -2650,9 +2643,7 @@ IBM_PARAM(light); | |||
| 2650 | #ifdef CONFIG_ACPI_IBM_DOCK | 2643 | #ifdef CONFIG_ACPI_IBM_DOCK |
| 2651 | IBM_PARAM(dock); | 2644 | IBM_PARAM(dock); |
| 2652 | #endif | 2645 | #endif |
| 2653 | #ifdef CONFIG_ACPI_IBM_BAY | ||
| 2654 | IBM_PARAM(bay); | 2646 | IBM_PARAM(bay); |
| 2655 | #endif | ||
| 2656 | IBM_PARAM(cmos); | 2647 | IBM_PARAM(cmos); |
| 2657 | IBM_PARAM(led); | 2648 | IBM_PARAM(led); |
| 2658 | IBM_PARAM(beep); | 2649 | IBM_PARAM(beep); |
| @@ -2735,14 +2726,12 @@ static int __init acpi_ibm_init(void) | |||
| 2735 | IBM_HANDLE_INIT(dock); | 2726 | IBM_HANDLE_INIT(dock); |
| 2736 | #endif | 2727 | #endif |
| 2737 | IBM_HANDLE_INIT(pci); | 2728 | IBM_HANDLE_INIT(pci); |
| 2738 | #ifdef CONFIG_ACPI_IBM_BAY | ||
| 2739 | IBM_HANDLE_INIT(bay); | 2729 | IBM_HANDLE_INIT(bay); |
| 2740 | if (bay_handle) | 2730 | if (bay_handle) |
| 2741 | IBM_HANDLE_INIT(bay_ej); | 2731 | IBM_HANDLE_INIT(bay_ej); |
| 2742 | IBM_HANDLE_INIT(bay2); | 2732 | IBM_HANDLE_INIT(bay2); |
| 2743 | if (bay2_handle) | 2733 | if (bay2_handle) |
| 2744 | IBM_HANDLE_INIT(bay2_ej); | 2734 | IBM_HANDLE_INIT(bay2_ej); |
| 2745 | #endif | ||
| 2746 | IBM_HANDLE_INIT(beep); | 2735 | IBM_HANDLE_INIT(beep); |
| 2747 | IBM_HANDLE_INIT(ecrd); | 2736 | IBM_HANDLE_INIT(ecrd); |
| 2748 | IBM_HANDLE_INIT(ecwr); | 2737 | IBM_HANDLE_INIT(ecwr); |
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index 25718fed39f1..5f9496d59ed6 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
| @@ -476,9 +476,6 @@ static int acpi_processor_get_info(struct acpi_processor *pr) | |||
| 476 | if (cpu_index == -1) { | 476 | if (cpu_index == -1) { |
| 477 | if (ACPI_FAILURE | 477 | if (ACPI_FAILURE |
| 478 | (acpi_processor_hotadd_init(pr->handle, &pr->id))) { | 478 | (acpi_processor_hotadd_init(pr->handle, &pr->id))) { |
| 479 | printk(KERN_ERR PREFIX | ||
| 480 | "Getting cpuindex for acpiid 0x%x\n", | ||
| 481 | pr->acpi_id); | ||
| 482 | return -ENODEV; | 479 | return -ENODEV; |
| 483 | } | 480 | } |
| 484 | } | 481 | } |
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index 0e60382714bb..5207f9e4b443 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c | |||
| @@ -736,10 +736,6 @@ int acpi_processor_preregister_performance( | |||
| 736 | } | 736 | } |
| 737 | 737 | ||
| 738 | err_ret: | 738 | err_ret: |
| 739 | if (retval) { | ||
| 740 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Error while parsing _PSD domain information. Assuming no coordination\n")); | ||
| 741 | } | ||
| 742 | |||
| 743 | for_each_possible_cpu(i) { | 739 | for_each_possible_cpu(i) { |
| 744 | pr = processors[i]; | 740 | pr = processors[i]; |
| 745 | if (!pr || !pr->performance) | 741 | if (!pr || !pr->performance) |
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 2b0c955590fe..91f1f2363870 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
| @@ -47,6 +47,7 @@ enum acpi_irq_model_id { | |||
| 47 | ACPI_IRQ_MODEL_PIC = 0, | 47 | ACPI_IRQ_MODEL_PIC = 0, |
| 48 | ACPI_IRQ_MODEL_IOAPIC, | 48 | ACPI_IRQ_MODEL_IOAPIC, |
| 49 | ACPI_IRQ_MODEL_IOSAPIC, | 49 | ACPI_IRQ_MODEL_IOSAPIC, |
| 50 | ACPI_IRQ_MODEL_PLATFORM, | ||
| 50 | ACPI_IRQ_MODEL_COUNT | 51 | ACPI_IRQ_MODEL_COUNT |
| 51 | }; | 52 | }; |
| 52 | 53 | ||
