Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-05 Thread Janne Grunau
On Sunday 05 August 2007 06:01:46 Oliver Endriss wrote: > Janne Grunau wrote: > > Hi, > > > > Dynamic loading of modules by udev on startup (aka coldplugging) > > doesn't result in deterministic dvb adapter numbers. > > > > Besides following changes in dvb-core and dvb-usb core the patch > > adds t

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-05 Thread David Matthews
Oliver Endriss wrote: > Janne Grunau wrote: >> Dynamic loading of modules by udev on startup (aka coldplugging) doesn't >> result in deterministic dvb adapter numbers. >> >> Besides following changes in dvb-core and dvb-usb core the patch adds to >> all drivers >> ... > > While I don't care much

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-04 Thread Oliver Endriss
Janne Grunau wrote: > Hi, > > Dynamic loading of modules by udev on startup (aka coldplugging) doesn't > result in deterministic dvb adapter numbers. > > V4L drivers have the {radio|vbi|video}_nr module options to allocate > static minor numbers per driver. > Attached patch adds a similiar mechan

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-04 Thread Janne Grunau
On Saturday 04 August 2007 07:00:42 you wrote: > On 8/4/07, Manu Abraham <[EMAIL PROTECTED]> wrote: > > On 8/4/07, Michael Krufky <[EMAIL PROTECTED]> wrote: > > > Manu Abraham wrote: > > > > On 8/4/07, Janne Grunau <[EMAIL PROTECTED]> wrote: > > > >> On Saturday 04 August 2007 00:02:29 Manu Abraham

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-03 Thread Manu Abraham
On 8/4/07, Manu Abraham <[EMAIL PROTECTED]> wrote: > On 8/4/07, Michael Krufky <[EMAIL PROTECTED]> wrote: > > Manu Abraham wrote: > > > On 8/4/07, Janne Grunau <[EMAIL PROTECTED]> wrote: > > >> On Saturday 04 August 2007 00:02:29 Manu Abraham wrote: > > >>> Do we really want to have adapter numbers

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-03 Thread Manu Abraham
On 8/4/07, Michael Krufky <[EMAIL PROTECTED]> wrote: > Manu Abraham wrote: > > On 8/4/07, Janne Grunau <[EMAIL PROTECTED]> wrote: > >> On Saturday 04 August 2007 00:02:29 Manu Abraham wrote: > >>> Do we really want to have adapter numbers in DVB bridge drivers ? > >>> IMHO, it doesn't look pleasing

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-03 Thread Michael Krufky
Manu Abraham wrote: > On 8/4/07, Janne Grunau <[EMAIL PROTECTED]> wrote: >> On Saturday 04 August 2007 00:02:29 Manu Abraham wrote: >>> Do we really want to have adapter numbers in DVB bridge drivers ? >>> IMHO, it doesn't look pleasing to have that. >> I think it's worthwhile to have it. >>> Is th

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-03 Thread Manu Abraham
On 8/4/07, Janne Grunau <[EMAIL PROTECTED]> wrote: > On Saturday 04 August 2007 00:02:29 Manu Abraham wrote: > > > > Do we really want to have adapter numbers in DVB bridge drivers ? > > IMHO, it doesn't look pleasing to have that. > > I think it's worthwhile to have it. > > > > Is there any other

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-03 Thread Janne Grunau
On Saturday 04 August 2007 00:02:29 Manu Abraham wrote: > > Do we really want to have adapter numbers in DVB bridge drivers ? > IMHO, it doesn't look pleasing to have that. I think it's worthwhile to have it. > > Is there any other possible better alternatives ? Something similiar is possible wit

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-03 Thread Michael Krufky
Manu Abraham wrote: > On 8/2/07, Janne Grunau <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Dynamic loading of modules by udev on startup (aka coldplugging) doesn't >> result in deterministic dvb adapter numbers. >> >> V4L drivers have the {radio|vbi|video}_nr module options to allocate >> static minor n

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-03 Thread Janne Grunau
On Friday 03 August 2007 21:28:01 Michael Krufky wrote: > I say Janne should continue on and convert the rest of the drivers... > Is anybody opposed? done Janne Adds adapter_nr module parameter to all dvb drivers to specify the preferred allocation of device minor numbers per driver. Signed-off-

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-03 Thread Manu Abraham
On 8/2/07, Janne Grunau <[EMAIL PROTECTED]> wrote: > Hi, > > Dynamic loading of modules by udev on startup (aka coldplugging) doesn't > result in deterministic dvb adapter numbers. > > V4L drivers have the {radio|vbi|video}_nr module options to allocate > static minor numbers per driver. > Attached

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-03 Thread Michael Krufky
Janne Grunau wrote: > Hi, > > Dynamic loading of modules by udev on startup (aka coldplugging) doesn't > result in deterministic dvb adapter numbers. > > V4L drivers have the {radio|vbi|video}_nr module options to allocate > static minor numbers per driver. > Attached patch adds a similiar mechan

Re: [linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-01 Thread Nick Andrew
On Thu, Aug 02, 2007 at 03:15:04AM +0200, Janne Grunau wrote: > Dynamic loading of modules by udev on startup (aka coldplugging) doesn't > result in deterministic dvb adapter numbers. Isn't the usual response to write some udev rules to set the name based on device characteristics? Thus taking th

[linux-dvb] [RFC PATCH] Choose dvb adapter number with a driver specific module option

2007-08-01 Thread Janne Grunau
Hi, Dynamic loading of modules by udev on startup (aka coldplugging) doesn't result in deterministic dvb adapter numbers. V4L drivers have the {radio|vbi|video}_nr module options to allocate static minor numbers per driver. Attached patch adds a similiar mechanism to the dvb subsystem. To avoid p