* [PATCH] be more silent if !CONFIG_ACPI_BOOT
@ 2003-08-15 15:35 Dominik Brodowski
0 siblings, 0 replies; 2+ messages in thread
From: Dominik Brodowski @ 2003-08-15 15:35 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
andrew.grover-ral2JQCrhuEAvxtiuMwx3w
A message "ACPI disabled" makes no sense if ACPI isn't even compiled into
the kernel.
Dominik
--- linux-2.6.0-test3+2/arch/i386/kernel/dmi_scan.c.original 2003-08-15 17:02:04.000000000 +0200
+++ linux-2.6.0-test3+2/arch/i386/kernel/dmi_scan.c 2003-08-15 17:04:42.000000000 +0200
@@ -1014,8 +1014,10 @@
else if (year < 1 || (year > 90 && year <= 99))
disable = 1;
if (disable && !acpi_force) {
+#ifdef ACPI_BOOT
printk(KERN_NOTICE "ACPI disabled because your bios is from %s and too old\n", s);
printk(KERN_NOTICE "You can enable it with acpi=force\n");
+#endif // CONFIG_ACPI_BOOT
acpi_disabled = 1;
}
}
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH] be more silent if !CONFIG_ACPI_BOOT
@ 2003-08-15 17:05 Brown, Len
0 siblings, 0 replies; 2+ messages in thread
From: Brown, Len @ 2003-08-15 17:05 UTC (permalink / raw)
To: Dominik Brodowski, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
Grover, Andrew
Good catch.
Indeed, more than the printk's can be #ifdef'd out in this case -- I'll
do so in my next update.
Thanks,
-Len
> -----Original Message-----
> From: Dominik Brodowski [mailto:linux-JhLEnvuH02M@public.gmane.org]
> Sent: Friday, August 15, 2003 11:35 AM
> To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Grover, Andrew
> Subject: [ACPI] [PATCH] be more silent if !CONFIG_ACPI_BOOT
>
>
> A message "ACPI disabled" makes no sense if ACPI isn't even
> compiled into
> the kernel.
>
> Dominik
>
> --- linux-2.6.0-test3+2/arch/i386/kernel/dmi_scan.c.original
> 2003-08-15 17:02:04.000000000 +0200
> +++ linux-2.6.0-test3+2/arch/i386/kernel/dmi_scan.c
> 2003-08-15 17:04:42.000000000 +0200
> @@ -1014,8 +1014,10 @@
> else if (year < 1 || (year > 90 && year <= 99))
> disable = 1;
> if (disable && !acpi_force) {
> +#ifdef ACPI_BOOT
> printk(KERN_NOTICE "ACPI
> disabled because your bios is from %s and too old\n", s);
> printk(KERN_NOTICE "You can
> enable it with acpi=force\n");
> +#endif // CONFIG_ACPI_BOOT
> acpi_disabled = 1;
> }
> }
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> _072303_01/01
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
>
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-15 17:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-15 15:35 [PATCH] be more silent if !CONFIG_ACPI_BOOT Dominik Brodowski
-- strict thread matches above, loose matches on Subject: below --
2003-08-15 17:05 Brown, Len
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox