cdevsw_attach
static int cdevsw_attach(const struct cdevsw *, devmajor_t *);
error = cdevsw_attach(cdev, cmajor);