Re: [patch/rfc 2.6.19-rc5] arch-neutral GPIO calls

2006-11-30 Thread David Brownell
On Wednesday 29 November 2006 10:57 pm, pHilipp Zabel wrote: > > > > Effectively, yes. I counted quite a few implementations in the current > > tree which can trivially (#defines) map to that API. > > I tried to do that for pxa, the patch is attached. At a quick glance, that looked correct. How

Re: [patch/rfc 2.6.19-rc5] arch-neutral GPIO calls

2006-11-29 Thread pHilipp Zabel
On 11/30/06, pHilipp Zabel <[EMAIL PROTECTED]> wrote: > Effectively, yes. I counted quite a few implementations in the current > tree which can trivially (#defines) map to that API. Or so I thought, sorry. regards Philipp Index: linux-2.6/include/asm-arm/arch-pxa/gpio.h ==

Re: [patch/rfc 2.6.19-rc5] arch-neutral GPIO calls

2006-11-29 Thread pHilipp Zabel
Hi, On 11/23/06, David Brownell <[EMAIL PROTECTED]> wrote: On Tuesday 21 November 2006 7:57 am, Bill Gatliff wrote: > Once you're hiding the GPIO number behind an enumeration, you can create > a bitmap with more information than a single integer. That extra > information could be used--- in my