ptm_detach
static int ptm_detach(dev_info_t *, ddi_detach_cmd_t);
DDI_DEFINE_STREAM_OPS(ptm_ops, nulldev, nulldev, ptm_attach, ptm_detach,