lkml.org 
[lkml]   [2007]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 03 of 33] IB/ipath - definitions of two of RXE parity error bits were reversed
    Date
    From
    # HG changeset patch
    # User Bryan O'Sullivan <bos@pathscale.com>
    # Date 1173994464 25200
    # Node ID e2eec96f356a7269b46a68f29fc5e711d2f5a7a4
    # Parent 3337d450afeebc553a09fe5c18ed0b2444547c24
    IB/ipath - definitions of two of RXE parity error bits were reversed

    The chip documentation on the expected TID vs eager TID parity error
    bits was reversed from what was implemented in the RTL, for both chips.
    This corrects the definitions.

    Signed-off-by: Dave Olson <dave.olson@qlogic.com>
    Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>

    diff -r 3337d450afee -r e2eec96f356a drivers/infiniband/hw/ipath/ipath_registers.h
    --- a/drivers/infiniband/hw/ipath/ipath_registers.h Thu Mar 15 14:34:24 2007 -0700
    +++ b/drivers/infiniband/hw/ipath/ipath_registers.h Thu Mar 15 14:34:24 2007 -0700
    @@ -128,7 +128,7 @@

    /* kr_hwerrclear, kr_hwerrmask, kr_hwerrstatus, bits */
    /* TXEMEMPARITYERR bit 0: PIObuf, 1: PIOpbc, 2: launchfifo
    - * RXEMEMPARITYERR bit 0: rcvbuf, 1: lookupq, 2: eagerTID, 3: expTID
    + * RXEMEMPARITYERR bit 0: rcvbuf, 1: lookupq, 2: expTID, 3: eagerTID
    * bit 4: flag buffer, 5: datainfo, 6: header info */
    #define INFINIPATH_HWE_TXEMEMPARITYERR_MASK 0xFULL
    #define INFINIPATH_HWE_TXEMEMPARITYERR_SHIFT 40
    @@ -143,8 +143,8 @@
    /* rxe mem parity errors (shift by INFINIPATH_HWE_RXEMEMPARITYERR_SHIFT) */
    #define INFINIPATH_HWE_RXEMEMPARITYERR_RCVBUF 0x01ULL
    #define INFINIPATH_HWE_RXEMEMPARITYERR_LOOKUPQ 0x02ULL
    -#define INFINIPATH_HWE_RXEMEMPARITYERR_EAGERTID 0x04ULL
    -#define INFINIPATH_HWE_RXEMEMPARITYERR_EXPTID 0x08ULL
    +#define INFINIPATH_HWE_RXEMEMPARITYERR_EXPTID 0x04ULL
    +#define INFINIPATH_HWE_RXEMEMPARITYERR_EAGERTID 0x08ULL
    #define INFINIPATH_HWE_RXEMEMPARITYERR_FLAGBUF 0x10ULL
    #define INFINIPATH_HWE_RXEMEMPARITYERR_DATAINFO 0x20ULL
    #define INFINIPATH_HWE_RXEMEMPARITYERR_HDRINFO 0x40ULL
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-03-15 23:29    [W:3.230 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site