At 10:35 AM 10/25/2002 +0200, Oliver Neukum wrote:
Yeah, that's what I had come up with in my message from yesterday. My concern was you'd have to set the max number of devices up front. That wouldn't bother me if the table were say 32 pointer entries (to my knowledge the most cameras used by one machine with my driver is 8).So in your read the easiest fix would be not to let proc pass you a pointer to a device descriptor, but an offset into a table of pointers to device descriptors which you can protect with a spinlock. Probe and disconnect would have to update the table.
I think I can live with the solution. I'll make the fix and send out the patch.OK, this sucks. But if you are insisting on using proc, you pay the price.
-Joe
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
