TL-WR1043: switch
John-Mark Gurney
jmg at funkthat.com
Fri Dec 2 19:45:22 UTC 2011
Aleksandr Rybalko wrote this message on Fri, Dec 02, 2011 at 16:45 +0200:
> On Fri, 2 Dec 2011 22:39:32 +0800
> Adrian Chadd <adrian at freebsd.org> wrote:
>
> >> .. erk.
> >>
> >> Well, what shall we do? Create a different driver? Or just enable a
> >> "quirk" or configuration paramater, which allows the device to be
> >> not-quite-i2c?
>
> It's too specific to Realtek, so from one point better to have
> separate driver, but from another point it have i2c EEPROM on same bus.
> So if we want to have access to both, we need quirk.
Not to complicate things, but you could have a custom bus driver that
provides an attachment for the standard i2c bus, and another attachment
for the Realtek part... This custom bus driver would mediate access
between the two...
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-embedded
mailing list