diff options
| author | Julian Elischer <julian@FreeBSD.org> | 1998-12-11 06:02:06 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 1998-12-11 06:02:06 +0000 |
| commit | 8cbe8a3ebf28ce66538485e6595539ea30098356 (patch) | |
| tree | 96e8fc5cb77ff17ee4798ad4eaff9716489a26eb /sys/dev/usb | |
| parent | 57c2edb48fd1d523c13d1b205d9f54596188e1c6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/ohci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index 2232fad61a22b..86bc3ac20f9f1 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -542,6 +542,9 @@ ohci_intr(p) u_int32_t intrs, eintrs; ohci_physaddr_t done; + if ((sc == NULL) || (sc->sc_hcca == NULL)) + return (0); + done = sc->sc_hcca->hcca_done_head; if (done != 0) { intrs = OHCI_WDH; |
