diff options
author | 1997-11-05 02:02:25 +0000 | |
---|---|---|
committer | 1997-11-05 02:02:25 +0000 | |
commit | 121f29f15857acff0f38daad7d2ee0524a75cbb1 (patch) | |
tree | 4c3de97fb61686da77d2187e5faae500b7ce37e6 | |
parent | noone cares about the strip driver (diff) | |
download | wireguard-openbsd-121f29f15857acff0f38daad7d2ee0524a75cbb1.tar.xz wireguard-openbsd-121f29f15857acff0f38daad7d2ee0524a75cbb1.zip |
don't try #21 for a: only
-rw-r--r-- | sys/arch/i386/stand/libsa/biosdev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/libsa/biosdev.c b/sys/arch/i386/stand/libsa/biosdev.c index 70b1a79f905..130ed3a6d80 100644 --- a/sys/arch/i386/stand/libsa/biosdev.c +++ b/sys/arch/i386/stand/libsa/biosdev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: biosdev.c,v 1.47 1997/11/01 16:35:19 mickey Exp $ */ +/* $OpenBSD: biosdev.c,v 1.48 1997/11/05 02:02:25 mickey Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -123,9 +123,9 @@ bios_getinfo(dev, pdi) /* * NOTE: This seems to hang on certain machines. Use function #8 * first, and verify with #21 IFF #8 succeeds first. - * don't try this for floppies. + * don't try this for a: */ - if (dev & 0x80) { + if (dev) { __asm __volatile (DOINT(0x13) "; setc %b0" : "=a" (rv) : "0" (0x1500), "d" (dev) : "%ecx", "cc"); if(!(rv & 0xff00)) |