Date: Wed, 22 Nov 2006 23:40:05 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: kevlo@FreeBSD.org 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 Message-ID: <20061122.234005.723205711.imp@bsdimp.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <1164256280.5038.14.camel@monet> Kevin Lo <kevlo@FreeBSD.org> writes: : M. Warner Losh wrote: : > In message: <200611221257.kAMCvHLT053236@repoman.freebsd.org> : > Kevin Lo <kevlo@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061122.234005.723205711.imp>