bounce_sg and sg in mmc_queue
Hello:
Could anyone tell me in struct mmc_queue, what is the difference between 'struct scatterlist *bounce_sg' and 'struct scatterlist *sg' is?
I see 'bounce_sg' get used to copy data from/to the buffer upon a host read/write operation so I assume 'bounce_sg' points to the most recent data from a host controller read/write operation.
Thanks for the help.
Signature · 3 lines
J (James/Jay) Freyensee Storage Technology Group Intel Corporation
Quoted 9 lines · J Freyensee
Hello:
Could anyone tell me in struct
mmc_queue, what is the difference between 'struct scatterlist*bounce_sg' and 'struct scatterlist *sg' is?I see '
bounce_sg' get used to copy data from/to the buffer upon a host read/write operation so I assume 'bounce_sg' points to the most recent data from a host controller read/write operation.
If someone actually knows this, I will send up a patch documenting this in the code. I think some of the mmc code could use a little documentation??
Quoted 2 lines
Thanks for the help.
Signature · 3 lines
J (James/Jay) Freyensee Storage Technology Group Intel Corporation