16 Jul, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (102 commits)
    [SCSI] scsi_dh: fix kconfig related build errors
    [SCSI] sym53c8xx: Fix bogus sym_que_entry re-implementation of container_of
    [SCSI] scsi_cmnd.h: remove double inclusion of linux/blkdev.h
    [SCSI] make struct scsi_{host,target}_type static
    [SCSI] fix locking in host use of blk_plug_device()
    [SCSI] zfcp: Cleanup external header file
    [SCSI] zfcp: Cleanup code in zfcp_erp.c
    [SCSI] zfcp: zfcp_fsf cleanup.
    [SCSI] zfcp: consolidate sysfs things into one file.
    [SCSI] zfcp: Cleanup of code in zfcp_aux.c
    [SCSI] zfcp: Cleanup of code in zfcp_scsi.c
    [SCSI] zfcp: Move status accessors from zfcp to SCSI include file.
    [SCSI] zfcp: Small QDIO cleanups
    [SCSI] zfcp: Adapter reopen for large number of unsolicited status
    [SCSI] zfcp: Fix error checking for ELS ADISC requests
    [SCSI] zfcp: wait until adapter is finished with ERP during auto-port
    [SCSI] ibmvfc: IBM Power Virtual Fibre Channel Adapter Client Driver
    [SCSI] sg: Add target reset support
    [SCSI] lib: Add support for the T10 (SCSI) Data Integrity Field CRC
    [SCSI] sd: Move scsi_disk() accessor function to sd.h
    ...

    Linus Torvalds
     

12 Jul, 2008

1 commit

  • The features enable bit has to be set in the config2 register
    before we can be absolutely sure we will probe a correct
    part unique ID and family code from the transfer-count-high
    register.

    Also, reload the CFACT, STP, SOFF, and TIMEO near the end of
    esp_reset_esp().

    From a patch by Maciej W. Rozycki.

    Signed-off-by: David S. Miller
    Signed-off-by: James Bottomley

    David S. Miller
     

26 Jun, 2008

1 commit

  • The esp driver currently does hand rolled reference counting of its
    target. It's much easier to do what it needs to do if it's plugged into
    the mid-layer callbacks (target_alloc and target_destroy) which were
    designed for this case, so do it this way and get rid of the internal
    target reference count.

    Acked-by: David S. Miller
    Cc: Stable Tree
    Signed-off-by: James Bottomley

    James Bottomley
     

25 Jun, 2008

1 commit

  • OOPS reported by Friedrich Oslage

    The problem here is that tp->starget is set every time a lun
    is allocated for a particular target so we can catch the
    sdev_target parent value.

    The reset handler uses the NULL'ness of this value to determine
    which targets are active.

    But esp_slave_destroy() does not NULL out this value when appropriate.

    So for every target that doesn't respond, the SCSI bus scan causes
    a stale pointer to be left here, with ensuing crashes like you're
    seeing.

    Signed-off-by: David S. Miller
    Cc: Stable Tree
    Signed-off-by: James Bottomley

    David S. Miller
     

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
     

11 Dec, 2007

1 commit

  • The esp_reset_cleanup() function is called with the host lock held and
    invokes starget_for_each_device() which wants to take it too. Here is a
    fix along the lines of shost_for_each_device()/__shost_for_each_device()
    adding a __starget_for_each_device() counterpart which assumes the lock
    has already been taken.

    Eventually, I think the driver should get modified so that more work is
    done as a softirq rather than in the interrupt context, but for now it
    fixes a bug that causes the spinlock debugger to fire.

    While at it, it fixes a small number of cosmetic problems with
    starget_for_each_device() too.

    Signed-off-by: Maciej W. Rozycki
    Acked-by: David S. Miller
    Cc: James Bottomley
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Maciej W. Rozycki
     

15 Oct, 2007

