From fa9d44f62ec884032307aff35dba72c455023fe1 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Sun, 4 Mar 2018 19:26:47 +0000 Subject: Add calls to the new clock_dbgprint_xxx() functions. --- sys/dev/iicbus/nxprtc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/iicbus/nxprtc.c b/sys/dev/iicbus/nxprtc.c index 6466881d5cbd..8ac5cee5c2e1 100644 --- a/sys/dev/iicbus/nxprtc.c +++ b/sys/dev/iicbus/nxprtc.c @@ -608,6 +608,7 @@ nxprtc_gettime(device_t dev, struct timespec *ts) sc->flags |= SC_F_CPOL; } + clock_dbgprint_bcd(sc->dev, CLOCK_DBG_READ, &bct); err = clock_bcd_to_ts(&bct, ts, sc->use_ampm); ts->tv_sec += utc_offset(); @@ -648,6 +649,7 @@ nxprtc_settime(device_t dev, struct timespec *ts) ts->tv_sec -= utc_offset(); ts->tv_nsec = 0; clock_ts_to_bcd(ts, &bct, sc->use_ampm); + clock_dbgprint_bcd(sc->dev, CLOCK_DBG_WRITE, &bct); /* On 8563 set the century based on the polarity seen when reading. */ cflag = 0; -- cgit v1.2.3