06 Aug, 2010

1 commit


28 Jul, 2010

1 commit

  • This patch (as1397b) converts the SCSI midlayer to use the new PM
    callbacks (struct dev_pm_ops). A new source file, scsi_pm.c, is
    created to hold the new callback routines, and the existing
    suspend/resume code is moved there.

    Signed-off-by: Alan Stern
    Signed-off-by: James Bottomley

    Alan Stern
     

01 May, 2010

1 commit


10 Dec, 2009

1 commit

  • This driver supports a subset of HP Smart Array Controllers.
    It is a SCSI alternative to the cciss driver.

    [akpm@linux-foundation.org: avoid helpful cleanup patches]
    [achiang@hp.com: make device attrs static]
    [akpm@linux-foundation.org: msleep() does set_current_state() itself]
    Signed-off-by: Stephen M. Cameron
    Signed-off-by: Mike Miller
    Signed-off-by: Alex Chiang
    Signed-off-by: Andrew Morton
    Signed-off-by: James Bottomley

    Stephen M. Cameron
     

05 Dec, 2009

3 commits


02 Oct, 2009

2 commits


12 Sep, 2009

1 commit


09 Jun, 2009

1 commit

  • New iSCSI driver for Broadcom BNX2 devices. The driver interfaces with
    the CNIC driver to access the hardware.

    Signed-off-by: Anil Veerabhadrappa
    Signed-off-by: Michael Chan
    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Michael Chan
     

21 May, 2009

1 commit


14 May, 2009

1 commit


03 Apr, 2009

1 commit

  • Just sets up build environment for libfcoe module towards a
    libfcoe library for libfc LLDs using FCoE as libfc transport.

    Common library code to libfcoe is added in next patch.

    Also, updated MODULE_LICENSE from "GPL" string to "GPL v2" for
    libfc, libfcoe and fcoe modules to accurately match the licenses.

    Signed-off-by: Vasu Dev
    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Vasu Dev
     

14 Mar, 2009

1 commit

  • * This is new scsi lld device driver from LSI supporting the SAS 2.0
    standard. I have split patchs by filename.

    * Here is list of new 6gb host controllers:

    LSI SAS2004
    LSI SAS2008
    LSI SAS2108
    LSI SAS2116

    * Here are the changes in the 4th posting of this patch set:

    (1) fix compile errors when SCSI_MPT2SAS_LOGGING is not enabled
    (2) add mpt2sas to the SCSI Mid Layer Makefile
    (3) append mpt2sas_ to the naming of all non-static functions
    (4) fix oops for SMP_PASSTHRU
    (5) doorbell algorithm imported changes from windows driver

    * Here are the changes in the 3rd posting of this patch set:

    (1) add readl following writel from the function that disables interrupts
    (2) replace 0xFFFFFFFFFFFFFFFFULL with ~0ULL
    (3) when calling pci_enable_msix, only pass one msix entry (instead of 15).
    (4) remove the "current HW implementation uses..... " comment in the sources
    (5) merged bug fix for SIGIO/POLLIN notifcation; reported by the storlib team.

    * Here are the changes in the 2nd posting of this patch set:

    (1) use little endian types in the mpi headers
    (2) merged in bug fix's from inhouse drivers.

    Signed-off-by: Eric Moore
    Tested-by: peter Bogdanovic
    Signed-off-by: James Bottomley

    Eric Moore
     

13 Mar, 2009

1 commit

  • OSD in kernel source code is assumed to be at:
    drivers/scsi/osd/ with its own Makefile and Kconfig

    Add includes to them from drivers/scsi Makefile and Kconfig
    Add OSD to MAINTAINERS file

    Signed-off-by: Boaz Harrosh
    Reviewed-by: Benny Halevy
    Signed-off-by: James Bottomley

    Boaz Harrosh
     

02 Jan, 2009

1 commit

  • As planed, this removes ide-scsi.

    The 2.6 kernel supports direct writing to ide CD drives, which
    eliminates the need for ide-scsi. ide-scsi has been unmaintained and
    marked as deprecated.

    Signed-off-by: FUJITA Tomonori
    Cc: James.Bottomley@HansenPartnership.com
    Signed-off-by: Bartlomiej Zolnierkiewicz

    FUJITA Tomonori
     

