Folks, What is the documented/supported behavior for modunload(1M) when it is done on a driver module? Does it guarantee that detach(9E) is called for all attached device instances before _fini(9e) is called?
The detach(9E) man page implies that this is the case - If detach() determines a particular instance of the device cannot be removed when requested because of some exceptional condition, detach() must return DDI_FAILURE, which prevents the particular device instance from being detached. This also prevents the driver from being unloaded. But, modunload(1M) man page is silent on this. Thanks, -Krishna This message posted from opensolaris.org _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss