This series has fixes and cleanup for mac_esp, zorro_esp and the core esp_scsi driver. These improvements include elimination of duplicated code temporarily introduced for zorro_esp. Finn Thain (6): zorro_esp: Limit DMA transfers to 65535 bytes esp_scsi: Track residual for PIO transfers esp_scsi: Grant disconnect privilege for untagged commands esp_scsi: Eliminate ESP_FLAG_DOING_SLOWCMD esp_scsi: De-duplicate PIO routines esp_scsi: Optimize PIO loops drivers/scsi/Kconfig | 6 + drivers/scsi/esp_scsi.c | 194 ++++++++++++++++++++++++------- drivers/scsi/esp_scsi.h | 10 +- drivers/scsi/mac_esp.c | 171 +--------------------------- drivers/scsi/zorro_esp.c | 240 ++++++--------------------------------- 5 files changed, 209 insertions(+), 412 deletions(-) -- 2.18.1