summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-disk.h
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1999-12-07 14:49:00 +0000
committersos <sos@FreeBSD.org>1999-12-07 14:49:00 +0000
commita0d99d8853d7958d5b736ce823ec807fec0dc3c5 (patch)
treeaf5151e031d2af0c5f3c552bf1bb032825c8bdc5 /sys/dev/ata/ata-disk.h
parent847fd08c4dcbc647dc3c4b1c7df77acd616e0f3c (diff)
downloadFreeBSD-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.h3
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 */
OpenPOWER on IntegriCloud