diff options
-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 86bc3ac..17afe4d 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 attach is failed we get a NULL pointer here + * XXX should be removed when pci_unmap_int is implemented + */ if ((sc == NULL) || (sc->sc_hcca == NULL)) return (0); |