BSG_MAX_DEVS
ret = ida_alloc_max(&bsg_minor_ida, BSG_MAX_DEVS - 1, GFP_KERNEL);
ret = alloc_chrdev_region(&devid, 0, BSG_MAX_DEVS, "bsg");