Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2011 09:06:49 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        Marius Strobl <marius@freebsd.org>, Aleksandr Rybalko <ray@freebsd.org>, freebsd-embedded@freebsd.org
Subject:   Re: TL-WR1043: switch
Message-ID:  <CAJ-VmonXULXsP66xHXCcR6YqzN2B5JXUm3%2BkrkcCnVAt96TDuw@mail.gmail.com>
In-Reply-To: <86030CEE-6839-4B96-ACDC-2BA9AC1E4AE4@lassitu.de>
References:  <68ABED76-CB1F-405A-8036-EC254F7511FA@lassitu.de> <3B3DB17D-BF87-40EE-B1C1-445F178E8844@lassitu.de> <86030CEE-6839-4B96-ACDC-2BA9AC1E4AE4@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 November 2011 06:59, Stefan Bethke <stb@lassitu.de> wrote:

> I couldn't get iic to work, so I rolled my own userland bitbanging utilit=
y, based roughly on the OpenWrt code (minus some small bugs) and the datash=
eet.
>
> I can read and write registers, but to my consternation, most of the func=
tionality (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. =A0Once that's working suffiently wel=
l, I could make it into a stand-alone driver, or see if it can be integrate=
d 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonXULXsP66xHXCcR6YqzN2B5JXUm3%2BkrkcCnVAt96TDuw>