diff options
author | joe <joe@FreeBSD.org> | 2002-04-01 21:34:01 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-04-01 21:34:01 +0000 |
commit | 0ddcf62ed59f8c10287786d52a41bd0772e9abdb (patch) | |
tree | ff1f5fd46d7a589f06bfe013341f1605847c95e5 /sys/dev/usb/uhci.c | |
parent | dc2e474f79c1287592679cd5e0c4c2307feccd60 (diff) | |
download | FreeBSD-src-0ddcf62ed59f8c10287786d52a41bd0772e9abdb.zip FreeBSD-src-0ddcf62ed59f8c10287786d52a41bd0772e9abdb.tar.gz |
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.
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r-- | sys/dev/usb/uhci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 715d92b..dad6c56 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,4 +1,4 @@ -/* $NetBSD: uhci.c,v 1.132 2001/01/20 23:36:02 augustss Exp $ */ +/* $NetBSD: uhci.c,v 1.133 2001/01/21 02:39:52 augustss Exp $ */ /* $FreeBSD$ */ /* @@ -237,7 +237,7 @@ Static void uhci_root_intr_done(usbd_xfer_handle); Static usbd_status uhci_open(usbd_pipe_handle); Static void uhci_poll(struct usbd_bus *); -Static void uhci_softintr(struct usbd_bus *); +Static void uhci_softintr(void *); Static usbd_status uhci_device_request(usbd_xfer_handle xfer); @@ -1228,9 +1228,9 @@ uhci_intr(void *arg) } void -uhci_softintr(struct usbd_bus *bus) +uhci_softintr(void *v) { - uhci_softc_t *sc = (uhci_softc_t *)bus; + uhci_softc_t *sc = v; uhci_intr_info_t *ii; DPRINTFN(10,("%s: uhci_softintr\n", USBDEVNAME(sc->sc_bus.bdev))); |