dev/etherswitch
Stefan Bethke
stb at lassitu.de
Wed Jan 4 14:45:56 UTC 2012
Am 04.01.2012 um 15:43 schrieb Adrian Chadd:
> On 4 January 2012 00:00, Stefan Bethke <stb at lassitu.de> wrote:
>
>>> * You've added 'pinon', which lets you set a default output value. I
>>> know at least one board required it for enabling USB power, why's the
>>> tplink need it?
>>
>> Yes, the TL-WR3420 and TL-WR3220 use GPIO 6 to control power to the USB. (That info is in the commit message for that change to ar71xx_gpio.c)
>
> Cool. I'll merge that into -HEAD then.
Long term we'll want to revisit the gpio infrastructure to be able to make use of i.e. polarity of the pins etc., and a more sophisticated way to configure these functions through hints. I'd like to avoid adding another three or four bitmasks...
Stefan
--
Stefan Bethke <stb at lassitu.de> Fon +49 151 14070811
More information about the freebsd-embedded
mailing list