15 Jul, 2007

7 commits

  • - The saved sg_count was a leftover from the time the driver was doing
    dma mapping by himself. But now that scsi-ml is called for the mapping
    it is not the drivers responsibility.

    Signed-off-by: Boaz Harrosh
    Acked-by: G. Liakhovetski
    Signed-off-by: James Bottomley

    Boaz Harrosh
     
  • 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
     
  • Sweep registered blkdev when scsi_register_driver has failed.

    Cc: Jens Axboe
    Signed-off-by: Akinobu Mita
    Signed-off-by: James Bottomley

    Akinobu Mita
     
  • drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_create_port':
    drivers/scsi/lpfc/lpfc_init.c:1573: error: 'struct kobject' has no member named 'dentry'

    Just remove the if check on this ... lpfc shouldn't be poking around
    in kobject structures.

    drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_pci_probe_one':
    drivers/scsi/lpfc/lpfc_init.c:1723: warning: unused variable 'retval'

    And remove the unused variable.

    Cc: James Smart
    Signed-off-by: James Bottomley

    James Bottomley
     
  • This patch uses dma_map_sg with phba->pcidev->dev instead of
    scsi_dma_map.

    scsi_dma_map doesn't work for NPIV since fc_vport->dev isn't fully
    initialized. check_addr() in arch/x86_64/kernel/pci-nommu.c leads to
    the crash since dev->dma_mask is NULL.

    For more details:

    http://marc.info/?l=linux-scsi&m=118312448030633&w=2

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

    FUJITA Tomonori
     
  • This is an addendum to:

    commit a0b4f78f9a4c869e9b29f254054ad7441cb40bbf
    Author: FUJITA Tomonori
    [SCSI] lpfc: convert to use the data buffer accessors

    One place was missed in the merge

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

    Boaz Harrosh
     
  • Removes an obsolete method scsi_device_cancel which isn't being used
    anywhere in the kernel.

    Signed-off-by: Priyanka Gupta
    Acked-by: Grant Grundler
    Signed-off-by: James Bottomley

    Priyanka Gupta
     

26 Jun, 2007

1 commit


20 Jun, 2007

7 commits


19 Jun, 2007

1 commit


18 Jun, 2007

