Thread (4 messages) 4 messages, 2 authors, 2021-01-08

Re: question about i2c_transfer() function (regarding mdio-i2c on RollBall SFPs)

From: Wolfram Sang <wsa@kernel.org>
Date: 2021-01-07 21:03:37
Also in: netdev

My question is whether this is allowed, whether the msgs array passed
to the i2c_transfer() function can have multiple msgs pointing to the
same buffer (the one into which the original page is first stored
with first i2c_msg and then restored from it in the last i2c_msg).
Sending the messages is serialized, so the buffers won't interfere. At
first glance, I think it would work this way. But it's late evening
here, so I will have another look again tomorrow.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help