diff options
| author | Nick Hibma <n_hibma@FreeBSD.org> | 2000-01-29 14:18:31 +0000 |
|---|---|---|
| committer | Nick Hibma <n_hibma@FreeBSD.org> | 2000-01-29 14:18:31 +0000 |
| commit | a59ac0e8beb7642cdab61a29bfd4eeb3f7bf1549 (patch) | |
| tree | e4886fa9fe95905cea8020badd25dfec93966f25 /sys/dev/usb | |
| parent | bdca82d4e3d65f19b85c4462ec6ecc013875de7d (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/ohci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index 9455003fae22..5fd623615330 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -435,7 +435,7 @@ ohci_alloc_std(sc) std = sc->sc_freetds; sc->sc_freetds = std->nexttd; memset(&std->td, 0, sizeof(ohci_td_t)); - std->nexttd = 0; + std->nexttd = NULL; return (std); } @@ -2398,7 +2398,7 @@ ohci_device_clear_toggle(pipe) { struct ohci_pipe *opipe = (struct ohci_pipe *)pipe; - opipe->sed->ed.ed_tailp &= LE(~OHCI_TOGGLECARRY); + opipe->sed->ed.ed_headp &= LE(~OHCI_TOGGLECARRY); } static void |
