[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <491EEDE8.5080508@gmx.de>
Date: Sat, 15 Nov 2008 16:42:32 +0100
From: Philipp Kohlbecher <xt28@....de>
To: Ingo Molnar <mingo@...hat.com>
CC: linux-kernel@...r.kernel.org
Subject: [PATCH] x86: alternative identifier for Phoenix BIOS
My laptop (a Samsung X20) contains a Phoenix BIOS and would benefit from
patch 1e22436eba84edfec9c25e5a25d09062c4f91ca9 (x86: reserve low 64K on
AMI and Phoenix BIOS boxen).
However, according to /sys/class/dmi/id/bios_vendor, the BIOS identifies
its vendor as "Phoenix Technologies LTD" (sans the comma).
This patch adds the approptiate identifier to the bad_bios_dmi_table in
arch/x86/kernel/setup.c.
The patch compiles cleanly and has been tested successfully on my machine.
Signed-off-by: Philipp Kohlbecher <xt28@....de>
---
Please CC me, I am not on the list.
arch/x86/kernel/setup.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 0fa6790..b88fdbe 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -767,6 +767,13 @@ static struct dmi_system_id __initdata
bad_bios_dmi_table[] = {
DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies, LTD"),
},
},
+ {
+ .callback = dmi_low_memory_corruption,
+ .ident = "Phoenix BIOS",
+ .matches = {
+ DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies LTD"),
+ },
+ },
#endif
{}
};
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists