Also, I suppose we could use a detach_cmd_t
value for DDI_QUIESCE instead of expanding
struct dev_ops.

int prefix detach(dev_info_t *dip, ddi_detach_cmd_t cmd);

This is really a form of detach, isn't it?

Right now cmd must be either DDI_DETACH or
DDI_SUSPEND. The driver returns DDI_FAILURE
if it's not one of those two values.

-David


Reply via email to