31 Dec, 2008

1 commit

  • This patch implements the cxgb3i iscsi connection acceleration for the
    open-iscsi initiator.

    The cxgb3i driver offers the iscsi PDU based offload:
    - digest insertion and verification
    - payload direct-placement into host memory buffer.

    Signed-off-by: Karen Xie
    Signed-off-by: James Bottomley

    Karen Xie
     

30 Dec, 2008

3 commits

  • Encapsulation protocol for running Fibre Channel over Ethernet interfaces.
    Creates virtual Fibre Channel host adapters using libfc.

    This layer is the LLD to the scsi-ml. It allocates the Scsi_Host, utilizes
    libfc for Fibre Channel protocol processing and interacts with netdev to
    send/receive Ethernet packets.

    Signed-off-by: Robert Love
    Signed-off-by: James Bottomley

    Robert Love
     
  • libFC is composed of 4 blocks supported by an exchange manager
    and a framing library. The upper 4 layers are fc_lport, fc_disc,
    fc_rport and fc_fcp. A LLD that uses libfc could choose to
    either use libfc's block, or using the transport template
    defined in libfc.h, override one or more blocks with its own
    implementation.

    The EM (Exchange Manager) manages exhcanges/sequences for all
    commands- ELS, CT and FCP.

    The framing library frames ELS and CT commands.

    The fc_lport block manages the library's representation of the
    host's FC enabled ports.

    The fc_disc block manages discovery of targets as well as
    handling changes that occur in the FC fabric (via. RSCN events).

    The fc_rport block manages the library's representation of other
    entities in the FC fabric. Currently the library uses this block
    for targets, its peer when in point-to-point mode and the
    directory server, but can be extended for other entities if
    needed.

    The fc_fcp block interacts with the scsi-ml and handles all
    I/O.

    Signed-off-by: Robert Love
    [jejb: added include of delay.h to fix ppc64 compile prob spotted by sfr]
    Signed-off-by: James Bottomley

    Robert Love
     
  • This hooks iscsi_tcp into the libiscsi_tcp module and removes
    code that is now in libiscsi_tcp.

    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Mike Christie
     

27 Jul, 2008

1 commit

  • Support for controllers and disks that implement DIF protection
    information:

    - During command preparation the RDPROTECT/WRPROTECT must be set
    correctly if the target has DIF enabled.

    - READ(6) and WRITE(6) are not supported when DIF is on.

    - The controller must be told how to handle the I/O via the
    protection operation field in scsi_cmnd.

    - Refactor the I/O completion code that extracts failed LBA from the
    returned sense data and handle DIF failures correctly.

    - sd_dif.c implements the functions required to prepare and complete
    requests with protection information attached.

    Signed-off-by: Martin K. Petersen
    Signed-off-by: James Bottomley

    Martin K. Petersen
     

12 Jul, 2008

1 commit


05 Jun, 2008

1 commit

  • Some of the storage devices (that can be accessed through multiple paths),
    do need some special handling for
    1. Activating the passive path of the storage access.
    2. Decode and handle the special sense codes returned by the devices.
    3. Handle the I/Os being sent to the passive path, especially
    during the device probe time.
    when accessed through multiple paths.

    As of today this special device handling is done at the dm-multipath
    layer using dm-handlers. That works well for (1); for (2) to be handled
    at dm layer, scsi sense information need to be exported from SCSI to dm-layer,
    which is not very attractive; (3) cannot be done at all at the dm layer.

    Device handler has been moved to SCSI mainly to handle (2) and (3) properly.

    Signed-off-by: Chandra Seetharaman
    Signed-off-by: Mike Anderson
    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Chandra Seetharaman
     

28 Apr, 2008

1 commit

  • Replace the mac_esp driver with a new one based on the esp_scsi core.

    For esp_scsi: add support for sync transfers for the PIO mode, add a new
    esp_driver_ops method to get the maximum dma transfer size (like the old
    NCR53C9x driver), and some cleanups.

    Signed-off-by: Finn Thain
    Acked-by: David S. Miller
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: James Bottomley

    Finn Thain
     

