freebsd-nq/sys/dev/digi
Poul-Henning Kamp 65a311fcb2 Give kldunload a -f(orce) argument.
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.
2004-07-13 19:36:59 +00:00
..
con.CX-IBM.h
con.CX.h
con.EPCX.h
con.MBank.h
CX_PCI.bios.h
CX_PCI.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
CX_PCI.fepos.h
CX.bios.h
CX.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
CX.fepos.h
digi_isa.c Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
digi_mod.h
digi_pci.c Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
digi_pci.h
digi.c Give kldunload a -f(orce) argument. 2004-07-13 19:36:59 +00:00
digi.h Introduce ttygone() which indicates that the hardware is detached. 2004-07-11 15:18:39 +00:00
digireg.h Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
EPCX_PCI.bios.h
EPCX_PCI.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
EPCX_PCI.fepos.h
EPCX.bios.h
EPCX.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
EPCX.fepos.h
Xe.bios.h
Xe.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
Xe.fepos.h
Xem.bios.h
Xem.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
Xem.fepos.h
Xr.bios.h
Xr.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
Xr.fepos.h