summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-27 00:38:47 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-27 00:38:47 +0000
commit1ca8ff3290ecff606a36f949950d9b7572c9ccf3 (patch)
tree6e645625c3961c9f355d95c4d0cdda10b9e4aa03 /sys
parent24cdec05bd8d92a66295b4898409ca118f7ac95e (diff)
document bpb media types
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/include/biosvar.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h
index 8493f1be9c8..aac981ddcfa 100644
--- a/sys/arch/i386/include/biosvar.h
+++ b/sys/arch/i386/include/biosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosvar.h,v 1.1 1997/07/17 23:13:44 mickey Exp $ */
+/* $OpenBSD: biosvar.h,v 1.2 1997/07/27 00:38:46 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -48,6 +48,18 @@
#define BIOSNHEADS(d) (((d)>>8)+1)
#define BIOSNSECTS(d) ((d)&0xff) /* sectors are 1-based */
+/* BIOS media ID */
+#define BIOSM_F320K 0xff /* floppy ds/sd 8 spt */
+#define BIOSM_F160K 0xfe /* floppy ss/sd 8 spt */
+#define BIOSM_F360K 0xfd /* floppy ds/sd 9 spt */
+#define BIOSM_F180K 0xfc /* floppy ss/sd 9 spt */
+#define BIOSM_ROMD 0xfa /* ROM disk */
+#define BIOSM_F120M 0xf9 /* floppy ds/hd 15 spt 5.25" */
+#define BIOSM_F720K 0xf9 /* floppy ds/dd 9 spt 3.50" */
+#define BIOSM_HD 0xf8 /* hard drive */
+#define BIOSM_F144K 0xf0 /* floppy ds/hd 18 spt 3.50" */
+#define BIOSM_OTHER 0xf0 /* any other */
+
/*
* Advanced Power Management (APM) BIOS driver for laptop PCs.
*