diff options
| author | Faiz Abbas <[email protected]> | 2019-10-15 18:24:33 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-10-23 20:47:12 -0400 |
| commit | 4ff572830eb1ae95fa85f8ab585521ccc1d86845 (patch) | |
| tree | 5d344679a98ec497740c45e8e8f15907ed2f3580 /include | |
| parent | 66c54f1a3e467e25093253020a75f6b288b7281f (diff) | |
scsi: Add max_bytes_per_req to scsi_platdata
Add max_bytes_per_req to scsi_platdata to enable the host driver to limit
the number of bytes that can be read/written per request.
Signed-off-by: Faiz Abbas <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/scsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi.h b/include/scsi.h index 81ab43c8420..963abe2b13b 100644 --- a/include/scsi.h +++ b/include/scsi.h @@ -163,11 +163,13 @@ struct scsi_cmd { * @base: Controller base address * @max_lun: Maximum number of logical units * @max_id: Maximum number of target ids + * @max_bytes_per_req: Maximum number of bytes per read/write request */ struct scsi_platdata { unsigned long base; unsigned long max_lun; unsigned long max_id; + unsigned long max_bytes_per_req; }; /* Operations for SCSI */ |
