1. 18 10月, 2018 3 次提交
  2. 11 7月, 2018 3 次提交
  3. 19 4月, 2018 1 次提交
    • M
      scsi: zorro_esp: New driver for Amiga Zorro NCR53C9x boards · 3109e5ae
      Michael Schmitz 提交于
      New combined SCSI driver for all ESP based Zorro SCSI boards for m68k Amiga.
      
      Code largely based on board specific parts of the old drivers (blz1230.c,
      blz2060.c, cyberstorm.c, cyberstormII.c, fastlane.c which were removed after
      the 2.6 kernel series for lack of maintenance) with contributions by Tuomas
      Vainikka (TCQ bug tests and workaround) and Finn Thain (TCQ bugfix by use of
      PIO in extended message in transfer).
      
      New Kconfig option and Makefile entries for new Amiga Zorro ESP SCSI driver
      included in this patch.
      
      Use DMA transfers wherever possible, with board-specific DMA set-up functions
      copied from the old driver code. Three byte reselection messages do appear to
      cause DMA timeouts. So wire up a PIO transfer routine for these
      instead. esp_reselect_with_tag explicitly sets
      esp->cmd_block_dma as target address for the message bytes but PIO
      requires a virtual address.  Substiute kernel virtual address
      esp->cmd_block in PIO transfer call if DMA address is esp->cmd_block_dma
      and phase is message in.
      
      PIO code taken from mac_esp.c where the reselection timeout issue was debugged
      and fixed first, with minor macro and function rename.
      Signed-off-by: NMichael Schmitz <schmitzmic@gmail.com>
      Reviewed-by: NFinn Thain <fthain@telegraphics.com.au>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Tested-by: NChristian T. Steigies <cts@debian.org>
      Tested-by: NJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      3109e5ae
  4. 20 3月, 2018 3 次提交
  5. 15 3月, 2018 1 次提交
  6. 14 2月, 2018 2 次提交
  7. 02 11月, 2017 1 次提交
    • A
      block: fix CDROM dependency on BLK_DEV · c091fbe9
      Arnd Bergmann 提交于
      After the cdrom cleanup, I get randconfig warnings for some configurations:
      
      warning: (BLK_DEV_IDECD && BLK_DEV_SR) selects CDROM which has unmet direct dependencies (BLK_DEV)
      
      This adds an explicit BLK_DEV dependency for both drivers. The other
      drivers that select 'CDROM' already have this and don't need a change.
      
      Fixes: 2a750166 ("block: Rework drivers/cdrom/Makefile")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      c091fbe9
  8. 01 11月, 2017 1 次提交
  9. 12 10月, 2017 1 次提交
  10. 05 9月, 2017 1 次提交
    • A
      scsi: scsi_transport_sas: select BLK_DEV_BSGLIB · 580b71e9
      Arnd Bergmann 提交于
      Without CONFIG_BLK_DEV_BSGLIB, we get a link error here:
      
      drivers/scsi/scsi_transport_sas.o: In function `sas_bsg_initialize':
      scsi_transport_sas.c:(.text+0xcc0): undefined reference to `bsg_setup_queue'
      scsi_transport_sas.c:(.text+0xd10): undefined reference to `bsg_setup_queue'
      drivers/scsi/scsi_transport_sas.o: In function `sas_smp_dispatch':
      scsi_transport_sas.c:(.text+0xe8c): undefined reference to `bsg_job_done'
      
      This modifies the Kconfig 'select' statement accordingly, and matching
      what we do for the other two scsi_transport implementations that use
      bsglib.
      
      Fixes: 651a0136 ("scsi: scsi_transport_sas: switch to bsg-lib for SMP passthrough")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      580b71e9
  11. 17 8月, 2017 1 次提交
  12. 25 7月, 2017 1 次提交
  13. 28 6月, 2017 1 次提交
  14. 16 3月, 2017 1 次提交
    • J
      scsi: lpfc: Finalize Kconfig options for nvme · 7d708033
      James Smart 提交于
      Reviewing the result of what was just added for Kconfig, we made a poor
      choice. It worked well for full kernel builds, but not so much for how
      it would be deployed on a distro.
      
      Here's the final result:
      - lpfc will compile in NVME initiator and/or NVME target support based
        on whether the kernel has the corresponding subsystem support.
        Kconfig is not used to drive this specifically for lpfc.
      - There is a module parameter, lpfc_enable_fc4_type, that indicates
        whether the ports will do FCP-only or FCP & NVME (NVME-only not yet
        possible due to dependency on fc transport). As FCP & NVME divvys up
        exchange resources, and given NVME will not be often initially, the
        default is changed to FCP only.
      Signed-off-by: NDick Kennedy <dick.kennedy@broadcom.com>
      Signed-off-by: NJames Smart <james.smart@broadcom.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      7d708033
  15. 07 3月, 2017 1 次提交
  16. 24 2月, 2017 1 次提交
  17. 23 2月, 2017 2 次提交
  18. 01 2月, 2017 1 次提交
  19. 15 12月, 2016 1 次提交
  20. 18 11月, 2016 1 次提交
  21. 09 11月, 2016 2 次提交
  22. 27 9月, 2016 7 次提交
  23. 13 8月, 2016 1 次提交
  24. 20 7月, 2016 1 次提交
  25. 13 7月, 2016 1 次提交
    • R
      scsi: ultrastor.c depends on ISA_DMA_API · 7e1ee441
      Randy Dunlap 提交于
      Fix build when CONFIG_ISA_DMA_API is not enabled. Fixes these build
      errors (on x86_64):
      
      ../drivers/scsi/ultrastor.c: In function 'ultrastor_14f_detect':
      ../drivers/scsi/ultrastor.c:519:5: error: implicit declaration of function 'request_dma' [-Werror=implicit-function-declaration]
           if (config.dma_channel && request_dma(config.dma_channel,"Ultrastor")) {
           ^
      ../drivers/scsi/ultrastor.c: In function 'ultrastor_release':
      ../drivers/scsi/ultrastor.c:658:3: error: implicit declaration of function 'free_dma' [-Werror=implicit-function-declaration]
         free_dma(shost->dma_channel);
         ^
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      7e1ee441