diff options
| author | Scott Long <scottl@FreeBSD.org> | 2004-06-13 18:45:57 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2004-06-13 18:45:57 +0000 |
| commit | 6387afd9c5072b5abe0eea8a185b9de9be177417 (patch) | |
| tree | 784950e58062d0491f210f000789ee64892ccbec /sys/dev/esp | |
| parent | df843493adbe62bdbee13a0433a9c51c810733e5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/esp')
| -rw-r--r-- | sys/dev/esp/ncr53c9x.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/esp/ncr53c9x.c b/sys/dev/esp/ncr53c9x.c index c83cf46744ac..3cb3babc4e5c 100644 --- a/sys/dev/esp/ncr53c9x.c +++ b/sys/dev/esp/ncr53c9x.c @@ -667,7 +667,7 @@ ncr53c9x_select(struct ncr53c9x_softc *sc, struct ncr53c9x_ecb *ecb) * always possible that the interrupt may never happen. */ ecb->ccb->ccb_h.timeout_ch = - timeout(ncr53c9x_timeout, sc, mstohz(ecb->timeout)); + timeout(ncr53c9x_timeout, ecb, mstohz(ecb->timeout)); /* * The docs say the target register is never reset, and I @@ -1217,7 +1217,7 @@ ncr53c9x_done(struct ncr53c9x_softc *sc, struct ncr53c9x_ecb *ecb) lun = ccb->ccb_h.target_lun; li = TINFO_LUN(ti, lun); - untimeout(ncr53c9x_timeout, sc, ccb->ccb_h.timeout_ch); + untimeout(ncr53c9x_timeout, ecb, ccb->ccb_h.timeout_ch); /* * Now, if we've come here with no error code, i.e. we've kept the @@ -2331,7 +2331,7 @@ again: goto reset; } printf("sending REQUEST SENSE\n"); - untimeout(ncr53c9x_timeout, sc, + untimeout(ncr53c9x_timeout, ecb, ecb->ccb->ccb_h.timeout_ch); ncr53c9x_sense(sc, ecb); goto out; @@ -2400,7 +2400,7 @@ again: */ if (sc->sc_state == NCR_SELECTING) { NCR_INTS(("backoff selector ")); - untimeout(ncr53c9x_timeout, sc, + untimeout(ncr53c9x_timeout, ecb, ecb->ccb->ccb_h.timeout_ch); ncr53c9x_dequeue(sc, ecb); TAILQ_INSERT_HEAD(&sc->ready_list, ecb, chain); @@ -2855,7 +2855,7 @@ ncr53c9x_abort(sc, ecb) * Reschedule timeout. */ ecb->ccb->ccb_h.timeout_ch = - timeout(ncr53c9x_timeout, sc, mstohz(ecb->timeout)); + timeout(ncr53c9x_timeout, ecb, mstohz(ecb->timeout)); } else { /* * Just leave the command where it is. |
