diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-10-28 22:47:47 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-10-28 22:47:47 +0000 |
commit | 37fb3925f347ba163a545489363c145a68805b66 (patch) | |
tree | ed1f47b1f28dd819bcd33482f0740e6ba4d44d0e /share/misc/scsi_modes | |
parent | ed0faa8facaff85e4b2e1967aee953fddb03fb0d (diff) | |
download | FreeBSD-src-37fb3925f347ba163a545489363c145a68805b66.zip FreeBSD-src-37fb3925f347ba163a545489363c145a68805b66.tar.gz |
Add 3 SCSI-3 bits for Sequential Access Device Congifuration Page.
Add Data Compression Page (SCSI-3). Add some clarifying comments
at the top of the file that say what the syntax is.
Diffstat (limited to 'share/misc/scsi_modes')
-rw-r--r-- | share/misc/scsi_modes | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/share/misc/scsi_modes b/share/misc/scsi_modes index 1801b50..5048782 100644 --- a/share/misc/scsi_modes +++ b/share/misc/scsi_modes @@ -32,6 +32,20 @@ # # The ordering is alphabetical by page name, as it appears in the SCSI spec. +# 'i' is a byte-sized integral types, followed by a field width of +# 1 through 4 (1 to 4 bytes). +# +# 'b' is a bit-sized integral type +# 't' is a bitfield type- followed by a bit field width +# +# 'c' values are character arrays +# 'z' values are null-padded strings +# +# +# '*' suppresses assignment (for 'seeking'). +# Bitfields are MSB to LSB. + + # ALL DEVICE TYPES 0x0a "Control Mode Page" { @@ -226,7 +240,8 @@ {Output Port 3 Volume} i1 } -0x10 { +# SEQUENTIAL ACCESS DEVICES +0x10 "Device Configuration Page" { {Reserved} *t1 {Change Active Partition} t1 {Change Active Format} t1 @@ -249,7 +264,23 @@ {Reserved} *t3 {Buffer Size at Early-Warning} i3 {Select Data Compression Algorithm} i1 - {Reserved} *i1 + {Reserved} *t5 + {SCSI-3 Associated Write Protect} t1 + {SCSI-3 Persistent Write Protect} t1 + {SCSI-3 Permanent Write Protect} t1 +} + +0x0f "Data Compression Page" { + {Reserved} *t1 + {Data Compression Enabled} t1 + {Date Compression Capable} t1 + {Reserved} *t6 + {Data Decompression Capable} t1 + {Data Decompression Report on Exception} t2 + {Reserved} *t5 + {Compression Algorithm} i4 + {Decompression Algorithm} i4 + {Reserved} *i4 } 0x00 "Vendor-Specific"; |