[PATCHv3 00/23] Nobody loves the advansys driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 and ABP-960-U (Thanks, Doug!)

As usual, reviews and comments are welcome.

Changes to the original version:
- Fixed issue noted by Ondrey Zary
- Tested narrow-scsi support
- Fixed sg list corruption on wide boards
- Even more cleanup

Changes to v2:
- Remove calls to dma_cache_sync()
- Allow compilation on ARM, too

Hannes Reinecke (23):
  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: Make AscIsrChipHalted() a void function
  advansys: cleanup function return codes
  advansys: scsi_q1->data_addr is little endian
  advansys: Remove ASC_SCSI_REQ_Q
  advansys: Remove CC_VERY_LONG_SG_LIST
  advansys: rename 'ASC_RQ_XX' to 'ADV_RQ_XX'
  advansys: Remove 'a_flag'
  advansys: Remove obsolete virtual memory mapping comment
  advansys: Remove cmd_per_lun setting
  advansys: Check for DMA mapping errors
  advansys: use spin_lock_irqsave() in interrupt handler
  advansys: Remove call to dma_cache_sync()
  advansys: Update to version 3.5 and remove compilation warning

 MAINTAINERS             |    1 +
 drivers/scsi/Kconfig    |    2 +-
 drivers/scsi/advansys.c | 1469 ++++++++++++++++-------------------------------
 3 files changed, 509 insertions(+), 963 deletions(-)

-- 
1.8.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux