Re: [linux-usb-devel] device probe order

2005-06-30 Thread Alan Stern
On Wed, 29 Jun 2005, matthieu castet wrote: > Hi, > > I am writing a driver for an usb device, and I want to support multi-device. > I want to allow some user configurations for the devices, so I use > module options and module_param_array. > > I would like to know if the device are always prob

Re: [linux-usb-devel] device probe order

2005-06-29 Thread Duncan Sands
> I see. Yes, you should use the serial number to identify which device > corresponds to which parameter value. I don't know of any examples of > drivers doing that, but it should be easy enough to write. And it will be > reliable, no matter what the order of probing is -- even if devices are

Re: [linux-usb-devel] device probe order

2005-06-29 Thread Alan Stern
On Wed, 29 Jun 2005, matthieu castet wrote: > Hi, > > Alan Stern wrote: > > On Wed, 29 Jun 2005, matthieu castet wrote: > > > > > >>Hi, > >> > >>I am writing a driver for an usb device, and I want to support multi-device. > >>I want to allow some user configurations for the devices, so I use >

Re: [linux-usb-devel] device probe order

2005-06-29 Thread matthieu castet
Hi, Alan Stern wrote: On Wed, 29 Jun 2005, matthieu castet wrote: Hi, I am writing a driver for an usb device, and I want to support multi-device. I want to allow some user configurations for the devices, so I use module options and module_param_array. I would like to know if the device a

[linux-usb-devel] device probe order

2005-06-29 Thread matthieu castet
Hi, I am writing a driver for an usb device, and I want to support multi-device. I want to allow some user configurations for the devices, so I use module options and module_param_array. I would like to know if the device are always probed in the same order if we don't plug/unplug device on t