Re: Linux-2.6.13 : __check_region is deprecated

2005-08-30 Thread Randy.Dunlap
On Tue, 30 Aug 2005, David Hollis wrote: > On Tue, 2005-08-30 at 01:55 +0200, Diego Calleja wrote: > > El Tue, 30 Aug 2005 01:34:25 +0200, > > Jesper Juhl <[EMAIL PROTECTED]> escribió: > > > > > I don't see why we should break a bunch of drivers by doing that. > > > Much better, in my oppinion,

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-30 Thread Adrian Bunk
On Tue, Aug 30, 2005 at 10:28:37AM -0400, David Hollis wrote: > On Tue, 2005-08-30 at 01:55 +0200, Diego Calleja wrote: > > El Tue, 30 Aug 2005 01:34:25 +0200, > > Jesper Juhl <[EMAIL PROTECTED]> escribió: > > > > > I don't see why we should break a bunch of drivers by doing that. > > > Much

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-30 Thread David Hollis
On Tue, 2005-08-30 at 01:55 +0200, Diego Calleja wrote: > El Tue, 30 Aug 2005 01:34:25 +0200, > Jesper Juhl <[EMAIL PROTECTED]> escribió: > > > I don't see why we should break a bunch of drivers by doing that. > > Much better, in my oppinion, to fix the few remaining drivers still > > using

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-30 Thread Stephane Wirtel
Le Tuesday 30 August 2005 a 01:08, Stephane Wirtel ecrivait: > Hi, > > By compiling my kernel, I can see that the __check_region function (in > kernel/resource.c) is deprecated. > > With a grep on the source code of the last release, I get this result. > > drivers/pnp/resource.c:255:

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-30 Thread Stephane Wirtel
Le Tuesday 30 August 2005 a 01:08, Stephane Wirtel ecrivait: Hi, By compiling my kernel, I can see that the __check_region function (in kernel/resource.c) is deprecated. With a grep on the source code of the last release, I get this result. drivers/pnp/resource.c:255: if

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-30 Thread David Hollis
On Tue, 2005-08-30 at 01:55 +0200, Diego Calleja wrote: El Tue, 30 Aug 2005 01:34:25 +0200, Jesper Juhl [EMAIL PROTECTED] escribió: I don't see why we should break a bunch of drivers by doing that. Much better, in my oppinion, to fix the few remaining drivers still using check_region and

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-30 Thread Adrian Bunk
On Tue, Aug 30, 2005 at 10:28:37AM -0400, David Hollis wrote: On Tue, 2005-08-30 at 01:55 +0200, Diego Calleja wrote: El Tue, 30 Aug 2005 01:34:25 +0200, Jesper Juhl [EMAIL PROTECTED] escribió: I don't see why we should break a bunch of drivers by doing that. Much better, in my

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-30 Thread Randy.Dunlap
On Tue, 30 Aug 2005, David Hollis wrote: On Tue, 2005-08-30 at 01:55 +0200, Diego Calleja wrote: El Tue, 30 Aug 2005 01:34:25 +0200, Jesper Juhl [EMAIL PROTECTED] escribió: I don't see why we should break a bunch of drivers by doing that. Much better, in my oppinion, to fix the few

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Jesper Juhl
On 8/30/05, Diego Calleja <[EMAIL PROTECTED]> wrote: > El Tue, 30 Aug 2005 01:34:25 +0200, > Jesper Juhl <[EMAIL PROTECTED]> escribió: > > > I don't see why we should break a bunch of drivers by doing that. > > Much better, in my oppinion, to fix the few remaining drivers still > > using

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Diego Calleja
El Tue, 30 Aug 2005 01:34:25 +0200, Jesper Juhl <[EMAIL PROTECTED]> escribió: > I don't see why we should break a bunch of drivers by doing that. > Much better, in my oppinion, to fix the few remaining drivers still > using check_region and *then* kill it. Even unmaintained drivers may I'd

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Jesper Juhl
On 8/30/05, Diego Calleja <[EMAIL PROTECTED]> wrote: [snip] > > /me wonders why check_region has not been killed, it has been > deprecated for years; killing it would force developers to fix it > and would help to identify unmaintained drivers... I don't see why we should break a bunch of

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Diego Calleja
El Tue, 30 Aug 2005 01:14:17 +0200, Stephane Wirtel <[EMAIL PROTECTED]> escribió: > Is there a function to replace this deprecated function ? request_region > Why is it deprecated ? >From http://lists.osdl.org/pipermail/kernel-janitors/2004-January/000346.html: "The reason that check_region()

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Jesper Juhl
On 8/30/05, Stephane Wirtel <[EMAIL PROTECTED]> wrote: > Hi, > > By compiling my kernel, I can see that the __check_region function (in > kernel/resource.c) is deprecated. > [snip] > > Is there a function to replace this deprecated function ? > Yes, you just call request_region() and check its

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Randy.Dunlap
On Tue, 30 Aug 2005, Stephane Wirtel wrote: > Hi, > > By compiling my kernel, I can see that the __check_region function (in > kernel/resource.c) is deprecated. > > With a grep on the source code of the last release, I get this result. > > drivers/pnp/resource.c:255: if

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Randy.Dunlap
On Tue, 30 Aug 2005, Stephane Wirtel wrote: Hi, By compiling my kernel, I can see that the __check_region function (in kernel/resource.c) is deprecated. With a grep on the source code of the last release, I get this result. drivers/pnp/resource.c:255: if

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Jesper Juhl
On 8/30/05, Stephane Wirtel [EMAIL PROTECTED] wrote: Hi, By compiling my kernel, I can see that the __check_region function (in kernel/resource.c) is deprecated. [snip] Is there a function to replace this deprecated function ? Yes, you just call request_region() and check its return

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Diego Calleja
El Tue, 30 Aug 2005 01:14:17 +0200, Stephane Wirtel [EMAIL PROTECTED] escribió: Is there a function to replace this deprecated function ? request_region Why is it deprecated ? From http://lists.osdl.org/pipermail/kernel-janitors/2004-January/000346.html: The reason that check_region() is

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Jesper Juhl
On 8/30/05, Diego Calleja [EMAIL PROTECTED] wrote: [snip] /me wonders why check_region has not been killed, it has been deprecated for years; killing it would force developers to fix it and would help to identify unmaintained drivers... I don't see why we should break a bunch of drivers by

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Diego Calleja
El Tue, 30 Aug 2005 01:34:25 +0200, Jesper Juhl [EMAIL PROTECTED] escribió: I don't see why we should break a bunch of drivers by doing that. Much better, in my oppinion, to fix the few remaining drivers still using check_region and *then* kill it. Even unmaintained drivers may I'd usually

Re: Linux-2.6.13 : __check_region is deprecated

2005-08-29 Thread Jesper Juhl
On 8/30/05, Diego Calleja [EMAIL PROTECTED] wrote: El Tue, 30 Aug 2005 01:34:25 +0200, Jesper Juhl [EMAIL PROTECTED] escribió: I don't see why we should break a bunch of drivers by doing that. Much better, in my oppinion, to fix the few remaining drivers still using check_region and