linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rephrase acpi init messages for i386/x86_64
@ 2003-07-18  9:38 Jasper Spaans
  0 siblings, 0 replies; only message in thread
From: Jasper Spaans @ 2003-07-18  9:38 UTC (permalink / raw)
  To: linux-kernel, torvalds

Hello,

Below is a simple patch which changes the wording of 'BIOS passes blacklist'
into something which is more clear - not being a native speaker of English I
was wondering whether 'BIOS passes blacklist' meant that my machine was
listed or not.

Furthermore, nothing is displayed in the case a BIOS /is/ listed - adding a
warning in that case seems useful to me.


Index: arch/i386/kernel/acpi/boot.c
===================================================================
RCS file: /home/cvs/linux-2.5/arch/i386/kernel/acpi/boot.c,v
retrieving revision 1.5
diff -u -r1.5 boot.c
--- CVS/arch/i386/kernel/acpi/boot.c	2 Apr 2003 05:01:48 -0000	1.5
+++ linux-2.5/arch/i386/kernel/acpi/boot.c	18 Jul 2003 08:05:29 -0000
@@ -310,11 +310,12 @@
 
 	result = acpi_blacklisted();
 	if (result) {
+		printk(KERN_WARNING PREFIX "BIOS listed in blacklist, disabling ACPI support\n");
 		acpi_disabled = 1;
 		return result;
 	}
 	else
-		printk(KERN_NOTICE PREFIX "BIOS passes blacklist\n");
+		printk(KERN_NOTICE PREFIX "BIOS not listed in blacklist\n");
 
 #ifdef CONFIG_X86_LOCAL_APIC
 
Index: arch/x86_64/kernel/acpi/boot.c
===================================================================
RCS file: /home/cvs/linux-2.5/arch/x86_64/kernel/acpi/boot.c,v
retrieving revision 1.4
diff -u -r1.4 boot.c
--- CVS/arch/x86_64/kernel/acpi/boot.c	26 Jun 2003 16:25:45 -0000	1.4
+++ linux-2.5/arch/x86_64/kernel/acpi/boot.c	18 Jul 2003 08:05:35 -0000
@@ -313,10 +313,11 @@
 
 	result = acpi_blacklisted();
 	if (result) {
+		printk(KERN_WARNING PREFIX "BIOS listed in blacklist, disabling ACPI support\n");
 		acpi_disabled = 1;
 		return result;
 	} else
-               printk(KERN_NOTICE PREFIX "BIOS passes blacklist\n");
+               printk(KERN_NOTICE PREFIX "BIOS not listed in blacklist\n");
 
 
 	extern int disable_apic;

VrGr,
-- 
Jasper Spaans                 http://jsp.vs19.net/contact/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-18  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-18  9:38 rephrase acpi init messages for i386/x86_64 Jasper Spaans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).