Home
last modified time | relevance | path

Searched refs:SCSI_GENERIC_MAJOR (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/include/linux/
Dmajor.h40 #define SCSI_GENERIC_MAJOR 21 macro
/linux-3.4.99/drivers/scsi/
Dsg.c1078 MKDEV(SCSI_GENERIC_MAJOR, sdp->index), in sg_ioctl()
1444 disk->major = SCSI_GENERIC_MAJOR; in sg_add()
1462 error = cdev_add(cdev, MKDEV(SCSI_GENERIC_MAJOR, sdp->index), 1); in sg_add()
1471 MKDEV(SCSI_GENERIC_MAJOR, in sg_add()
1553 device_destroy(sg_sysfs_class, MKDEV(SCSI_GENERIC_MAJOR, sdp->index)); in sg_remove()
1569 MODULE_ALIAS_CHARDEV_MAJOR(SCSI_GENERIC_MAJOR);
1590 rc = register_chrdev_region(MKDEV(SCSI_GENERIC_MAJOR, 0), in init_sg()
1609 unregister_chrdev_region(MKDEV(SCSI_GENERIC_MAJOR, 0), SG_MAX_DEVS); in init_sg()
1622 unregister_chrdev_region(MKDEV(SCSI_GENERIC_MAJOR, 0), in exit_sg()