summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/biosdev.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-09-16 03:43:12 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-09-16 03:43:12 +0000
commitd7cff5763cdc9e3abb3e3c55862183669d599a88 (patch)
treea24d93a12c135f17bd83c265ec8bfc9685f2e3a9 /sys/arch/i386/stand/libsa/biosdev.c
parent2ed88c7fb005ce070bdb80f4bc9d517fb177da18 (diff)
document extension support bitmap definition; requested by deraadt@.
toby@ ok.
Diffstat (limited to 'sys/arch/i386/stand/libsa/biosdev.c')
-rw-r--r--sys/arch/i386/stand/libsa/biosdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/biosdev.c b/sys/arch/i386/stand/libsa/biosdev.c
index a822266e795..6935a2a709f 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.61 2003/09/11 17:39:35 deraadt Exp $ */
+/* $OpenBSD: biosdev.c,v 1.62 2003/09/16 03:43:11 fgsch Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -145,7 +145,7 @@ bios_getdiskinfo(int dev, bios_diskinfo_t *pdi)
* If extended disk access functions are not supported
* there is not much point on doing EDD.
*/
- if (!(pdi->bios_edd & 1))
+ if (!(pdi->bios_edd & EXT_BM_EDA))
pdi->bios_edd = -1;
} else
pdi->bios_edd = -1;