Added Dataset Management defines to be used by TRIM in cam ata and scsi to
calculate the size of blocks. Reviewed by: mav Approved by: pjd (mentor) MFC after: 2 weeks
This commit is contained in:
parent
6f926c0b82
commit
88e8691037
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249931
@ -269,6 +269,12 @@ struct ata_params {
|
||||
/*255*/ u_int16_t integrity;
|
||||
} __packed;
|
||||
|
||||
/* ATA Dataset Management */
|
||||
#define ATA_DSM_BLK_SIZE 512
|
||||
#define ATA_DSM_BLK_RANGES 64
|
||||
#define ATA_DSM_RANGE_SIZE 8
|
||||
#define ATA_DSM_RANGE_MAX 65535
|
||||
|
||||
/*
|
||||
* ATA Device Register
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user