TL-WR1043: switch
Stefan Bethke
stb at lassitu.de
Fri Dec 16 07:56:22 UTC 2011
Am 16.12.2011 um 02:29 schrieb Adrian Chadd:
> Hi!
>
> So I have it working; I've not tried vlans yet (I'm still building an
> updated world complete with your config tool) so I'll report when I've
> tested that, but so far so good. Both ports work, the default vlan tag
> works, port status seems to work.
For those trying to play along at home: I've updated the patch so it actually compiles correctly, both as modules as well as compiled into the kernel.
> Thanks very much for this!
You're welcome!
> So next is looking at ray@'s work in zrouter on the ar8216/ar8316
> switch PHYs. There's going to be some rather (un) fun stuff, including
> figuring out what to do about gluing in ukphy/switchphy entries as
> needed, shared MII bus, etc.
Yup.
> Question: the tplink 1043nd arge0 hints currently has a phymask of
> 0x000c, with a nailed up media/duplex. This avoids attaching a ukphy
> to the device. How should that now be handled? Instead of this phymask
> thing, add a flag which says "don't use a phy, we're attaching another
> way" so that code path doesn't run, but it doesn't try probing a PHY?
> Or?
For the TL-WR1043ND, no PHY should be attached to arge0, and the speed etc. should be hardwired to 1000/fdx, since that's what the switch MAC arge0 is connected to is wired to.
We could add code to change arge0 and the switch configuration, but I see little benefit in that.
Stefan
--
Stefan Bethke <stb at lassitu.de> Fon +49 151 14070811
More information about the freebsd-embedded
mailing list