24 commits

  • This patch updates the driver version to 8.2.1

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     
  • This patch is a reworked version of the data buffer accessors patch
    so that it applies on the NPIV sources.

    The original patch was developed and submitted by Fujita Tomonori:
    FUJITA Tomonori
    http://marc.info/?l=linux-scsi&m=117896446832171&w=2

    - remove the unnecessary map_single path.

    - convert to use the new accessors for the sg lists and the
    parameters.

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

    FUJITA Tomonori
     
  • Following the NPIV support, the following changes have been accumulated
    in the testing and qualification of the driver:

    - Fix affinity of ELS ring to slow/deferred event processing
    - Fix Ring attention masks
    - Defer dev_loss_tmo timeout handling to worker thread
    - Consolidate link down error classification for better error checking
    - Remove unused/deprecated nlp_initiator_tmr timer
    - Fix for async scan - move adapter init code back into pci_probe_one
    context. Fix async scan interfaces.
    - Expand validation of ability to create vports
    - Extract VPI resource cnt from firmware
    - Tuning of Login/Reject policies to better deal with overwhelmned targets
    - Misc ELS and discovery fixes
    - Export the npiv_enable attribute to sysfs
    - Mailbox handling fix
    - Add debugfs support
    - A few other small misc fixes:
    - wrong return values, double-frees, bad locking
    - Added adapter failure heartbeat

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     
  • NPIV support is added to the driver. It utilizes the interfaces of
    the fc transport for the creation and deletion of vports. Within the
    driver, a new Scsi_Host is created for each NPIV instance, and is
    paired with a new instance of a FC port. This allows N FC Port
    elements to share a single Adapter.

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     
  • NPIV support is only available via new adapter interface extensions,
    termed SLI-3. This interface changes some of the basic behaviors such
    as command and response ring element sizes and data structures, as
    well as a change in buffer posting. Note: the new firmware extensions
    are found only on our mid-range and enterprise 4Gig adapters - so NPIV
    support is available only on these newer adapters. The latest firmware
    can be downloaded from the Emulex support page.

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     
  • The driver is reorganized to separate the handling of the adapter from
    the handling of the FC port. Adapter handling includes submissions of
    command requests, receiving responses, and managing adapter resources.
    The FC port includes the discovery engine, login handling, and the
    mapping of a Scsi_Host on the "port". Although not a large functional
    change, as it touches core structures and functions, resulting in a
    large text delta.

    Signed-off-by: James Smart
    Signed-off-by: James Bottomley

    James Smart
     
  • - convert to use the new accessors for the sg lists and the
    parameters.

    Signed-off-by: FUJITA Tomonori
    Cc: David Miller
    Signed-off-by: James Bottomley

    FUJITA Tomonori
     
  • - remove the unnecessary map_single path.

    - convert to use the new accessors for the sg lists and the
    parameters.

    Jens Axboe did the for_each_sg cleanup.

    Signed-off-by: FUJITA Tomonori
    Acked-by: HighPoint Linux Team
    Signed-off-by: James Bottomley

    FUJITA Tomonori
     
  • New driver for Amiga Zorro bus NCR53c710 SCSI controllers, using the 53c700
    SCSI core.

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

    Kars de Jong
     
  • New driver for the Amiga 4000T built-in NCR53c710 SCSI controller, using the
    53c700 SCSI core.

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

    Kars de Jong
     
  • New driver for the MVME16x NCR53C710 SCSI controller, using the 53c700 SCSI
    core.

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

    Kars de Jong
     
  • New driver for the BVME6000 NCR53C710 SCSI controller, using the 53c700 SCSI
    core.

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

    Kars de Jong
     
  • Add m68k support to the 53c700 SCSI driver

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

    Kars de Jong
     
  • If there is IO going to the volume while a hidden disk is being torn down,
    there is a case where we would return a DID_NO_CONNECT for IO sent to the
    volume. The end result is the volume goes read-only. This problem is due to the
    fact the firmware mapped target ids saved in per device object is phys_disk_num
    for hidden raid components, and target_id for the volume. There is a single
    case when both phys_disk_num and target_id are equal, so enters this issue. We
    fix this issue by checking the tflags when the device is torned down,
    insuring the IO being completed is meant for hidden raid component, not the
    volume. In addition to this fix, there are a couple other cases to address
    hidden raid components. For instance task_abort and device reset are not
    supported by mpt fw for hidden raid components, a bus reset would be required
    or target reset to volume.

    Signed-off-by: Eric Moore
    Signed-off-by: James Bottomley

    Eric Moore
     
  • nice cosmetic cleaning of eh thread callback funtions

    Signed-off-by: Eric Moore
    Signed-off-by: James Bottomley

    Eric Moore
     
  • I was investigating strange driver behaviour and thought that readable
    code and proper visible types might help explain why it didn't work right
    the moment a second SCB was outstanding to the controller. I was right

    - Cleanup, linuxise, demacro
    - Remove the BSD dual licence on the new work
    - Switch the if ALPHA to if __LP64__. (struct size is then right
    elsewhere) and then to CONFIG_64BIT as per Christoph's request
    - Fix the recursive locking on a reset. This is the only actual real code
    change (I hope ;)).

    I'm not clear what the right way to handle the BIOS param stuff is on n
    on x86-32/64. Using phys_to_virt and stuff is ugly and probably doesn't
    make sense elsewhere

    Still has a couple of odd things - and there seems to be a commonly shared
    EEPROM handling error several drivers have. Roughly speaking several SCSI
    drivers go

    try and read EEPROM
    It failed..
    Write any changes between the default and the data we read

    Which is great as for some paths we've no idea what was in
    before, so each boot won't write it all back, won't checksum but will
    repeat the bug

    Also it can still sleep for a second with IRQ off, and there is some
    dubious looking error path locking marked FIXME in case anyone feels
    inspired to work on it. Not a newly introduced bug, and at least its now
    marked.

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

    Alan Cox
     
  • When a target scan is initiated from sysfs, we should check the
    portstate prior to invoke scsi_scan_target().
    Otherwise scsi_scan_target() might oops as the rport might already
    been removed from the scsi host and the traversal from the rport to
    the scsi_host in scsi_scan_target() will fail.
    Also the portstate already told us that communication with the target
    has failed, so it's quite pointless to try.

    Signed-off-by: Hannes Reinecke
    Cc: James Smart
    Signed-off-by: James Bottomley

    Hannes Reinecke
     
  • - remove the unnecessary map_single path.

    - convert to use the new accessors for the sg lists and the
    parameters.

    TODO: use scsi_for_each_sg().

    Signed-off-by: FUJITA Tomonori
    Acked-by: Mike Christie
    Signed-off-by: James Bottomley

    FUJITA Tomonori
     
  • bump version

    Signed-off-by: Eric Moore
    Signed-off-by: James Bottomley

    Eric Moore
     
  • rewrite of mpt_fc_log_info to use the enum/defines from mpi_log_fc.h

    Signed-off-by: Eric Moore
    Signed-off-by: James Bottomley

    Eric Moore
     
  • remove unused header

    Signed-off-by: Eric Moore
    Signed-off-by: James Bottomley

    Eric Moore
     
  • fc inband managment header deleted

    Signed-off-by: Eric Moore
    Signed-off-by: James Bottomley

    Eric Moore
     
  • mpi header update

    Signed-off-by: Eric Moore
    Signed-off-by: James Bottomley

    Eric Moore
     
  • Update assocated fusion sources with new support email address.

    Signed-off-by: Eric Moore
    Signed-off-by: James Bottomley

    Eric Moore