1 commit

  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (207 commits)
    [SCSI] gdth: fix CONFIG_ISA build failure
    [SCSI] esp_scsi: remove __dev{init,exit}
    [SCSI] gdth: !use_sg cleanup and use of scsi accessors
    [SCSI] gdth: Move members from SCp to gdth_cmndinfo, stage 2
    [SCSI] gdth: Setup proper per-command private data
    [SCSI] gdth: Remove gdth_ctr_tab[]
    [SCSI] gdth: switch to modern scsi host registration
    [SCSI] gdth: gdth_interrupt() gdth_get_status() & gdth_wait() fixes
    [SCSI] gdth: clean up host private data
    [SCSI] gdth: Remove virt hosts
    [SCSI] gdth: Reorder scsi_host_template intitializers
    [SCSI] gdth: kill gdth_{read,write}[bwl] wrappers
    [SCSI] gdth: Remove 2.4.x support, in-kernel changelog
    [SCSI] gdth: split out pci probing
    [SCSI] gdth: split out eisa probing
    [SCSI] gdth: split out isa probing
    gdth: Make one abuse of scsi_cmnd less obvious
    [SCSI] NCR5380: Use scsi_eh API for REQUEST_SENSE invocation
    [SCSI] usb storage: use scsi_eh API in REQUEST_SENSE execution
    [SCSI] scsi_error: Refactoring scsi_error to facilitate in synchronous REQUEST_SENSE
    ...

    Linus Torvalds
     

13 Oct, 2007

1 commit

  • Since scsi_esp_{,un}register() are EXPORT_SYMBOL'ed, these functions
    (and the functions they use) can't be __dev{init,exit}.

    Based on a bug report by Rob Landley.

    Signed-off-by: Adrian Bunk
    Acked-by: David S. Miller
    Signed-off-by: James Bottomley

    Adrian Bunk
     

26 Sep, 2007

1 commit


16 Jul, 2007

1 commit

  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (166 commits)
    [SCSI] ibmvscsi: convert to use the data buffer accessors
    [SCSI] dc395x: convert to use the data buffer accessors
    [SCSI] ncr53c8xx: convert to use the data buffer accessors
    [SCSI] sym53c8xx: convert to use the data buffer accessors
    [SCSI] ppa: coding police and printk levels
    [SCSI] aic7xxx_old: remove redundant GFP_ATOMIC from kmalloc
    [SCSI] i2o: remove redundant GFP_ATOMIC from kmalloc from device.c
    [SCSI] remove the dead CYBERSTORMIII_SCSI option
    [SCSI] don't build scsi_dma_{map,unmap} for !HAS_DMA
    [SCSI] Clean up scsi_add_lun a bit
    [SCSI] 53c700: Remove printk, which triggers because of low scsi clock on SNI RMs
    [SCSI] sni_53c710: Cleanup
    [SCSI] qla4xxx: Fix underrun/overrun conditions
    [SCSI] megaraid_mbox: use mutex instead of semaphore
    [SCSI] aacraid: add 51245, 51645 and 52245 adapters to documentation.
    [SCSI] qla2xxx: update version to 8.02.00-k1.
    [SCSI] qla2xxx: add support for NPIV
    [SCSI] stex: use resid for xfer len information
    [SCSI] Add Brownie 1200U3P to blacklist
    [SCSI] scsi.c: convert to use the data buffer accessors
    ...

    Linus Torvalds
     

18 Jun, 2007

1 commit


14 Jun, 2007

1 commit


01 Jun, 2007

1 commit


08 May, 2007

1 commit


28 Apr, 2007

1 commit


27 Apr, 2007

1 commit

  • Major features:

    1) Tagged queuing support.
    2) Will properly negotiate for synchronous transfers even on
    devices that reject the wide negotiation message, such as
    CDROMs
    3) Significantly lower kernel stack usage in interrupt
    handler path by elimination of function vector arrays,
    replaced by a top-level switch statement state machine.
    4) Uses generic scsi infrastructure as much as possible to
    avoid code duplication.
    5) Automatic request of sense data in response to CHECK_CONDITION
    6) Portable to other platforms using ESP such as DEC and Sun3
    systems.

    Signed-off-by: David S. Miller

    David S. Miller