Commit ba3441d4 authored by Alessandro Rubini's avatar Alessandro Rubini

whiterabbit: add diagnostic print for substate

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 5ac225a4
...@@ -33,6 +33,9 @@ int wr_calibration(struct pp_instance *ppi, unsigned char *pkt, int plen) ...@@ -33,6 +33,9 @@ int wr_calibration(struct pp_instance *ppi, unsigned char *pkt, int plen)
goto out; goto out;
} }
pp_diag(ppi, ext, 1, "%s: substate %i\n", __func__,
wrp->wrPortState - WR_PORT_CALIBRATION_0);
switch (wrp->wrPortState) { switch (wrp->wrPortState) {
case WR_PORT_CALIBRATION_0: case WR_PORT_CALIBRATION_0:
/* enable pattern sending */ /* enable pattern sending */
......
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