31 Mar, 2011

1 commit


03 Sep, 2010

1 commit


04 Dec, 2009

1 commit

  • That is "success", "unknown", "through", "performance", "[re|un]mapping"
    , "access", "default", "reasonable", "[con]currently", "temperature"
    , "channel", "[un]used", "application", "example","hierarchy", "therefore"
    , "[over|under]flow", "contiguous", "threshold", "enough" and others.

    Signed-off-by: André Goddard Rosa
    Signed-off-by: Jiri Kosina

    André Goddard Rosa
     

22 Jun, 2009

1 commit


21 May, 2009

2 commits

  • Make the sym53c8xx_2 driver slave_alloc/destroy less unsafe. References
    to the destroyed LCB are cleared from the target structure (instead of
    leaving a dangling pointer), and when the last LCB for the target is
    destroyed the reference to the upper layer target data is cleared. The
    host lock is used to prevent a race with the interrupt handler. Also
    user commands are prevented for targets with all LCBs destroyed.

    Signed-off-by: Aaro Koskinen
    Tested-by: Tony Battersby
    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Aaro Koskinen
     
  • (Resent with proper formatting)

    Fix for the sym53c8xx_2 driver to initialize lun's to_clear flag after
    a bus reset (a failed clear can trigger a bus reset and it should not
    be attemped again after that).

    Signed-off-by: Aaro Koskinen
    Tested-by: Tony Battersby
    Signed-off-by: Mike Christie
    Signed-off-by: James Bottomley

    Aaro Koskinen
     

03 Apr, 2009

1 commit


13 Mar, 2009

2 commits

  • sym53c8xx prints a negotiation message after every check condition.
    This can add up to a lot of messages for removable-medium devices
    (CD-ROM, tape drives, etc.) that are being polled, since they return
    check condition when no medium is present. This patch suppresses the
    negotiation message if it would be the same as the last one printed.

    Signed-off-by: Tony Battersby
    Signed-off-by: James Bottomley

    Tony Battersby
     
  • (The patch updated based on testing and comments from Tony Battersby.)

    Change the sym53c8xx_2 driver negotiation logic so that the driver will
    tolerate better device removals. Negotiation message(s) will be sent
    with every INQUIRY and REQUEST SENSE command, and whenever there is a
    change in goals or when the device reports check condition.

    The patch was made specifically to address the case where you hotswap
    the disk using remove-single-device/add-single-device commands through
    /proc/scsi/scsi. Without the patch the driver keeps using old transfer
    parameters even though the target is reset and reports check condition,
    so the data transfer of the very first INQUIRY will fail.

    Signed-off-by: Aaro Koskinen
    Tested-by: Tony Battersby
    Signed-off-by: James Bottomley

    Aaro Koskinen
     

27 Jul, 2008

1 commit

  • This patch frees the luntbl dma area in sym_hcb_free if allocated.
    Since the luntbl is part of a larger dma coherent area not freeing the
    luntbl kept a 64k dma coherent area previous allocated through
    dma_alloc_coherent allocated. This prevented a DLPAR remove IO
    operation from completing successfully.

    Signed-off-by: Mike Anderson
    Cc: Matthew Wilcox
    Signed-off-by: James Bottomley

    Mike Anderson
     

29 Apr, 2008

1 commit

  • drivers/scsi/aic7xxx/aic7770_osm.c:53:58: warning: Using plain integer as NULL pointer
    drivers/scsi/aic7xxx/aic7xxx_osm_pci.c:355:47: warning: Using plain integer as NULL pointer
    drivers/scsi/aic7xxx/aic7xxx_osm_pci.c:372:55: warning: Using plain integer as NULL pointer
    drivers/scsi/aha152x.c:997:28: warning: Using plain integer as NULL pointer
    drivers/scsi/aha152x.c:1003:28: warning: Using plain integer as NULL pointer
    drivers/scsi/aha152x.c:1165:46: warning: Using plain integer as NULL pointer
    drivers/scsi/fdomain.c:1446:40: warning: Using plain integer as NULL pointer
    drivers/scsi/sym53c8xx_2/sym_hipd.c:1650:51: warning: Using plain integer as NULL pointer
    drivers/scsi/sym53c8xx_2/sym_hipd.c:3171:42: warning: Using plain integer as NULL pointer
    drivers/scsi/sym53c8xx_2/sym_hipd.c:5732:52: warning: Using plain integer as NULL pointer
    drivers/scsi/ncr53c8xx.c:8189:31: warning: Using plain integer as NULL pointer
    drivers/scsi/ncr53c8xx.c:8225:34: warning: Using plain integer as NULL pointer
    drivers/scsi/dpt_i2o.c:156:32: warning: Using plain integer as NULL pointer
    drivers/scsi/ultrastor.c:954:42: warning: Using plain integer as NULL pointer
    drivers/scsi/ultrastor.c:1104:18: warning: Using plain integer as NULL pointer

    Signed-off-by: Harvey Harrison
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     

08 Feb, 2008

1 commit

  • This patch fixes the calculation of the data transfer residual for the
    case of a command that is supposed to transfer an odd number of bytes on
    a wide bus but transfers nothing instead.

    Signed-off-by: Tony Battersby
    Cc: Matthew Wilcox
    Signed-off-by: James Bottomley

    Tony Battersby
     

19 Dec, 2007

1 commit

  • The patch described by the following excerpt from ChangeLog-2.6.24-rc1
    eventually causes a "irq X: nobody cared" error after a while:

    commit 99c9e0a1d6cfe1ba1169a7a81435ee85bc00e4a1
    Author: Matthew Wilcox
    Date: Fri Oct 5 15:55:12 2007 -0400

    [SCSI] sym53c8xx: Make interrupt handler capable of returning IRQ_NONE

    After this happens, the kernel disables the IRQ, causing the SCSI card
    to stop working until the next reboot. The problem is caused by the
    interrupt handler returning IRQ_NONE instead of IRQ_HANDLED after
    handling an interrupt-on-the-fly (INTF) condition. The following patch
    fixes the problem.

    Signed-off-by: Tony Battersby
    Acked-by: Matthew Wilcox
    Signed-off-by: James Bottomley

    Tony Battersby
     

24 Oct, 2007

9 commits


14 Dec, 2006

1 commit

  • All kcalloc() calls of the form "kcalloc(1,...)" are converted to the
    equivalent kzalloc() calls, and a few kcalloc() calls with the incorrect
    ordering of the first two arguments are fixed.

    Signed-off-by: Robert P. J. Day
    Cc: Jeff Garzik
    Cc: Alan Cox
    Cc: Dominik Brodowski
    Cc: Adam Belay
    Cc: James Bottomley
    Cc: Greg KH
    Cc: Mark Fasheh
    Cc: Trond Myklebust
    Cc: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robert P. J. Day
     

10 Jun, 2006

1 commit


13 Apr, 2006

5 commits


15 Mar, 2006

1 commit


28 Feb, 2006

2 commits


13 Feb, 2006

1 commit

  • pm->sg.size is set from the Residual Byte Count register. However,
    the upper byte of the RBC is the opcode of the instruction that was
    executing, so we need to mask it off. This fixes some spurious rejects
    of IGNORE WIDE RESIDUE messages.

    Signed-off-by: Matthew Wilcox
    Signed-off-by: James Bottomley

    Matthew Wilcox
     

16 Dec, 2005

2 commits


14 Dec, 2005

5 commits