From: tedu Date: Wed, 21 Jan 2015 18:39:54 +0000 (+0000) Subject: I don't foresee knowing that my i386 netbook has an AT/286+ bios and X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6d274ae8ca8d04f0b2b1da89d11f1512b8efeb38;p=openbsd 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 --- 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