aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/ohci.c
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-04-01 21:34:01 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-04-01 21:34:01 +0000
commit8be36692c39581d36526679c1e91e2a9bffdad5c (patch)
treeff1f5fd46d7a589f06bfe013341f1605847c95e5 /sys/dev/usb/ohci.c
parent44731cab3b9966b7ca67f3fe50e7f3c711533730 (diff)
downloadsrc-8be36692c39581d36526679c1e91e2a9bffdad5c.tar.gz
src-8be36692c39581d36526679c1e91e2a9bffdad5c.zip
MFNetBSD: ohci.c (1.99), uhci.c (1.133), usb.c (1.49), usb_port.h
(1.39), usbdi.c (1.79), usbdi.h (1.47), usbdivar.h (1.62) date: 2001/01/21 02:39:52; author: augustss; Add code to use soft interrupt to handle USB interrupt processing. Don't enable the code since it doesn't work with the kludgy Ethernet drivers.
Notes
Notes: svn path=/head/; revision=93594
Diffstat (limited to 'sys/dev/usb/ohci.c')
-rw-r--r--sys/dev/usb/ohci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index 7412ea2163dd..5b7b55f5ca68 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci.c,v 1.96 2000/12/29 01:24:55 augustss Exp $ */
+/* $NetBSD: ohci.c,v 1.99 2001/01/21 02:39:52 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -124,7 +124,7 @@ Static void ohci_power(int, void *);
#endif
Static usbd_status ohci_open(usbd_pipe_handle);
Static void ohci_poll(struct usbd_bus *);
-Static void ohci_softintr (struct usbd_bus *);
+Static void ohci_softintr (void *);
Static void ohci_waitintr(ohci_softc_t *, usbd_xfer_handle);
Static void ohci_add_done(ohci_softc_t *, ohci_physaddr_t);
Static void ohci_rhsc(ohci_softc_t *, usbd_xfer_handle);
@@ -1181,9 +1181,9 @@ ohci_add_done(ohci_softc_t *sc, ohci_physaddr_t done)
}
void
-ohci_softintr(struct usbd_bus *bus)
+ohci_softintr(void *v)
{
- ohci_softc_t *sc = (ohci_softc_t *)bus;
+ ohci_softc_t *sc = v;
ohci_soft_itd_t *sitd, *sidone, *sitdnext;
ohci_soft_td_t *std, *sdone, *stdnext;
usbd_xfer_handle xfer;