23 Feb, 2008

1 commit


08 Feb, 2008

5 commits

  • This adds support to SCSI for enclosure services devices. It also makes
    use of the enclosure services added in an earlier patch to display the
    enclosure topology in sysfs.

    At the moment, the enclosures are SAS specific, but if anyone actually
    has a non-SAS enclosure that follows the SES-2 standard, we can add that
    as well.

    On my Vitesse based system, the enclosures show up like this:

    sparkweed:~# ls -l /sys/class/enclosure/0\:0\:1\:0/
    total 0
    -r--r--r-- 1 root root 4096 2008-02-03 15:44 components
    lrwxrwxrwx 1 root root 0 2008-02-03 15:44 device -> ../../../devices/pci0000:01/0000:01:02.0/host0/port-0:0/expander-0:0/port-0:0:12/end_device-0:0:12/target0:0:1/0:0:1:0
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 000
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 001
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 002
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 003
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 004
    drwxr-xr-x 2 root root 0 2008-02-03 15:44 SLOT 005
    lrwxrwxrwx 1 root root 0 2008-02-03 15:44 subsystem -> ../../enclosure
    --w------- 1 root root 4096 2008-02-03 15:44 uevent

    And the individual occupied slots like this:

    sparkweed:~# ls -l /sys/class/enclosure/0\:0\:1\:0/SLOT\ 001/
    total 0
    -rw-r--r-- 1 root root 4096 2008-02-03 15:45 active
    lrwxrwxrwx 1 root root 0 2008-02-03 15:45 device -> ../../../../devices/pci0000:01/0000:01:02.0/host0/port-0:0/expander-0:0/port-0:0:11/end_device-0:0:11/target0:0:0/0:0:0:0
    -rw-r--r-- 1 root root 4096 2008-02-03 15:45 fault
    -rw-r--r-- 1 root root 4096 2008-02-03 15:45 locate
    -rw-r--r-- 1 root root 4096 2008-02-03 15:45 status
    lrwxrwxrwx 1 root root 0 2008-02-03 15:45 subsystem -> ../../../enclosure_component
    -r--r--r-- 1 root root 4096 2008-02-03 15:45 type
    --w------- 1 root root 4096 2008-02-03 15:45 uevent

    You can flash the various blinky lights by echoing to the fault and locate files.

    >From the device's point of view, you can see it has an enclosure like this:

    sparkweed:~# ls /sys/class/scsi_disk/0\:0\:0\:0/device/
    block:sda generic queue_depth state
    bsg:0:0:0:0 iocounterbits queue_type subsystem
    bus iodone_cnt rescan timeout
    delete ioerr_cnt rev type
    device_blocked iorequest_cnt scsi_device:0:0:0:0 uevent
    driver modalias scsi_disk:0:0:0:0 vendor
    enclosure_component:SLOT 001 model scsi_generic:sg0
    evt_media_change power scsi_level

    Note the enclosure_component:SLOT 001 which shows where in the enclosure
    this device fits.

    The astute will notice that I'm using SCSI VPD Inquiries to identify the
    devices. This, unfortunately, won't work for SATA devices unless we do
    some really nasty hacking about on the SAT because the only think that
    knows the SAS addresses for SATA devices is libsas, not libata where the
    SAT resides.

    Signed-off-by: James Bottomley

    James Bottomley
     
  • These drivers depend on the deprecated NCR53C9X core and need to be converted
    to the esp_scsi core.

    Acked-by: Boaz Harrosh
    Cc: Linux/m68k
    Signed-off-by: James Bottomley

    James Bottomley
     
  • This driver depends on the deprecated NCR53C9X core and needs to be converted
    to the esp_scsi core.

    Acked-by: Boaz Harrosh
    Cc: "Maciej W. Rozycki"
    Signed-off-by: James Bottomley

    James Bottomley
     
  • This driver depends on the deprecated NCR53C9X core and needs to be converted
    to the esp_scsi core.

    Acked-by: Boaz Harrosh
    Signed-off-by: James Bottomley

    James Bottomley
     
  • Converted sun3x_esp driver to use esp_scsi.c

    Signed-off-by: Thomas Bogendoerfer
    Signed-off-by: James Bottomley

    Thomas Bogendoerfer
     

