On 14-12-03 06:44 AM, Hannes Reinecke wrote:
Hi all,
it has been bugged me for ages that the advansys driver always
reported a compilation warning about not having been converted
to the DMA-API.
And even aggressive waiting hasn't made this warning go away.
So here's a patchset to update the advansys driver to current
standards and use the DMA-API.
Tested on ABP940-U2W.
As usual, reviews and comments are welcome.
Hannes Reinecke (12):
advansys: use host_reset
advansys: use shared host tag map for command lookup
advansys: use DMA-API for mapping sense buffer
advansys: Use DMA-API for carrier buffer
advansys: Use DMA-API for mapping request blocks
advansys: Use dma_pool for sg elements
advansys: use 'bool' instead of 'int'
advansys: use standard data types
advansys: Remove 'TRUE' and 'FALSE' definitions
advansys: Remove 'ERR' definition
advansys: cleanup function return codes
advansys: Update to version 3.5 and remove compilation warning
MAINTAINERS | 1 +
drivers/scsi/advansys.c | 1073 +++++++++++++++++++++--------------------------
2 files changed, 469 insertions(+), 605 deletions(-)
Looks good.
Tried to find my old Advansys HBAs but failed, probably
the result of a purge a few years back. Hence I was unable
to test it with my few remaining SPI disks and tape drive.
If memory serves, for a while Advansys HBAs were bundled
with SCSI scanners.
The original Advansys maintainer, Bob Frey, I suspect was
the recipient of my first SCSI related queries.
Reviewed-by: Douglas Gilbert <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html