diff options
author | joerg <joerg@FreeBSD.org> | 1996-05-19 19:29:09 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-05-19 19:29:09 +0000 |
commit | 9308fdf499548785bde32ad821435c4643b1b641 (patch) | |
tree | d313e5d981957dd9325f434a54eb257df7289907 /sys/scsi/scsi_disk.h | |
parent | 2ff893a7b2677dbab194d09e5ec482aab722fb0f (diff) | |
download | FreeBSD-src-9308fdf499548785bde32ad821435c4643b1b641.zip FreeBSD-src-9308fdf499548785bde32ad821435c4643b1b641.tar.gz |
Correct a few mode page definitions according to the SCSI-2 specs.
Not yet used, but might perhaps be used in od(4) some day.
Diffstat (limited to 'sys/scsi/scsi_disk.h')
-rw-r--r-- | sys/scsi/scsi_disk.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/sys/scsi/scsi_disk.h b/sys/scsi/scsi_disk.h index ecac2a4..aade036 100644 --- a/sys/scsi/scsi_disk.h +++ b/sys/scsi/scsi_disk.h @@ -46,7 +46,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * - * $Id: scsi_disk.h,v 1.7 1995/01/08 15:13:40 ats Exp $ + * $Id: scsi_disk.h,v 1.8 1995/05/30 08:13:35 rgrimes Exp $ */ /* @@ -187,8 +187,9 @@ union disk_pages /* this is the structure copied from osf */ #define DISK_FMT_RMB 0x20 #define DISK_FMT_HSEC 0x40 #define DISK_FMT_SSEC 0x80 - u_char reserved2; - u_char reserved3; + u_char reserved21; + u_char reserved22; + u_char reserved23; } disk_format; struct page_rigid_geometry { u_char pg_code; /* page code (should be 4) */ @@ -208,9 +209,13 @@ union disk_pages /* this is the structure copied from osf */ u_char land_zone_2; /* landing zone cylinder (MSB) */ u_char land_zone_1; /* landing zone cylinder */ u_char land_zone_0; /* landing zone cylinder (LSB) */ - u_char reserved1; - u_char reserved2; - u_char reserved3; + u_char rpl; /* rotational position locking (2 bits) */ + u_char rot_offset; /* rotational offset */ + u_char reserved19; + u_char medium_rot_rate_1; /* medium rotation rate (RPM) (MSB) */ + u_char medium_rot_rate_0; /* medium rotation rate (RPM) (LSB) */ + u_char reserved22; + u_char reserved23; } rigid_geometry; } ; #endif /* _SCSI_SCSI_DISK_H*/ |