The EXTENDED_GEOMETRY flag is really bit 7. This affects >2GB drives.

PR:		29454
Submitted by:	Rob Manchester <rmanches@vmware.com>
This commit is contained in:
Peter Wemm 2001-08-26 21:51:35 +00:00
parent be70fc04ce
commit 4ea059e15f

View File

@ -112,7 +112,7 @@ typedef enum {
#define GEOMETRY_REG 0x03
#define DISK0_GEOMETRY 0x03
#define DISK1_GEOMETRY 0x0c
#define EXTENDED_TRANSLATION 0x10
#define EXTENDED_TRANSLATION 0x80
#define GEOMETRY_DISK0(g_reg) (greg & DISK0_GEOMETRY)
#define GEOMETRY_DISK1(g_reg) ((greg & DISK1_GEOMETRY) >> 2)