TL-WR1043: switch

Adrian Chadd adrian at freebsd.org
Wed Nov 30 01:06:51 UTC 2011


On 30 November 2011 06:59, Stefan Bethke <stb at lassitu.de> wrote:

> I couldn't get iic to work, so I rolled my own userland bitbanging utility, based roughly on the OpenWrt code (minus some small bugs) and the datasheet.
>
> I can read and write registers, but to my consternation, most of the functionality (MIB counters, ST controls, etc.) seems to be somehow disabled or just plain missing.
>
> I'll try to get a basic utility up and running to use the basic VLAN mode (not the table-based mode) tomorrow.  Once that's working suffiently well, I could make it into a stand-alone driver, or see if it can be integrated into Aleksandrs work.

Cool!

Let's see if we can at least use it as a test point to compare ray's
switch framework code against.  Ideally it'll be another switch
driver, perhaps split into three bits - core, i2c glue, miibus glue.

I wonder why the iic driver doesn't work. I'd ideally like to glue the
switch core to either an i2c bus (for those switches which sit on i2c)
or via an MII PHY, where appropriate. ray@ and marius@ may have a
better idea about how to handle this.

Thanks for your interest and development work with this! I'll be back
on track in a couple of weeks and we can integrate all this stuff back
into -HEAD.


Adrian


More information about the freebsd-embedded mailing list