From 5c8fb2fbec95d562764d9f8c5fceecd7100eef70 Mon Sep 17 00:00:00 2001 From: Kenneth J Davis Date: Mon, 13 Jul 2009 02:35:05 +0000 Subject: [PATCH] comments added git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1485 6ac86273-5f31-0410-b378-82cca8765d1b --- hdr/device.h | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/hdr/device.h b/hdr/device.h index c860556..a4bd67d 100644 --- a/hdr/device.h +++ b/hdr/device.h @@ -27,12 +27,6 @@ /* Cambridge, MA 02139, USA. */ /****************************************************************/ -#ifdef MAIN -#ifdef VERSION_STRINGS -static BYTE *device_hRcsId = - "$Id$"; -#endif -#endif /* * Status Word Bits @@ -245,16 +239,16 @@ typedef struct ddtstruct { } ddt; /* description flag bits */ -#define DF_FIXED 0x001 -#define DF_CHANGELINE 0x002 -#define DF_CURBPBLOCK 0x004 -#define DF_SAMESIZE 0x008 -#define DF_MULTLOG 0x010 -#define DF_CURLOG 0x020 -#define DF_DISKCHANGE 0x040 -#define DF_DPCHANGED 0x080 -#define DF_REFORMAT 0x100 -#define DF_NOACCESS 0x200 +#define DF_FIXED 0x001 /* fixed media, ie hard drive */ +#define DF_CHANGELINE 0x002 /* door lock or disk change detection reported as supported */ +#define DF_CURBPBLOCK 0x004 /* current BPB locked, use existing BPB instead of building one */ +#define DF_SAMESIZE 0x008 /* all sectors in a track are the same size */ +#define DF_MULTLOG 0x010 /* physical drive represents multiple logical ones, eg A: & B: */ +#define DF_CURLOG 0x020 /* active (current) logical drive for this physical drive */ +#define DF_DISKCHANGE 0x040 /* disk change was detected */ +#define DF_DPCHANGED 0x080 /* device parameters changed */ +#define DF_REFORMAT 0x100 /* disk formatted so BPB has changed */ +#define DF_NOACCESS 0x200 /* don't allow access (read or write) to fixed media */ /* freedos specific flag bits */ #define DF_LBA 0x400 #define DF_WRTVERIFY 0x800