diff options
author | sos <sos@FreeBSD.org> | 1999-12-07 14:49:00 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1999-12-07 14:49:00 +0000 |
commit | a0d99d8853d7958d5b736ce823ec807fec0dc3c5 (patch) | |
tree | af5151e031d2af0c5f3c552bf1bb032825c8bdc5 /sys/dev/ata/ata-disk.h | |
parent | 847fd08c4dcbc647dc3c4b1c7df77acd616e0f3c (diff) | |
download | FreeBSD-src-a0d99d8853d7958d5b736ce823ec807fec0dc3c5.zip FreeBSD-src-a0d99d8853d7958d5b736ce823ec807fec0dc3c5.tar.gz |
Fix support for disk with > 64K cyls.
Diffstat (limited to 'sys/dev/ata/ata-disk.h')
-rw-r--r-- | sys/dev/ata/ata-disk.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-disk.h b/sys/dev/ata/ata-disk.h index 0e8659f..359b83a 100644 --- a/sys/dev/ata/ata-disk.h +++ b/sys/dev/ata/ata-disk.h @@ -133,10 +133,9 @@ struct ad_softc { struct ata_params *ata_parm; /* ata device params */ int32_t unit; /* ATA_MASTER or ATA_SLAVE */ int32_t lun; /* logical unit number */ - u_int16_t cylinders; /* disk geometry (probed) */ + u_int32_t total_secs; /* total # of sectors (LBA) */ u_int8_t heads; u_int8_t sectors; - u_int32_t total_secs; /* total # of sectors (LBA) */ u_int32_t transfersize; /* size of each transfer */ u_int32_t num_tags; /* number of tags supported */ u_int32_t flags; /* drive flags */ |