uweseimet / scsi2pi

Advanced performant SCSI/SASI emulation and tools for the PiSCSI/RaSCSI board
https://www.scsi2pi.net
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

Make controller more flexible wrt transfer sizes #55

Closed uweseimet closed 8 months ago

uweseimet commented 8 months ago

Currently the controller code in most locations assumes that transfer sizes are a multiple of the sector size. This prevents fully implementing READ/WRITE LONG and also requires a special handling for the printer device and other devices that do not deal with sectors. The controller shall be changed to not depend on rather fixed transfer sizes anymore.