mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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 <faiz_abbas@ti.com>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user