2002-12-15 11:00:06

by Osamu Tomita

[permalink] [raw]
Subject: [PATCHSET] PC-9800 addtional for 2.5.50-ac1 (4/21)

diff -Nru linux-2.5.50-ac1/arch/i386/mach-pc9800/setup.c linux98-2.5.50-ac1/arch/i386/mach-pc9800/setup.c
--- linux-2.5.50-ac1/arch/i386/mach-pc9800/setup.c 2002-12-11 13:09:57.000000000 +0900
+++ linux98-2.5.50-ac1/arch/i386/mach-pc9800/setup.c 2002-12-12 22:15:25.000000000 +0900
@@ -8,6 +8,7 @@
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
+#include <linux/apm_bios.h>
#include <asm/setup.h>
#include <asm/arch_hooks.h>

@@ -69,6 +70,11 @@
SYS_DESC_TABLE.length = 0;
MCA_bus = 0;
pc98 = 1;
+#ifdef CONFIG_PC9800
+ /* In PC-9800, APM BIOS version is written in BCD...?? */
+ APM_BIOS_INFO.version = (APM_BIOS_INFO.version & 0xff00)
+ | ((APM_BIOS_INFO.version & 0x00f0) >> 4);
+#endif
}

/**


Attachments:
mach-pc9800-setup_c-update.patch (743.00 B)