diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-05-05 11:33:27 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-05-05 11:33:27 +0000 |
commit | ed6b0dd01e67f4f86ed999c2df2e704b885260f2 (patch) | |
tree | 5ef27f648094ffc5d8e04a840f3700f01036f731 /sys/scsi | |
parent | 33a40ab9a1bfd4e4306a94e8d89664e3c35608f8 (diff) |
map the ATA data set management stuff (ie, trim) to the SCSI thin
provisioning bits in read cap 16
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/scsi_disk.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/scsi_disk.h b/sys/scsi/scsi_disk.h index 7cc5d2b39e4..81b9f811d29 100644 --- a/sys/scsi/scsi_disk.h +++ b/sys/scsi/scsi_disk.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_disk.h,v 1.25 2010/04/03 07:09:29 dlg Exp $ */ +/* $OpenBSD: scsi_disk.h,v 1.26 2010/05/05 11:33:26 dlg Exp $ */ /* $NetBSD: scsi_disk.h,v 1.10 1996/07/05 16:19:05 christos Exp $ */ /* @@ -266,6 +266,8 @@ struct scsi_read_cap_data_16 { u_int8_t p_type_prot; u_int8_t logical_per_phys; u_int8_t lowest_aligned[2]; +#define READ_CAP_16_TPE 0x8000 +#define READ_CAP_16_TPRZ 0x4000 u_int8_t reserved[16]; }; |