freebsd-skq/sys/dev/usb
Julian Elischer 8cbe8a3ebf If we failed to probe/attach somehow, we never have a sc->sc_hcca
but the present PCI probe code still thinks we are there as the pci attach
can't return an error code.

This means we are in the shared interrupt list, but have not been set up.
If we are sharing ints with another device, ohci_intr will be called and will
coredump on a NULL reference. So just return if it is called when not set up.

This fixes the symptom and not the cause.
The right answer is to let the PCI system know that the attach failed,
or to fail earlier (in the PCI probe).
The attach() is a void fn() so it can't return failure..
1998-12-11 06:02:06 +00:00
..
hid.c Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
hid.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
ohci.c If we failed to probe/attach somehow, we never have a sc->sc_hcca 1998-12-11 06:02:06 +00:00
ohcireg.h Various bug fixes: 1998-12-09 23:36:15 +00:00
ohcivar.h Various bug fixes: 1998-12-09 23:36:15 +00:00
queue.addendum.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
ugen.c Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
uhci.c Various bug fixes: 1998-12-09 23:36:15 +00:00
uhcireg.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
uhcivar.h Various bug fixes: 1998-12-09 23:36:15 +00:00
uhid.c Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
uhub.c Various bug fixes: 1998-12-09 23:36:15 +00:00
ukbd.c Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
ulpt.c Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
ums.c Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usb_if.m Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usb_mem.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usb_port.h Various bug fixes: 1998-12-09 23:36:15 +00:00
usb_quirks.c Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usb_quirks.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usb_subr.c Various bug fixes: 1998-12-09 23:36:15 +00:00
usb.c Various bug fixes: 1998-12-09 23:36:15 +00:00
usb.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usbdevs_data.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usbdevs.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usbdi_util.c Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usbdi_util.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usbdi.c Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usbdi.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
usbdivar.h Various bug fixes: 1998-12-09 23:36:15 +00:00
usbhid.h Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00