···126126 See header of drivers/scsi/53c7xx.c.127127 See also Documentation/scsi/ncr53c7xx.txt.128128129129- acpi= [HW,ACPI] Advanced Configuration and Power Interface129129+ acpi= [HW,ACPI,X86-64,i386]130130+ Advanced Configuration and Power Interface130131 Format: { force | off | ht | strict | noirq }131132 force -- enable ACPI if default was off132133 off -- disable ACPI if default was on
+1
drivers/acpi/Kconfig
···77 depends on !X86_VISWS88 depends on !IA64_HP_SIM99 depends on IA64 || X861010+ depends on PM10111112config ACPI1213 bool "ACPI Support"
+8-2
drivers/acpi/blacklist.c
···7979{8080 int year = dmi_get_year(DMI_BIOS_DATE);8181 /* Doesn't exist? Likely an old system */8282- if (year == -1)8282+ if (year == -1) {8383+ printk(KERN_ERR PREFIX "no DMI BIOS year, "8484+ "acpi=force is required to enable ACPI\n" );8385 return 1;8686+ }8487 /* 0? Likely a buggy new BIOS */8585- if (year == 0)8888+ if (year == 0) {8989+ printk(KERN_ERR PREFIX "DMI BIOS year==0, "9090+ "assuming ACPI-capable machine\n" );8691 return 0;9292+ }8793 if (year < CONFIG_ACPI_BLACKLIST_YEAR) {8894 printk(KERN_ERR PREFIX "BIOS age (%d) fails cutoff (%d), "8995 "acpi=force is required to enable ACPI\n",
···102102103103struct acpi_video_device_attrib {104104 u32 display_index:4; /* A zero-based instance of the Display */105105- u32 display_port_attachment:4; /*This field differenates displays type */105105+ u32 display_port_attachment:4; /*This field differentiates the display type */106106 u32 display_type:4; /*Describe the specific type in use */107107- u32 vendor_specific:4; /*Chipset Vendor Specifi */107107+ u32 vendor_specific:4; /*Chipset Vendor Specific */108108 u32 bios_can_detect:1; /*BIOS can detect the device */109109 u32 depend_on_vga:1; /*Non-VGA output device whose power is related to 110110 the VGA device. */···484484 * 0. The system BIOS should NOT automatically switch(toggle)485485 * the active display output.486486 * 1. The system BIOS should automatically switch (toggle) the487487- * active display output. No swich event.487487+ * active display output. No switch event.488488 * 2. The _DGS value should be locked.489489 * 3. The system BIOS should not automatically switch (toggle) the490490 * active display output, but instead generate the display switch491491 * event notify code.492492 * lcd_flag :493493 * 0. The system BIOS should automatically control the brightness level494494- * of the LCD, when the power changes from AC to DC494494+ * of the LCD when the power changes from AC to DC495495 * 1. The system BIOS should NOT automatically control the brightness 496496- * level of the LCD, when the power changes from AC to DC.496496+ * level of the LCD when the power changes from AC to DC.497497 * Return Value:498498 * -1 wrong arg.499499 */···525525 * Return Value:526526 * None527527 *528528- * Find out all required AML method defined under the output528528+ * Find out all required AML methods defined under the output529529 * device.530530 */531531···636636 * Return Value:637637 * None638638 *639639- * Find out all required AML method defined under the video bus device.639639+ * Find out all required AML methods defined under the video bus device.640640 */641641642642static void acpi_video_bus_find_cap(struct acpi_video_bus *video)···681681 * to check well known required nodes.682682 */683683684684- /* Does this device able to support video switching ? */684684+ /* Does this device support video switching? */685685 if (video->cap._DOS) {686686 video->flags.multihead = 1;687687 status = 0;688688 }689689690690- /* Does this device able to retrieve a retrieve a video ROM ? */690690+ /* Does this device support retrieving a video ROM? */691691 if (video->cap._ROM) {692692 video->flags.rom = 1;693693 status = 0;694694 }695695696696- /* Does this device able to configure which video device to POST ? */696696+ /* Does this device support configuring which video device to POST? */697697 if (video->cap._GPD && video->cap._SPD && video->cap._VPO) {698698 video->flags.post = 1;699699 status = 0;···860860 if (level > 100)861861 return -EFAULT;862862863863- /* validate though the list of available levels */863863+ /* validate through the list of available levels */864864 for (i = 0; i < dev->brightness->count; i++)865865 if (level == dev->brightness->levels[i]) {866866 if (ACPI_SUCCESS···10651065 printk(KERN_WARNING PREFIX10661066 "The motherboard VGA device is not listed as a possible POST device.\n");10671067 printk(KERN_WARNING PREFIX10681068- "This indicate a BIOS bug. Please contact the manufacturer.\n");10681068+ "This indicates a BIOS bug. Please contact the manufacturer.\n");10691069 }10701070 printk("%lx\n", options);10711071- seq_printf(seq, "can POST: <intgrated video>");10711071+ seq_printf(seq, "can POST: <integrated video>");10721072 if (options & 2)10731073 seq_printf(seq, " <PCI video>");10741074 if (options & 4)···11021102 seq_printf(seq, "<not supported>\n");11031103 goto end;11041104 }11051105- seq_printf(seq, "device posted is <%s>\n", device_decode[id & 3]);11051105+ seq_printf(seq, "device POSTed is <%s>\n", device_decode[id & 3]);1106110611071107 end:11081108 return 0;···11561156 if (opt > 3)11571157 return -EFAULT;1158115811591159- /* just in case an OEM 'forget' the motherboard... */11591159+ /* just in case an OEM 'forgot' the motherboard... */11601160 options |= 1;1161116111621162 if (options & (1ul << opt)) {···15271527/*15281528 * Arg:15291529 * video : video bus device 15301530- * event : Nontify Event15301530+ * event : notify event15311531 *15321532 * Return:15331533 * < 0 : error15341534 * 15351535 * 1. Find out the current active output device.15361536- * 2. Identify the next output device to switch15361536+ * 2. Identify the next output device to switch to.15371537 * 3. call _DSS to do actual switch.15381538 */15391539···17231723 device = video->device;1724172417251725 switch (event) {17261726- case ACPI_VIDEO_NOTIFY_SWITCH: /* User request that a switch occur,17261726+ case ACPI_VIDEO_NOTIFY_SWITCH: /* User requested a switch,17271727 * most likely via hotkey. */17281728 acpi_bus_generate_event(device, event, 0);17291729 break;1730173017311731- case ACPI_VIDEO_NOTIFY_PROBE: /* User plug or remove a video17311731+ case ACPI_VIDEO_NOTIFY_PROBE: /* User plugged in or removed a video17321732 * connector. */17331733 acpi_video_device_enumerate(video);17341734 acpi_video_device_rebind(video);
···453453static int sony_acpi_add(struct acpi_device *device)454454{455455 acpi_status status;456456- int result;456456+ int result = 0;457457 acpi_handle handle;458458459459 sony_acpi_acpi_device = device;