summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-01-21 18:39:54 +0000
committertedu <tedu@openbsd.org>2015-01-21 18:39:54 +0000
commit6d274ae8ca8d04f0b2b1da89d11f1512b8efeb38 (patch)
treee1ac53cb03f27225a8546c766fb67f1d7d13cc2a
parentDo not try to stop and reset endpoints if USB transfers are aborted (diff)
downloadwireguard-openbsd-6d274ae8ca8d04f0b2b1da89d11f1512b8efeb38.tar.xz
wireguard-openbsd-6d274ae8ca8d04f0b2b1da89d11f1512b8efeb38.zip
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
-rw-r--r--sys/arch/i386/i386/bios.c17
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