Searched refs:OSST_MAJOR (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/include/linux/ |
D | major.h | 167 #define OSST_MAJOR 206 /* OnStream-SCx0 SCSI tape */ macro
|
/linux-2.6.39/drivers/scsi/ |
D | osst.c | 92 MODULE_ALIAS_CHARDEV_MAJOR(OSST_MAJOR); 5971 err = osst_sysfs_add(MKDEV(OSST_MAJOR, dev_num), dev, tpnt, tape_name(tpnt)); in osst_probe() 5977 err = osst_sysfs_add(MKDEV(OSST_MAJOR, dev_num + 128), dev, tpnt, name); in osst_probe() 5989 osst_sysfs_destroy(MKDEV(OSST_MAJOR, dev_num)); in osst_probe() 6009 osst_sysfs_destroy(MKDEV(OSST_MAJOR, i)); in osst_remove() 6010 osst_sysfs_destroy(MKDEV(OSST_MAJOR, i+128)); in osst_remove() 6041 err = register_chrdev(OSST_MAJOR, "osst", &osst_fops); in init_osst() 6043 printk(KERN_ERR "osst :E: Unable to register major %d for OnStream tapes\n", OSST_MAJOR); in init_osst() 6060 unregister_chrdev(OSST_MAJOR, "osst"); in init_osst() 6073 unregister_chrdev(OSST_MAJOR, "osst"); in exit_osst()
|