TL-WR1043: switch

Stefan Bethke stb at lassitu.de
Sat Dec 3 00:37:38 UTC 2011


Am 03.12.2011 um 01:36 schrieb Adrian Chadd:

> 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?

I'll try to do that tommorrow.


Stefan

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 151 14070811





More information about the freebsd-embedded mailing list