mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 21:09:28 +00:00
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:
parent
be70fc04ce
commit
4ea059e15f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82365
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user