Commit 1ebe79c9 authored by Dean Luick's avatar Dean Luick Committed by Doug Ledford

IB/hfi1: Remove no-op QSFP reset code

The RESET_N bit of the ASIC_QSFPn_OE register is not used by
the hardware.  Remove code that tries to use it - it does
nothing.
Reviewed-by: default avatarEaswar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: default avatarDean Luick <dean.luick@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 27a340f6
...@@ -9212,9 +9212,6 @@ void reset_qsfp(struct hfi1_pportdata *ppd) ...@@ -9212,9 +9212,6 @@ void reset_qsfp(struct hfi1_pportdata *ppd)
/* Reset the QSFP */ /* Reset the QSFP */
mask = (u64)QSFP_HFI0_RESET_N; mask = (u64)QSFP_HFI0_RESET_N;
qsfp_mask = read_csr(dd, dd->hfi1_id ? ASIC_QSFP2_OE : ASIC_QSFP1_OE);
qsfp_mask |= mask;
write_csr(dd, dd->hfi1_id ? ASIC_QSFP2_OE : ASIC_QSFP1_OE, qsfp_mask);
qsfp_mask = read_csr(dd, qsfp_mask = read_csr(dd,
dd->hfi1_id ? ASIC_QSFP2_OUT : ASIC_QSFP1_OUT); dd->hfi1_id ? ASIC_QSFP2_OUT : ASIC_QSFP1_OUT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment