diff options
author | sos <sos@FreeBSD.org> | 1998-04-08 20:04:39 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1998-04-08 20:04:39 +0000 |
commit | a5c9554f6163ccc587bc0a1cb6c84ee55405988e (patch) | |
tree | 50dbca0896984c0cb0d75e689238b6ab080fa5fa /sys/i386/isa/wdreg.h | |
parent | 6ee5cb0947bef4893f876565c3f02a132cc305ef (diff) | |
download | FreeBSD-src-a5c9554f6163ccc587bc0a1cb6c84ee55405988e.zip FreeBSD-src-a5c9554f6163ccc587bc0a1cb6c84ee55405988e.tar.gz |
Add LBA mode support for large drives.
Use config flags 0x1000 to enable LBA mode. It should be enabled in
the BIOS too to avoid geometry confusion.
One catch though, I'm not sure all BIOS's uses the 64head/63secs
translation, all mine does but....
Diffstat (limited to 'sys/i386/isa/wdreg.h')
-rw-r--r-- | sys/i386/isa/wdreg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/wdreg.h b/sys/i386/isa/wdreg.h index 22c07d8..f8520bf 100644 --- a/sys/i386/isa/wdreg.h +++ b/sys/i386/isa/wdreg.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)wdreg.h 7.1 (Berkeley) 5/9/91 - * $Id: wdreg.h,v 1.20 1997/09/20 07:41:45 dyson Exp $ + * $Id: wdreg.h,v 1.21 1998/01/14 08:08:42 kato Exp $ */ /* @@ -137,6 +137,7 @@ #define WD_STEP 0 /* winchester- default 35us step */ #define WDSD_IBM 0xa0 /* forced to 512 byte sector, ecc */ +#define WDSD_LBA 0x40 /* use Logical Block Adressing */ #ifdef KERNEL /* |