Re: What does scsi_level mean?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Any one can kindly explain this?

Thanks
Jason Xiao

On 7/21/07, jidong xiao <jidong.xiao@xxxxxxxxx> wrote:
I noticed that there is a char scsi_level in the struct scsi_device,
what does scsi_level mean?

struct scsi_device {
...
       char scsi_level;
...
}

Is it SCSI revision?
If the answer is true, then I am quite curious, from the code I have
read, SCSI_2 is something special, see following function:
picked up from drivers/scsi/scsi_sysfs.c:
int scsi_sysfs_target_initialize(struct scsi_device *sdev){
               /*
                * If there wasn't another lun already configured at
                * this target, then default this device to SCSI_2
                * until we know better
                */
               sdev->scsi_level = SCSI_2;
}

Why SCSI_2 could be the default value, why not SCSI_1, why not SCSI_3,
and etc.Seems SCSI_2 is distinguished from other levels,any reason for
this?

Thanks
Jason Xiao

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux