cxgbe(4): Fix assertion in timer calibration
The calibration callout is stopped when the adapter is marked off limits but not when the adapter is merely stopped. MFC after: 1 week Sponsored by: Chelsio Communications
This commit is contained in:
@@ -1249,7 +1249,7 @@ t4_calibration(void *arg)
|
||||
|
||||
sc = (struct adapter *)arg;
|
||||
|
||||
KASSERT(hw_all_ok(sc), ("!hw_all_ok at t4_calibration"));
|
||||
KASSERT(!hw_off_limits(sc), ("hw_off_limits at t4_calibration"));
|
||||
hw = t4_read_reg64(sc, A_SGE_TIMESTAMP_LO);
|
||||
sbt = sbinuptime();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user