07 Jan, 2016

1 commit


20 Jun, 2014

1 commit

  • The direct cause is IRQ_SPI is already defined as a macro in unicore32
    architecture (also, blackfin and mips architectures define it). The
    related error (unicore32 with allmodconfig)

    CC [M] drivers/scsi/mvsas/mv_94xx.o
    In file included from drivers/scsi/mvsas/mv_94xx.c:27:
    drivers/scsi/mvsas/mv_94xx.h:176: error: expected identifier before numeric constant

    And IRQ_SAS_A and IRQ_SAS_B are used as 'u32' (although "enum
    pci_interrupt_cause" is not used directly, now).

    All together, need add 'MVS_' for "enum pci_interrupt_cause".

    Signed-off-by: Chen Gang
    Reviewed-by: Christoph Hellwig
    Reviewed-by: Xuetao Guan
    Signed-off-by: Xuetao Guan

    Chen Gang
     

30 Nov, 2012

1 commit

  • The macro bit(n) is defined as ((u32)1 << n), and thus it doesn't work
    with n >= 32, such as in mvs_94xx_assign_reg_set():

    if (i >= 32) {
    mvi->sata_reg_set |= bit(i);
    ...
    }

    The shift ((u32)1 << n) with n >= 32 also leads to undefined behavior.
    The result varies depending on the architecture.

    This patch changes bit(n) to do a 64-bit shift. It also simplifies
    mv_ffc64() using __ffs64(), since invoking ffz() with ~0 is undefined.

    Signed-off-by: Xi Wang
    Acked-by: Xiangliang Yu
    Cc: stable@vger.kernel.org
    Signed-off-by: James Bottomley

    Xi Wang
     

26 Jul, 2011

5 commits


02 May, 2011

1 commit


21 May, 2009

1 commit

  • This version contains following main changes
    - Switch to new layout to support more types of ASIC.
    - SSP TMF supported and related Error Handing enhanced.
    - Support flash feature with delay 2*HZ when PHY changed.
    - Support Marvell 94xx series ASIC for 6G SAS/SATA, which has 2
    88SE64xx chips but any different register description.
    - Support SPI flash for HBA-related configuration info.
    - Other patch enhanced from kernel side such as increasing PHY type

    [jejb: fold back in DMA_BIT_MASK changes]
    Signed-off-by: Ying Chu
    Signed-off-by: Andy Yan
    Signed-off-by: Ke Wei
    Signed-off-by: Jeff Garzik
    Signed-off-by: James Bottomley

    Andy Yan