freebsd-skq/sys
julian 1f33b54c67 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
..
alpha Get rid of CTLTYPE_OPAQUE in a SYSCTL_OPAQUE - it is added my the 1998-12-09 02:26:45 +00:00
amd64 Cleanup up the wording for the F00F bug workaround message. 1998-12-10 01:49:01 +00:00
boot unlocalize date 1998-12-07 16:17:41 +00:00
cam Convert dadump to use reasonable data types so that some casting is unecessary. 1998-12-11 03:54:43 +00:00
coda Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
compat linux_pipe does not preserve the edx register. Linux and 1998-12-10 13:47:18 +00:00
compile This commit was manufactured by cvs2svn to create branch 'JB'. 1998-01-10 23:00:07 +00:00
conf Reversed the order of the USB devices, makes sure the ugen device is probed last 1998-12-10 23:36:46 +00:00
contrib Remove some compiler warnings. 1998-12-10 20:11:47 +00:00
ddb Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
dev If we failed to probe/attach somehow, we never have a sc->sc_hcca 1998-12-11 06:02:06 +00:00
fs The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
geom Update system to new device statistics code. 1998-09-15 08:15:30 +00:00
gnu The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
i386 Perform APM power-off on power-off request, not halt request. 1998-12-10 23:36:14 +00:00
isa Rename one of the two devfs_link's to devfs_makelink. 1998-12-10 19:57:01 +00:00
isofs/cd9660 MFC: loosen compare even though bde doesn't like it. 1998-12-06 11:36:24 +00:00
kern Rename one of the two devfs_link's to devfs_makelink. 1998-12-10 19:57:01 +00:00
libkern - Fix modulo bug. 1998-12-01 05:29:06 +00:00
miscfs Rename one of the two devfs_link's to devfs_makelink. 1998-12-10 19:57:01 +00:00
modules Install scripts without .sh suffix. 1998-11-12 00:37:39 +00:00
msdosfs The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
net The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
netatalk The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
netatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
netinet The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
netipx Back out last change; there was 'fixup' code for the case later. 1998-12-09 13:48:08 +00:00
netkey The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
netnatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
netns This commit was manufactured by cvs2svn to create branch 'JB'. 1998-01-10 23:00:07 +00:00
nfs Remove the if fixed in the last commit; bde quite correctly point out 1998-12-09 15:12:53 +00:00
nfsclient The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
nfsserver Remove the if fixed in the last commit; bde quite correctly point out 1998-12-09 15:12:53 +00:00
pc98 Rename one of the two devfs_link's to devfs_makelink. 1998-12-10 19:57:01 +00:00
pccard The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
pci Silence gcc -Wall -ansi -pedantic. 1998-12-10 19:02:07 +00:00
posix4 Set PAGE_SIZE for _SC_PAGESIZE sysconf(). 1998-06-01 21:54:43 +00:00
powerpc Implement 'software completion' for floating point arithmetic. On the 1998-12-04 10:52:48 +00:00
rpc This commit was manufactured by cvs2svn to create branch 'JB'. 1998-01-10 23:00:07 +00:00
sys Rename one of the two devfs_link's to devfs_makelink. 1998-12-10 19:57:01 +00:00
tools Make the vnode opv vector construction fully dynamic. Previously we 1998-11-10 09:04:09 +00:00
ufs Remove some compiler warnings. 1998-12-10 20:11:47 +00:00
vm Don't disable mmap with large file offset. 1998-12-09 20:22:21 +00:00
Makefile Build KLD modules, these work for both a.out and elf. 1998-11-03 06:50:58 +00:00