Re: [PATCH V3 09/16] scsi: ufs: introduce well known logical unit in ufs

2014-09-15 Thread Akinobu Mita
2014-09-15 19:39 GMT+09:00 Dolev Raviv : > >> 2014-09-10 20:54 GMT+09:00 Dolev Raviv : >>> +static void ufshcd_set_queue_depth(struct scsi_device *sdev) >>> +{ >>> + int ret = 0; >>> + u8 lun_qdepth; >>> + struct ufs_hba *hba; >>> + >>> + hba = shost_priv(sdev->host); >>> +

Re: [PATCH V3 09/16] scsi: ufs: introduce well known logical unit in ufs

2014-09-15 Thread Dolev Raviv
> 2014-09-10 20:54 GMT+09:00 Dolev Raviv : >> +static void ufshcd_set_queue_depth(struct scsi_device *sdev) >> +{ >> + int ret = 0; >> + u8 lun_qdepth; >> + struct ufs_hba *hba; >> + >> + hba = shost_priv(sdev->host); >> + >> + lun_qdepth = hba->nutrs; >> + ret

Re: [PATCH V3 09/16] scsi: ufs: introduce well known logical unit in ufs

2014-09-11 Thread Akinobu Mita
2014-09-10 20:54 GMT+09:00 Dolev Raviv : > +static void ufshcd_set_queue_depth(struct scsi_device *sdev) > +{ > + int ret = 0; > + u8 lun_qdepth; > + struct ufs_hba *hba; > + > + hba = shost_priv(sdev->host); > + > + lun_qdepth = hba->nutrs; > + ret = ufshcd_read

[PATCH V3 09/16] scsi: ufs: introduce well known logical unit in ufs

2014-09-10 Thread Dolev Raviv
From: Subhash Jadavani UFS device may have standard LUs and LUN id could be from 0x00 to 0x7F. UFS device specification use "Peripheral Device Addressing Format" (SCSI SAM-5) for standard LUs. UFS device may also have the Well Known LUs (also referred as W-LU) which again could be from 0x00 to 0