···126 See header of drivers/scsi/53c7xx.c.127 See also Documentation/scsi/ncr53c7xx.txt.128129- acpi= [HW,ACPI] Advanced Configuration and Power Interface0130 Format: { force | off | ht | strict | noirq }131 force -- enable ACPI if default was off132 off -- disable ACPI if default was on
···126 See header of drivers/scsi/53c7xx.c.127 See also Documentation/scsi/ncr53c7xx.txt.128129+ acpi= [HW,ACPI,X86-64,i386]130+ Advanced Configuration and Power Interface131 Format: { force | off | ht | strict | noirq }132 force -- enable ACPI if default was off133 off -- disable ACPI if default was on
+1
drivers/acpi/Kconfig
···7 depends on !X86_VISWS8 depends on !IA64_HP_SIM9 depends on IA64 || X8601011config ACPI12 bool "ACPI Support"
···7 depends on !X86_VISWS8 depends on !IA64_HP_SIM9 depends on IA64 || X8610+ depends on PM1112config ACPI13 bool "ACPI Support"
+8-2
drivers/acpi/blacklist.c
···79{80 int year = dmi_get_year(DMI_BIOS_DATE);81 /* Doesn't exist? Likely an old system */82- if (year == -1)0083 return 1;084 /* 0? Likely a buggy new BIOS */85- if (year == 0)0086 return 0;087 if (year < CONFIG_ACPI_BLACKLIST_YEAR) {88 printk(KERN_ERR PREFIX "BIOS age (%d) fails cutoff (%d), "89 "acpi=force is required to enable ACPI\n",
···79{80 int year = dmi_get_year(DMI_BIOS_DATE);81 /* Doesn't exist? Likely an old system */82+ if (year == -1) {83+ printk(KERN_ERR PREFIX "no DMI BIOS year, "84+ "acpi=force is required to enable ACPI\n" );85 return 1;86+ }87 /* 0? Likely a buggy new BIOS */88+ if (year == 0) {89+ printk(KERN_ERR PREFIX "DMI BIOS year==0, "90+ "assuming ACPI-capable machine\n" );91 return 0;92+ }93 if (year < CONFIG_ACPI_BLACKLIST_YEAR) {94 printk(KERN_ERR PREFIX "BIOS age (%d) fails cutoff (%d), "95 "acpi=force is required to enable ACPI\n",
···102103struct acpi_video_device_attrib {104 u32 display_index:4; /* A zero-based instance of the Display */105- u32 display_port_attachment:4; /*This field differenates displays type */106 u32 display_type:4; /*Describe the specific type in use */107- u32 vendor_specific:4; /*Chipset Vendor Specifi */108 u32 bios_can_detect:1; /*BIOS can detect the device */109 u32 depend_on_vga:1; /*Non-VGA output device whose power is related to 110 the VGA device. */···484 * 0. The system BIOS should NOT automatically switch(toggle)485 * the active display output.486 * 1. The system BIOS should automatically switch (toggle) the487- * active display output. No swich event.488 * 2. The _DGS value should be locked.489 * 3. The system BIOS should not automatically switch (toggle) the490 * active display output, but instead generate the display switch491 * event notify code.492 * lcd_flag :493 * 0. The system BIOS should automatically control the brightness level494- * of the LCD, when the power changes from AC to DC495 * 1. The system BIOS should NOT automatically control the brightness 496- * level of the LCD, when the power changes from AC to DC.497 * Return Value:498 * -1 wrong arg.499 */···525 * Return Value:526 * None527 *528- * Find out all required AML method defined under the output529 * device.530 */531···636 * Return Value:637 * None638 *639- * Find out all required AML method defined under the video bus device.640 */641642static void acpi_video_bus_find_cap(struct acpi_video_bus *video)···681 * to check well known required nodes.682 */683684- /* Does this device able to support video switching ? */685 if (video->cap._DOS) {686 video->flags.multihead = 1;687 status = 0;688 }689690- /* Does this device able to retrieve a retrieve a video ROM ? */691 if (video->cap._ROM) {692 video->flags.rom = 1;693 status = 0;694 }695696- /* Does this device able to configure which video device to POST ? */697 if (video->cap._GPD && video->cap._SPD && video->cap._VPO) {698 video->flags.post = 1;699 status = 0;···860 if (level > 100)861 return -EFAULT;862863- /* validate though the list of available levels */864 for (i = 0; i < dev->brightness->count; i++)865 if (level == dev->brightness->levels[i]) {866 if (ACPI_SUCCESS···1065 printk(KERN_WARNING PREFIX1066 "The motherboard VGA device is not listed as a possible POST device.\n");1067 printk(KERN_WARNING PREFIX1068- "This indicate a BIOS bug. Please contact the manufacturer.\n");1069 }1070 printk("%lx\n", options);1071- seq_printf(seq, "can POST: <intgrated video>");1072 if (options & 2)1073 seq_printf(seq, " <PCI video>");1074 if (options & 4)···1102 seq_printf(seq, "<not supported>\n");1103 goto end;1104 }1105- seq_printf(seq, "device posted is <%s>\n", device_decode[id & 3]);11061107 end:1108 return 0;···1156 if (opt > 3)1157 return -EFAULT;11581159- /* just in case an OEM 'forget' the motherboard... */1160 options |= 1;11611162 if (options & (1ul << opt)) {···1527/*1528 * Arg:1529 * video : video bus device 1530- * event : Nontify Event1531 *1532 * Return:1533 * < 0 : error1534 * 1535 * 1. Find out the current active output device.1536- * 2. Identify the next output device to switch1537 * 3. call _DSS to do actual switch.1538 */1539···1723 device = video->device;17241725 switch (event) {1726- case ACPI_VIDEO_NOTIFY_SWITCH: /* User request that a switch occur,1727 * most likely via hotkey. */1728 acpi_bus_generate_event(device, event, 0);1729 break;17301731- case ACPI_VIDEO_NOTIFY_PROBE: /* User plug or remove a video1732 * connector. */1733 acpi_video_device_enumerate(video);1734 acpi_video_device_rebind(video);
···102103struct acpi_video_device_attrib {104 u32 display_index:4; /* A zero-based instance of the Display */105+ u32 display_port_attachment:4; /*This field differentiates the display type */106 u32 display_type:4; /*Describe the specific type in use */107+ u32 vendor_specific:4; /*Chipset Vendor Specific */108 u32 bios_can_detect:1; /*BIOS can detect the device */109 u32 depend_on_vga:1; /*Non-VGA output device whose power is related to 110 the VGA device. */···484 * 0. The system BIOS should NOT automatically switch(toggle)485 * the active display output.486 * 1. The system BIOS should automatically switch (toggle) the487+ * active display output. No switch event.488 * 2. The _DGS value should be locked.489 * 3. The system BIOS should not automatically switch (toggle) the490 * active display output, but instead generate the display switch491 * event notify code.492 * lcd_flag :493 * 0. The system BIOS should automatically control the brightness level494+ * of the LCD when the power changes from AC to DC495 * 1. The system BIOS should NOT automatically control the brightness 496+ * level of the LCD when the power changes from AC to DC.497 * Return Value:498 * -1 wrong arg.499 */···525 * Return Value:526 * None527 *528+ * Find out all required AML methods defined under the output529 * device.530 */531···636 * Return Value:637 * None638 *639+ * Find out all required AML methods defined under the video bus device.640 */641642static void acpi_video_bus_find_cap(struct acpi_video_bus *video)···681 * to check well known required nodes.682 */683684+ /* Does this device support video switching? */685 if (video->cap._DOS) {686 video->flags.multihead = 1;687 status = 0;688 }689690+ /* Does this device support retrieving a video ROM? */691 if (video->cap._ROM) {692 video->flags.rom = 1;693 status = 0;694 }695696+ /* Does this device support configuring which video device to POST? */697 if (video->cap._GPD && video->cap._SPD && video->cap._VPO) {698 video->flags.post = 1;699 status = 0;···860 if (level > 100)861 return -EFAULT;862863+ /* validate through the list of available levels */864 for (i = 0; i < dev->brightness->count; i++)865 if (level == dev->brightness->levels[i]) {866 if (ACPI_SUCCESS···1065 printk(KERN_WARNING PREFIX1066 "The motherboard VGA device is not listed as a possible POST device.\n");1067 printk(KERN_WARNING PREFIX1068+ "This indicates a BIOS bug. Please contact the manufacturer.\n");1069 }1070 printk("%lx\n", options);1071+ seq_printf(seq, "can POST: <integrated video>");1072 if (options & 2)1073 seq_printf(seq, " <PCI video>");1074 if (options & 4)···1102 seq_printf(seq, "<not supported>\n");1103 goto end;1104 }1105+ seq_printf(seq, "device POSTed is <%s>\n", device_decode[id & 3]);11061107 end:1108 return 0;···1156 if (opt > 3)1157 return -EFAULT;11581159+ /* just in case an OEM 'forgot' the motherboard... */1160 options |= 1;11611162 if (options & (1ul << opt)) {···1527/*1528 * Arg:1529 * video : video bus device 1530+ * event : notify event1531 *1532 * Return:1533 * < 0 : error1534 * 1535 * 1. Find out the current active output device.1536+ * 2. Identify the next output device to switch to.1537 * 3. call _DSS to do actual switch.1538 */1539···1723 device = video->device;17241725 switch (event) {1726+ case ACPI_VIDEO_NOTIFY_SWITCH: /* User requested a switch,1727 * most likely via hotkey. */1728 acpi_bus_generate_event(device, event, 0);1729 break;17301731+ case ACPI_VIDEO_NOTIFY_PROBE: /* User plugged in or removed a video1732 * connector. */1733 acpi_video_device_enumerate(video);1734 acpi_video_device_rebind(video);