Date: Sat, 3 Dec 2011 01:37:36 +0100 From: Stefan Bethke <stb@lassitu.de> To: Adrian Chadd <adrian@freebsd.org> Cc: Aleksandr Rybalko <ray@dlink.ua>, freebsd-embedded@freebsd.org Subject: Re: TL-WR1043: switch Message-ID: <56F2AC5C-06F3-4E63-BC3D-06759FC63ED7@lassitu.de> In-Reply-To: <CAJ-Vmo=YMTuk6gOsjp15QWpRuBPkdDvM3JvamE6E38MhCsL7iw@mail.gmail.com> References: <68ABED76-CB1F-405A-8036-EC254F7511FA@lassitu.de> <3B3DB17D-BF87-40EE-B1C1-445F178E8844@lassitu.de> <86030CEE-6839-4B96-ACDC-2BA9AC1E4AE4@lassitu.de> <2D625CC9-A0E3-47AA-A504-CE8FB2F90245@lassitu.de> <203BF1C8-D528-40C9-8611-9C7AC7E43BAB@lassitu.de> <3C0E9CA3-E130-4E9A-ABCC-1782E28999D1@lassitu.de> <2B8826C7-00C7-4117-B424-4A86F1346DFF@bsdimp.com> <20111130231311.4a154bc5.ray@ddteam.net> <CAJ-Vmon8-yo-UQ%2B81feLT-Yr%2BJimMsEbLHWfd9kZP_s4804%2BtA@mail.gmail.com> <20111202164539.fff3ea91.ray@dlink.ua> <20111202191122.GK25601@funkthat.com> <E29B1787-FF42-4462-81C0-8185F70C45B6@lassitu.de> <CAJ-Vmo=YMTuk6gOsjp15QWpRuBPkdDvM3JvamE6E38MhCsL7iw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 03.12.2011 um 01:36 schrieb Adrian Chadd: > On 3 December 2011 08:02, Stefan Bethke <stb@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. >=20 > I think exposing it via a quirk somehow, so the iicbus code knows that > for this particular child device, the relaxed semantics are required. >=20 > 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. :) >=20 > Think you could code that up for review? I'll try to do that tommorrow. Stefan --=20 Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56F2AC5C-06F3-4E63-BC3D-06759FC63ED7>