65a311fcb2
Add a MOD_QUIESCE event for modules. This should return error (EBUSY) of the module is in use. MOD_UNLOAD should now only fail if it is impossible (as opposed to inconvenient) to unload the module. Valid reasons are memory references into the module which cannot be tracked down and eliminated. When kldunloading, we abandon if MOD_UNLOAD fails, and if -force is not given, MOD_QUIESCE failing will also prevent the unload. For backwards compatibility, we treat EOPNOTSUPP from MOD_QUIESCE as success. Document that modules should return EOPNOTSUPP for unknown events. |
||
---|---|---|
.. | ||
con.CX-IBM.h | ||
con.CX.h | ||
con.EPCX.h | ||
con.MBank.h | ||
CX_PCI.bios.h | ||
CX_PCI.c | ||
CX_PCI.fepos.h | ||
CX.bios.h | ||
CX.c | ||
CX.fepos.h | ||
digi_isa.c | ||
digi_mod.h | ||
digi_pci.c | ||
digi_pci.h | ||
digi.c | ||
digi.h | ||
digireg.h | ||
EPCX_PCI.bios.h | ||
EPCX_PCI.c | ||
EPCX_PCI.fepos.h | ||
EPCX.bios.h | ||
EPCX.c | ||
EPCX.fepos.h | ||
Xe.bios.h | ||
Xe.c | ||
Xe.fepos.h | ||
Xem.bios.h | ||
Xem.c | ||
Xem.fepos.h | ||
Xr.bios.h | ||
Xr.c | ||
Xr.fepos.h |