[MMC question] make sure to receive mrq->data->sg_len == 1

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

 



Hi.


I am tackling on an MMC host controller driver for the first time.
Forgive my newbie question.


The DMA engine on my MMC host is so simple
that it can only handle one physically contiguous region
during one CMD18/CMD25 sequence.


In other words, it would be very troublesome for the driver
to receive two scatter-list entries or more.
(mrq->data->sg_len > 1).


I have not deeply dived into the MMC subsystem,
but my first guess is that "max_segs" and "max_seg_size"
are related parameters for controlling the
number of the entries and total size of the scatter-list,
respectively.
Is this correct?



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



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux