Jouni Rynö wrote:
> I try to upgrade my x2s_usb 2.4 kernel driver to 2.6.
>
> On 2.4 the driver had 6 /dev entries (via devfs)
>
> Now I have to say, that I cannot figure out the proper way to
> generate these /dev entries for the USB-driver. None of the kernel
> provided drivers seem to have that kind of multiple interface.

The ALSA drivers do this.  Their device registrations end up in
snd_register_device() (in sound/core/sound.c).

The main difference to usb_register_dev() seems to be that the former
stores the minors in a list.  I'd guess you'd have to reimplement
usb_register_dev() with this change.


HTH
Clemens



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to