12 Jan, 2008

3 commits

  • subdir-y|m isn't supposed to contain modules or built-in components.
    Change subdir-$(CONFIG_PCMCIA) to obj-$(CONFIG_PCMCIA).

    Signed-off-by: Tejun Heo
    Acked-by: Sam Ravnborg
    Signed-off-by: James Bottomley

    Tejun Heo
     
  • - Apparently no one wonts this driver, and no one
    is willing to fix it for future changes to SCSI.
    So remove it, and if someone wants it in the future
    He can revive it with the needed fixes.

    Signed-off-by: Boaz Harrosh
    Signed-off-by: James Bottomley

    Boaz Harrosh
     
  • The psi240i driver is still written for cmnd->request_buffer
    as a char pointer to actual data. There was never any attempt
    to use the scatterlist option.

    - remove all source files (3) from drivers/scsi
    - Remove from Makefile and Kconfig

    Signed-off-by: Boaz Harrosh
    Signed-off-by: James Bottomley

    Boaz Harrosh
     

18 Oct, 2007

1 commit

  • This code has been slowly rotting for about eight years. It's currently
    impeding a few SCSI cleanups, and nobody seems to have hardware to test
    it any more. I talked to Dave Miller about it, and he agrees we can
    delete it. If anyone wants a software FC stack in future, they can
    retrieve this driver from git.

    Signed-off-by: Matthew Wilcox
    Acked-by: David S. Miller
    Signed-off-by: James Bottomley

    Matthew Wilcox
     

13 Oct, 2007

1 commit

  • This adds srp transport class that works with ib_srp and ibmvscsi.

    It creates only /sys/class/{srp_host,srp_remote_ports} and
    srp_remote_ports has only "port_id" attribute.

    viola:/sys/class/srp_remote_ports/port-0:1# ls
    device port_id subsystem uevent
    viola:/sys/class/srp_remote_ports/port-0:1# cat port_id
    4c:49:4e:55:58:20:56:49:4f:00:00:00:00:00:00:00

    Signed-off-by: FUJITA Tomonori
    Signed-off-by: James Bottomley

    FUJITA Tomonori
     

22 Jul, 2007

1 commit

  • Add a BD/DVD/CD-ROM Storage Driver for the PS3:
    - Implemented as a SCSI device driver
    - Uses software scatter-gather with a 64 KiB bounce buffer as the hypervisor
    doesn't support scatter-gather

    Cc: Geoff Levand
    Signed-off-by: Geert Uytterhoeven
    Cc: Jens Axboe
    Cc: James Bottomley
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     

15 Jul, 2007

2 commits

  • With

    dma-mapping-prevent-dma-dependent-code-from-linking-on.patch

    scsi fails to build on !HAS_DMA architectures:

    drivers/built-in.o(.text+0x20af6): In function `scsi_dma_map':
    : undefined reference to `dma_map_sg'
    drivers/built-in.o(.text+0x20b5c): In function `scsi_dma_unmap':
    : undefined reference to `dma_unmap_sg'

    I split those functions out into a new file. Builds on s390 and i386.

    Move scsi_dma_{map,unmap} into scsi_lib_dma.c which is only build if
    HAS_DMA is set.

    Signed-off-by: Cornelia Huck
    Cc: Martin Schwidefsky
    Cc: Heiko Carstens
    Cc: James Bottomley
    Cc: Jeff Garzik
    Cc: Christoph Hellwig
    Cc: Dan Williams
    Signed-off-by: Andrew Morton
    Signed-off-by: James Bottomley

    Cornelia Huck
     
  • CONFIG_SCSI_FD_8xx no longer exists.

    Apparently it was renamed to CONFIG_SCSI_SEAGATE, but the Makefile was
    not correctly updated.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: James Bottomley

    Geert Uytterhoeven
     

18 Jun, 2007

1 commit