freebsd-nq/sys/dev
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
..
advansys The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
aha Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
ahb Hook up ahapoll so that dumps, synchronize cache commands or any other 1998-10-09 21:38:36 +00:00
aic7xxx Revamp the way that exceptional message handling is performed so that it 1998-12-10 04:14:50 +00:00
ar Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
atkbdc * Add hooks to allow the X server to access I/O ports and memory. 1998-11-15 18:25:17 +00:00
bktr The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
buslogic Remove unsued variable. 1998-12-11 03:50:35 +00:00
ccd Update system to new device statistics code. 1998-09-15 08:15:30 +00:00
cs The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
cy Fixed sloppy clearing of TS_BUSY. Don't clear it until the transmitter 1998-11-28 15:48:09 +00:00
de Alias Adaptec as a vendor of Cogent NICs. 1998-11-28 00:25:32 +00:00
dec Add semicolon to INTERFACE declarations 1998-11-08 18:35:53 +00:00
dgb The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
dpt The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
ed Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
eisa Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
en Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
ep Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
ex Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
fdc Rename one of the two devfs_link's to devfs_makelink. 1998-12-10 19:57:01 +00:00
fe The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
fxp Defer rundown (m_freem) of completed transmit buffers for no longer 1998-10-22 02:00:49 +00:00
hea Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
hfa Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
ic Use [u]intptr_t instead of [unsigned] long to convert and/or represent 1998-08-10 17:21:49 +00:00
ie Eliminate compiler warning. 1998-12-10 01:52:16 +00:00
iicbus The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
isp oops on last 1998-12-05 01:46:40 +00:00
joy This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
kbd Fix ROOL UP/DOWN keys of PC-98. 1998-11-18 08:33:58 +00:00
lnc Add Id string to if_lnc.h and fix up copyrights to be consistent and up to date. 1998-11-26 00:57:32 +00:00
mc146818 Major changes to the generic device framework for FreeBSD/alpha: 1998-06-14 13:46:10 +00:00
mcd Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
mse Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
pcf The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
pci Fixed same as Julian did in uhci_pci.c and fixed the fetching of the revision ohci_pci.c; clean up 1998-12-11 00:09:54 +00:00
pcm/isa Support ESS1868 (and probably ESS688 & ESS1668). 1998-12-10 18:36:10 +00:00
pdq malloc(xxx, yyy, M_WAITOK) does not fail. This probably explains why 1998-12-09 02:18:53 +00:00
ppbus The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
ppc The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
rc Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
rp The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
scd Fixed printf format errors (only 1 left in GENERIC now). 1998-07-13 09:53:11 +00:00
si Fixed printf format errors. `struct eisa_device' uses a strange type 1998-08-23 10:12:12 +00:00
sio * Add hooks to allow the X server to access I/O ports and memory. 1998-11-15 18:25:17 +00:00
smbus Eliminate compiler warning. 1998-12-10 02:31:08 +00:00
snp This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
sound/isa Support ESS1868 (and probably ESS688 & ESS1668). 1998-12-10 18:36:10 +00:00
speaker Fixed printf format errors. Only one left in LINT on i386's. 1998-08-24 02:28:16 +00:00
sr Initialize isa_devtab entries for interrupt handlers in individual 1998-10-22 05:58:45 +00:00
syscons The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
tx Adjust prototype to match definition (by adding a 'const'). 1998-12-09 01:12:18 +00:00
usb If we failed to probe/attach somehow, we never have a sc->sc_hcca 1998-12-11 06:02:06 +00:00
vinum Remove machine/cputypes.h - it's an i386 only thing 1998-11-06 01:34:06 +00:00
vn Remove the SLICE code. 1998-09-14 19:56:42 +00:00
vr The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
vx Import the (Fast) Etherlink XL driver. I'm reasonally confident in its 1998-08-16 17:14:59 +00:00
wl Someday I hope people will learn that "#endif" is not a comment 1998-12-09 03:30:52 +00:00