TL-WR1043: switch

Adrian Chadd adrian at freebsd.org
Sat Dec 3 00:36:09 UTC 2011


On 3 December 2011 08:02, Stefan Bethke <stb at lassitu.de> wrote:
> I see two ways to make iicbus play with the Realtek "System Management Interface" protocol: either make the patch I suggested optional via a hint, or let a slave device somehow indicate that it wants the relaxed semantics.  The hint is likely the option that is easier to implement.  Writing a new go-between bus driver is likely too complicated for me to accomplish right now.

I think exposing it via a quirk somehow, so the iicbus code knows that
for this particular child device, the relaxed semantics are required.

That way an i2c eeprom will be fine using the existing code and
semantics; the switch PHY child will use your relaxed semantics.
As there's a few more realtek switch PHYs to write code for, I can
only see this as being needed. :)

Think you could code that up for review?


Adrian


More information about the freebsd-embedded mailing list