diff options
author | joe <joe@FreeBSD.org> | 2002-04-07 14:57:31 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-04-07 14:57:31 +0000 |
commit | 82d02ca76b760d9128480d2b87dfefe984a81e2c (patch) | |
tree | 7327af9b7864f73fd7265864a7c0ff0ce6f20de0 /sys/dev/usb/ohcivar.h | |
parent | 5d748e8d746084ebdee8b24354fa6599ffe5e526 (diff) | |
download | FreeBSD-src-82d02ca76b760d9128480d2b87dfefe984a81e2c.zip FreeBSD-src-82d02ca76b760d9128480d2b87dfefe984a81e2c.tar.gz |
MFNetBSD: ohci.c (1.114), ohcivar.h (1.29)
date: 2001/11/21 02:41:18; author: augustss;
Use a task to perform the timeout abort so we have a process context when
sleeping.
Diffstat (limited to 'sys/dev/usb/ohcivar.h')
-rw-r--r-- | sys/dev/usb/ohcivar.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h index c4aa05c..31108f0 100644 --- a/sys/dev/usb/ohcivar.h +++ b/sys/dev/usb/ohcivar.h @@ -143,6 +143,13 @@ typedef struct ohci_softc { char sc_dying; } ohci_softc_t; +struct ohci_xfer { + struct usbd_xfer xfer; + struct usb_task abort_task; +}; + +#define OXFER(xfer) ((struct ehci_xfer *)(xfer)) + usbd_status ohci_init(ohci_softc_t *); int ohci_intr(void *); #if defined(__NetBSD__) || defined(__OpenBSD__) |