summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98/boot2
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2005-09-14 12:39:06 +0000
committernyan <nyan@FreeBSD.org>2005-09-14 12:39:06 +0000
commita40d5ee7726e4fd0241713083a83bc7e7467499f (patch)
tree3a8e44e951520ce285d67f255e34271a6e582f67 /sys/boot/pc98/boot2
parentd050e6481b2b36982b29527ae13c7c55b1737d2e (diff)
downloadFreeBSD-src-a40d5ee7726e4fd0241713083a83bc7e7467499f.zip
FreeBSD-src-a40d5ee7726e4fd0241713083a83bc7e7467499f.tar.gz
Remove EPSON PC-386 note A/W/AE/WR support.
Diffstat (limited to 'sys/boot/pc98/boot2')
-rw-r--r--sys/boot/pc98/boot2/io.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/boot/pc98/boot2/io.c b/sys/boot/pc98/boot2/io.c
index 4d03246..240b763 100644
--- a/sys/boot/pc98/boot2/io.c
+++ b/sys/boot/pc98/boot2/io.c
@@ -354,7 +354,6 @@ void machine_check(void)
int ret;
int i;
int data = 0;
- u_char epson_machine_id = *(unsigned char *)V(0xA1624);
/* PC98_SYSTEM_PARAMETER(0x501) */
ret = ((*(unsigned char*)V(0xA1501)) & 0x08) >> 3;
@@ -390,18 +389,8 @@ void machine_check(void)
} else {
ret |= M_NOT_H98;
}
- } else {
+ } else
ret |= M_NOT_H98;
- switch (epson_machine_id) {
- case 0x20: /* note A */
- case 0x22: /* note W */
- case 0x27: /* note AE */
- case 0x2a: /* note WR */
- ret |= M_NOTE;
- break;
- default:
- break;
- }
- }
+
(*(unsigned long *)V(0xA1620)) = ret;
}
OpenPOWER on IntegriCloud