From owner-freebsd-embedded@FreeBSD.ORG Wed Jan 4 14:49:43 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 875B110657C0 for ; Wed, 4 Jan 2012 14:49:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F3748FC16 for ; Wed, 4 Jan 2012 14:49:42 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so22814071vcb.13 for ; Wed, 04 Jan 2012 06:49:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dIrK+DXkCgRUEc5wnv65e43gLAH+GVBciqQ/ijB+LQc=; b=xtkAz5XQtRbFHxHMB6lvBrKL/JgVqAPCf9lMEplsSbqwzUm+q82NwUq0negoLKAE/0 hZg0DAf5i9hV3LgMW7/vMumW0E9XYlxu1uihLvTloiIPrgbQE19Ho73J23zPPGsS45vx 4lFhAJAm4d8MU2LO8N9uCGNrzBhszKacDplKI= MIME-Version: 1.0 Received: by 10.52.29.16 with SMTP id f16mr26782906vdh.45.1325688581198; Wed, 04 Jan 2012 06:49:41 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.36.5 with HTTP; Wed, 4 Jan 2012 06:49:37 -0800 (PST) In-Reply-To: References: <091CDDB2-AF5D-4BD7-8AC2-EC0CC5A78E40@lassitu.de> Date: Wed, 4 Jan 2012 06:49:37 -0800 X-Google-Sender-Auth: oJOJXW3Pq9tNViKwMYaHMqD_00g Message-ID: From: Adrian Chadd To: Stefan Bethke Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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:49:43 -0000 On 4 January 2012 06:45, Stefan Bethke wrote: > Long term we'll want to revisit the gpio infrastructure to be able to mak= e use of i.e. polarity of the pins etc., and a more sophisticated way to co= nfigure these functions through hints. =A0I'd like to avoid adding another = three or four bitmasks... Well long term I think we shouldn't be using bitmasks, but should configure each GPIO pin along with default values. But that can come later. Adrian