freebsd-dev/sys
John Baldwin ab2c368640 Fix a couple of issues with the ibcs2 module event handler. First, return
success instead of EOPNOTSUPP when being loaded.  Secondly, if there are no
ibcs2 processes running when a MOD_UNLOAD request is made, break out to
return success instead of falling through into the default case which
returns EOPNOTSUPP.  With these fixes, I can now kldload and subsequently
kldunload the ibcs2 module.

PR:		kern/82026 (and several duplicates)
Reported by:	lots of folks
MFC after:	1 week
2006-01-03 20:39:38 +00:00
..
alpha Define __HAVE_ACPI and/or __PCI_REROUTE_INTERRUPT, as appropriate for 2006-01-01 20:59:28 +00:00
amd64 - Explicitly validate an empty filter to match bpf_filter() comment[1]. 2006-01-03 20:26:03 +00:00
arm Define __HAVE_ACPI and/or __PCI_REROUTE_INTERRUPT, as appropriate for 2006-01-01 20:59:28 +00:00
boot MFi386: revisions 1.34 and 1.36. 2005-12-21 06:10:42 +00:00
bsm
cam Style nit. 2005-12-19 03:43:48 +00:00
coda Fix -Wundef from compiling the amd64 LINT. 2005-12-04 10:06:06 +00:00
compat Cast tv_sec to intmax_t and print with %jd in some ifdef'ed code. 2005-12-28 07:08:54 +00:00
conf MI changes: 2005-12-31 14:39:20 +00:00
contrib Add mcopywrap prototype to ip_compat.h 2005-12-30 11:55:37 +00:00
crypto Add VIA/ACE "PadLock" support as a crypto(9) driver. 2005-08-18 00:30:22 +00:00
ddb Fix -Wundef. 2005-12-04 02:12:43 +00:00
dev Release the pci_link acpi serial lock if a link device has no actual links. 2006-01-03 20:19:34 +00:00
doc
fs When returning EIO from DEVFSIO_RADD ioctl, drop the exclusive rule 2006-01-03 09:49:10 +00:00
gdb
geom MFp4: Typo fix (without it the XML GEOM tree wasn't consistent). 2005-12-19 06:05:40 +00:00
gnu This is the style-fix for my previous commit. Sorry for the delay, I 2005-12-29 21:34:49 +00:00
i4b Fix -Wundef warnings found when compiling i386 LINT, GENERIC and 2005-12-05 11:58:35 +00:00
i386 Fix a couple of issues with the ibcs2 module event handler. First, return 2006-01-03 20:39:38 +00:00
ia64 Define __HAVE_ACPI and/or __PCI_REROUTE_INTERRUPT, as appropriate for 2006-01-01 20:59:28 +00:00
isa Tweak how the MD code calls the fooclock() methods some. Instead of 2005-12-22 22:16:09 +00:00
isofs/cd9660 Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
kern MI changes: 2005-12-31 14:39:20 +00:00
libkern Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
modules Implement /dev/cardbus%d.cis, same thing as /dev/pccard%d.cis. There 2005-12-29 01:43:47 +00:00
net Correctly check the filter length. I committed the wrong version. 2006-01-03 20:34:41 +00:00
net80211 enable "aggressive mode" only when operating in ap or station mode; in 2006-01-02 17:16:27 +00:00
netatalk - Store pointer to the link-level address right in "struct ifnet" 2005-11-11 16:04:59 +00:00
netatm Try to unbreak the tinderbox: Cast a time_t argument to long before printing 2005-12-27 12:33:18 +00:00
netgraph In ng_netflow_disconnect() check whether we are working with "iface" 2005-12-28 12:56:59 +00:00
netinet Add RFC 3378 EtherIP support. This change makes it possible to add gif 2005-12-21 21:29:45 +00:00
netinet6 Add RFC 3378 EtherIP support. This change makes it possible to add gif 2005-12-21 21:29:45 +00:00
netipsec Fix -Wundef warnings found when compiling i386 LINT, GENERIC and 2005-12-05 11:58:35 +00:00
netipx Include ip_options.h for IPX-IP encapsulation. 2005-11-20 16:17:12 +00:00
netkey Fix -Wundef from compiling the amd64 LINT. 2005-12-04 10:06:06 +00:00
netnatm Use sparse initializers for "struct domain" and "struct protosw", 2005-11-09 13:29:16 +00:00
netncp Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
netsmb Prevent module unloading if there are active connections. 2005-11-22 02:15:46 +00:00
nfs
nfs4client Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
nfsclient Correct a typo 2005-12-28 10:03:48 +00:00
nfsserver Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
opencrypto Fix bogus check. It was possible to panic the kernel by giving 0 length. 2005-08-18 11:58:03 +00:00
pc98 Define __HAVE_ACPI and/or __PCI_REROUTE_INTERRUPT, as appropriate for 2006-01-01 20:59:28 +00:00
pccard Remove the kernel portion of OLDCARD. I'm working on a replacement 2005-09-25 21:29:32 +00:00
pci Use the copy of the card's MAC address saved in tulip_enaddr() in the softc 2005-12-22 16:18:23 +00:00
posix4 mqueue.h has been superceded by sys/mqueue.h thanks to David Xu's work. 2005-11-28 02:58:30 +00:00
powerpc MI changes: 2005-12-31 14:39:20 +00:00
rpc Fix -Wundef. 2005-12-04 02:12:43 +00:00
security Introduce a new sysctl variable: 2005-12-31 05:06:59 +00:00
sparc64 Use the correct units when handling the hw.physmem tunable. 2006-01-01 22:52:21 +00:00
sys Remove K&R vestige. It is no longer necessary to concatenate strings 2005-12-31 20:00:12 +00:00
tools Eradicate caddr_t from the VFS API. 2005-12-14 00:49:52 +00:00
ufs Typo. 2005-12-23 15:50:57 +00:00
vm MI changes: 2005-12-31 14:39:20 +00:00
Makefile