Any one can kindly explain this?

Thanks
Jason Xiao

On 7/21/07, jidong xiao <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to