Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2012 15:45:54 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: dev/etherswitch
Message-ID:  <E627B127-B74F-446C-995D-4524B14D02BA@lassitu.de>
In-Reply-To: <CAJ-VmonPTL9pwqk2O9brmz%2B66U8WCv2n0etZ1ncaCfUC6Z1z-g@mail.gmail.com>
References:  <C456CF98-0E0D-4563-8FDB-B77B8CF5B9E1@lassitu.de> <CAJ-VmomL=v00uEN62V8NSFEoD9LcUg1KVW38HrXxT-gXnZoO4g@mail.gmail.com> <CAJ-VmonwDFJzReS%2BRE6umGK8XoFwPOt=FGFAyOhYtOvjzM7sCQ@mail.gmail.com> <091CDDB2-AF5D-4BD7-8AC2-EC0CC5A78E40@lassitu.de> <CAJ-VmonPTL9pwqk2O9brmz%2B66U8WCv2n0etZ1ncaCfUC6Z1z-g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 04.01.2012 um 15:43 schrieb Adrian Chadd:

> On 4 January 2012 00:00, Stefan Bethke <stb@lassitu.de> wrote:
>=20
>>> * 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?
>>=20
>> 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)
>=20
> 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

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E627B127-B74F-446C-995D-4524B14D02BA>