diff options
author | n_hibma <n_hibma@FreeBSD.org> | 1999-07-25 18:54:22 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 1999-07-25 18:54:22 +0000 |
commit | e036dfc6a10cd52b51a7ec9234f120bddbfa6dda (patch) | |
tree | 5064fbe20a92b9e8a0b57a01453e870ce9e4603e /sys/dev/usb/ohci.c | |
parent | 9aa55ad5ba036f0a2dfc53a80c7af7b7da3afedb (diff) | |
download | FreeBSD-src-e036dfc6a10cd52b51a7ec9234f120bddbfa6dda.zip FreeBSD-src-e036dfc6a10cd52b51a7ec9234f120bddbfa6dda.tar.gz |
Add comments, change variable names to make them consistent (r -> err,
timo_handle -> timeout_handle, p -> pipe, *pipe -> *rpipe, etc.)
Diffstat (limited to 'sys/dev/usb/ohci.c')
-rw-r--r-- | sys/dev/usb/ohci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index cab9cd0..a3fc84a 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -812,7 +812,7 @@ ohci_ctrl_done(sc, reqh) memcpy(reqh->buffer, KERNADDR(dma), len); usb_freemem(sc->sc_dmatag, dma); } - usb_untimeout(ohci_timeout, reqh, reqh->timo_handle); + usb_untimeout(ohci_timeout, reqh, reqh->timeout_handle); } void @@ -880,7 +880,7 @@ ohci_bulk_done(sc, reqh) if (reqh->request.bmRequestType & UT_READ) memcpy(reqh->buffer, KERNADDR(dma), reqh->actlen); usb_freemem(sc->sc_dmatag, dma); - usb_untimeout(ohci_timeout, reqh, reqh->timo_handle); + usb_untimeout(ohci_timeout, reqh, reqh->timeout_handle); } void @@ -1091,7 +1091,7 @@ ohci_device_request(reqh) OWRITE4(sc, OHCI_COMMAND_STATUS, OHCI_CLF); if (reqh->timeout && !sc->sc_bus.use_polling) { usb_timeout(ohci_timeout, reqh, - MS_TO_TICKS(reqh->timeout), reqh->timo_handle); + MS_TO_TICKS(reqh->timeout), reqh->timeout_handle); } splx(s); @@ -1968,7 +1968,7 @@ ohci_device_bulk_start(reqh) OWRITE4(sc, OHCI_COMMAND_STATUS, OHCI_BLF); if (reqh->timeout && !sc->sc_bus.use_polling) { usb_timeout(ohci_timeout, reqh, - MS_TO_TICKS(reqh->timeout), reqh->timo_handle); + MS_TO_TICKS(reqh->timeout), reqh->timeout_handle); } splx(s); @@ -2099,7 +2099,7 @@ ohci_device_intr_start(reqh) #if 0 if (reqh->timeout && !sc->sc_bus.use_polling) { usb_timeout(ohci_timeout, reqh, - MS_TO_TICKS(reqh->timeout), reqh->timo_handle); + MS_TO_TICKS(reqh->timeout), reqh->timeout_handle); } #endif sed->ed->ed_flags &= LE(~OHCI_ED_SKIP); |