Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dsd.c71 #define SD_MAJOR(i) (!(i) ? SCSI_DISK0_MAJOR : SCSI_DISK1_MAJOR-1+(i)) macro
76 #define SD_MAJOR_NUMBER(i) SD_MAJOR((i) >> 8)
1144 if (devfs_register_blkdev(SD_MAJOR(i), "sd", &sd_fops)) { in sd_init()
1145 printk("Unable to get major %d for SCSI disk\n", SD_MAJOR(i)); in sd_init()
1191 blksize_size[SD_MAJOR(i)] = sd_blocksizes + i * (SCSI_DISKS_PER_MAJOR << 4); in sd_init()
1192 hardsect_size[SD_MAJOR(i)] = sd_hardsizes + i * (SCSI_DISKS_PER_MAJOR << 4); in sd_init()
1193 max_sectors[SD_MAJOR(i)] = sd_max_sectors + i * (SCSI_DISKS_PER_MAJOR << 4); in sd_init()
1213 sd_gendisks[i].major = SD_MAJOR(i); in sd_init()
1255 devfs_unregister_blkdev(SD_MAJOR(i), "sd"); in sd_init()
1268 blk_dev[SD_MAJOR(i)].queue = sd_find_queue; in sd_finish()
[all …]