From owner-freebsd-arm@FreeBSD.ORG Thu Nov 23 06:41:55 2006 Return-Path: X-Original-To: arm@FreeBSD.org Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 133C416A407; Thu, 23 Nov 2006 06:41:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5055843D49; Thu, 23 Nov 2006 06:41:21 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id kAN6dL79010291; Wed, 22 Nov 2006 23:39:21 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 22 Nov 2006 23:40:05 -0700 (MST) Message-Id: <20061122.234005.723205711.imp@bsdimp.com> To: kevlo@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <1164256280.5038.14.camel@monet> References: <200611221257.kAMCvHLT053236@repoman.freebsd.org> <20061122.104443.1324583801.imp@bsdimp.com> <1164256280.5038.14.camel@monet> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 22 Nov 2006 23:39:22 -0700 (MST) Cc: arm@FreeBSD.org Subject: Re: cvs commit: src/sys/arm/conf AVILA src/sys/arm/xscale/ixp425 avila_led.c files.avila ixp425.c X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2006 06:41:55 -0000 In message: <1164256280.5038.14.camel@monet> Kevin Lo writes: : M. Warner Losh wrote: : > In message: <200611221257.kAMCvHLT053236@repoman.freebsd.org> : > Kevin Lo writes: : > : Bring in status led support for /dev/led/gpioled on Avila. : > : 1.1 +114 -0 src/sys/arm/xscale/ixp425/avila_led.c (new) : > : > Maybe it is time to start thinking of a more generic GPIO framework : > that the led can plug into... : : I like the idea :-) Having an API for gpio drivers makes life : easier when writing a driver. : : > I've started on one in the p4 tree for the atmel PIO. It is : > incomplete and just an API right now (no gpio bus that devices can : > attach to). Care to comment? : : Since OpenBSD implemented in their gpio(4) driver, how about improving : your work based on OpenBSD's gpio driver? I think it needs a little refinement still. There's two parts. I did the API, but not the internal kernel framework... Warner