Re: question about passing physical address to lower level driver in scsi

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

 



Hi,

On Mon, Oct 31, 2011 at 12:53, yoma sophian <sophian.yoma@xxxxxxxxx> wrote:
> hi stefan:
> Thanks for your reply.
> 2011/10/30, Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>:
>> On Oct 30 yoma sophian wrote:
>>> in scsi_init_sgtable, we create sgtable, sdb->table.sgl, and get the
>>> page from blk_rq_map_sg.
>>> But when the dma_address of sdb->table.sgl will be calclated out
>>> before send the scsi command down to the lower level driver?
>>
>> The low level driver, not SCSI core, is responsible to obtain a DMA
>> address.
>
> Why I ask this because I found there is no same transformation for
> scsi usb subsystem.
> Would anyone can let me know where it is?

I am not familiar with the code in question, but I would guess that
this would happen in the USB Controller Interface driver.

Thanks,

-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
--
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