staging/hfi1: Clean up comments
authorEdward Mascarenhas <edward.mascarenhas@intel.com>
Mon, 11 Jan 2016 23:31:43 +0000 (18:31 -0500)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:03 +0000 (20:37 -0500)
Clean up comments by deleting numbering and terms internal to Intel.

The information on the actual bugs is not deleted.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Edward Mascarenhas <edward.mascarenhas@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/driver.c
drivers/staging/rdma/hfi1/hfi.h
drivers/staging/rdma/hfi1/pcie.c
drivers/staging/rdma/hfi1/ud.c

index 1109049b366d564f37e3ccea2fa12bbdee14c235..f7bf90202ad168cee450207fd7c0f74cb424fd28 100644 (file)
@@ -13636,7 +13636,6 @@ int hfi1_set_ctxt_jkey(struct hfi1_devdata *dd, unsigned ctxt, u16 jkey)
        write_kctxt_csr(dd, sctxt, SEND_CTXT_CHECK_JOB_KEY, reg);
        /*
         * Enable send-side J_KEY integrity check, unless this is A0 h/w
-        * (due to A0 erratum).
         */
        if (!is_ax(dd)) {
                reg = read_kctxt_csr(dd, sctxt, SEND_CTXT_CHECK_ENABLE);
index 8485de1fce0869630baa8be780c2b8e906d14b53..321852060213adf7a22ce979aa4e3852b2960476 100644 (file)
@@ -368,7 +368,7 @@ static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd,
                if (opcode == IB_OPCODE_CNP) {
                        /*
                         * Only in pre-B0 h/w is the CNP_OPCODE handled
-                        * via this code path (errata 291394).
+                        * via this code path.
                         */
                        struct hfi1_qp *qp = NULL;
                        u32 lqpn, rqpn;
index 6bfa5c8e7b84fc7e8218f0718ddf5ccdcb17c996..5bc385a574c55e548f31c7eb8818aceae2f8e352 100644 (file)
@@ -1741,7 +1741,7 @@ static inline u64 hfi1_pkt_default_send_ctxt_mask(struct hfi1_devdata *dd,
                base_sc_integrity |= HFI1_PKT_KERNEL_SC_INTEGRITY;
 
        if (is_ax(dd))
-               /* turn off send-side job key checks - A0 erratum */
+               /* turn off send-side job key checks - A0 */
                return base_sc_integrity &
                       ~SEND_CTXT_CHECK_ENABLE_CHECK_JOB_KEY_SMASK;
        return base_sc_integrity;
@@ -1768,7 +1768,7 @@ static inline u64 hfi1_pkt_base_sdma_integrity(struct hfi1_devdata *dd)
        | SEND_DMA_CHECK_ENABLE_CHECK_ENABLE_SMASK;
 
        if (is_ax(dd))
-               /* turn off send-side job key checks - A0 erratum */
+               /* turn off send-side job key checks - A0 */
                return base_sdma_integrity &
                       ~SEND_DMA_CHECK_ENABLE_CHECK_JOB_KEY_SMASK;
        return base_sdma_integrity;
index 9917faff823cc812c7ac1ae164717a58a9a4b88d..b2f553d860420c777b944e5ea9118475f597baa0 100644 (file)
@@ -1063,7 +1063,7 @@ retry:
         * PcieCfgRegPl100 - Gen3 Control
         *
         * turn off PcieCfgRegPl100.Gen3ZRxDcNonCompl
-        * turn on PcieCfgRegPl100.EqEieosCnt (erratum)
+        * turn on PcieCfgRegPl100.EqEieosCnt
         * Everything else zero.
         */
        reg32 = PCIE_CFG_REG_PL100_EQ_EIEOS_CNT_SMASK;
index bd1b402c1e149f2c7acdf3cfbcff84dcfaf81c49..25e6053c38dba32ca02c0dfc9a9182e0884589c5 100644 (file)
@@ -671,7 +671,7 @@ void hfi1_ud_rcv(struct hfi1_packet *packet)
        if (unlikely(bth1 & HFI1_BECN_SMASK)) {
                /*
                 * In pre-B0 h/w the CNP_OPCODE is handled via an
-                * error path (errata 291394).
+                * error path.
                 */
                struct hfi1_pportdata *ppd = ppd_from_ibp(ibp);
                u32 lqpn =  be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK;