From owner-freebsd-embedded@FreeBSD.ORG Wed Jan 4 14:45:56 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84FC51065670; Wed, 4 Jan 2012 14:45:56 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 4708F8FC16; Wed, 4 Jan 2012 14:45:56 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 2A12B40712; Wed, 4 Jan 2012 14:45:55 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: Date: Wed, 4 Jan 2012 15:45:54 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <091CDDB2-AF5D-4BD7-8AC2-EC0CC5A78E40@lassitu.de> To: Adrian Chadd X-Mailer: Apple Mail (2.1084) Cc: freebsd-embedded@freebsd.org Subject: Re: dev/etherswitch X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 14:45:56 -0000 Am 04.01.2012 um 15:43 schrieb Adrian Chadd: > On 4 January 2012 00:00, Stefan Bethke 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 Fon +49 151 14070811