diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-01-21 18:39:55 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-01-21 18:39:55 +0000 |
commit | 948b8186fb5c81633bdf0195b7e56fe32de7a8e6 (patch) | |
tree | 007b52b38e9aedc7fe17bf249e18453c3a54ea70 /sys | |
parent | 86d23d17063ebc765f2b06162d3d85ab231c10dc (diff) |
I don't foresee knowing that my i386 netbook has an AT/286+ bios and
not a PCjr bios will help diagnose any problems.
ok deraadt kettenis
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/bios.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c index 4265af766de..f4dd2b8c0d4 100644 --- a/sys/arch/i386/i386/bios.c +++ b/sys/arch/i386/i386/bios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bios.c,v 1.108 2015/01/17 17:44:15 tedu Exp $ */ +/* $OpenBSD: bios.c,v 1.109 2015/01/21 18:39:54 tedu Exp $ */ /* * Copyright (c) 1997-2001 Michael Shalayeff @@ -177,19 +177,8 @@ biosattach(struct device *parent, struct device *self, void *aux) flags = sc->sc_dev.dv_cfdata->cf_flags; va = ISA_HOLE_VADDR(0xffff0); - switch (va[14]) { - default: - case 0xff: str = "PC"; break; - case 0xfe: str = "PC/XT"; break; - case 0xfd: str = "PCjr"; break; - case 0xfc: str = "AT/286+"; break; - case 0xfb: str = "PC/XT+"; break; - case 0xfa: str = "PS/2 25/30"; break; - case 0xf9: str = "PC Convertible";break; - case 0xf8: str = "PS/2 386+"; break; - } - printf(": %s BIOS, date %c%c/%c%c/%c%c", - str, va[5], va[6], va[8], va[9], va[11], va[12]); + printf(": date %c%c/%c%c/%c%c", + va[5], va[6], va[8], va[9], va[11], va[12]); /* * Determining whether BIOS32 extensions are available is |