Re: Changing the gpio(4) API/ABI

2011-09-27 Thread Marc Balmer
Am 27.09.11 02:44, schrieb Matthew Mondor: > On Fri, 23 Sep 2011 12:38:13 +0200 > Marc Balmer wrote: > >> With gpio(4) we still carry an old API with us, which I want to remove. >> While working on it, I will also introduce a third locator to device drivers >> that attach to gpio pins, flags.

Re: Changing the gpio(4) API/ABI

2011-09-26 Thread Matthew Mondor
On Fri, 23 Sep 2011 12:38:13 +0200 Marc Balmer wrote: > With gpio(4) we still carry an old API with us, which I want to remove. > While working on it, I will also introduce a third locator to device drivers > that attach to gpio pins, flags. It will be needed for e.g. gpioiic(4) to > invert

Re: Changing the gpio(4) API/ABI

2011-09-25 Thread Marc Balmer
Am 25.09.11 22:11, schrieb Ken Hornstein: >> Sure. I plan to remove the old API, which has not been documented for >> quite a while: > > In fairness ... "quite a while" is a bit misleading. The "old" API was > the only API available as of the last release of NetBSD. Okay, that > release was a w

Re: Changing the gpio(4) API/ABI

2011-09-25 Thread Ken Hornstein
>Sure. I plan to remove the old API, which has not been documented for >quite a while: In fairness ... "quite a while" is a bit misleading. The "old" API was the only API available as of the last release of NetBSD. Okay, that release was a while ago, but if you're like me and generally only use

Re: Changing the gpio(4) API/ABI

2011-09-25 Thread Marc Balmer
Am 25.09.2011 um 00:31 schrieb Ken Hornstein: >> gpio(4) isn't in any release, right? you're almost certainly the >> major user so far, i don't think there's much benefit to backwards >> comapt code here. > > gpio(4) is in at least NetBSD 5.0.1. Actually, I also see it on a > NetBSD 4.0.1 syst

Re: Changing the gpio(4) API/ABI

2011-09-24 Thread Ken Hornstein
>gpio(4) isn't in any release, right? you're almost certainly the >major user so far, i don't think there's much benefit to backwards >comapt code here. gpio(4) is in at least NetBSD 5.0.1. Actually, I also see it on a NetBSD 4.0.1 system I have here as well, so it's been around for a while. I

re: Changing the gpio(4) API/ABI

2011-09-24 Thread matthew green
gpio(4) isn't in any release, right? you're almost certainly the major user so far, i don't think there's much benefit to backwards comapt code here. .mrg.

Re: Changing the gpio(4) API/ABI

2011-09-24 Thread Christos Zoulas
In article <4e7e14f0.2050...@msys.ch>, Marc Balmer wrote: >On 09/23/11 12:38, Marc Balmer wrote: >> With gpio(4) we still carry an old API with us, which I want to >remove. While working on it, I will also introduce a third locator to >device drivers that attach to gpio pins, flags. It will be

Re: Changing the gpio(4) API/ABI

2011-09-24 Thread Marc Balmer
On 09/23/11 12:38, Marc Balmer wrote: With gpio(4) we still carry an old API with us, which I want to remove. While working on it, I will also introduce a third locator to device drivers that attach to gpio pins, flags. It will be needed for e.g. gpioiic(4) to invert the SDA/SCL pin numbers.

Changing the gpio(4) API/ABI

2011-09-23 Thread Marc Balmer
With gpio(4) we still carry an old API with us, which I want to remove. While working on it, I will also introduce a third locator to device drivers that attach to gpio pins, flags. It will be needed for e.g. gpioiic(4) to invert the SDA/SCL pin numbers. WIll documenting the changes be enough