Re: [linux-usb-devel] [2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pete Zaitcev <zaitcev@...>
Cc: <linux-kernel@...>, <gregkh@...>, <w@...>, <linux-usb-devel@...>
Date: Friday, October 19, 2007 - 1:40 pm

> > Didn't here anything on this? What is our final decision here?

Probably I'm not trying to do what you want. I analyzed locks for other
usb drivers in 2.4 tree and used same ideas.
Static lock minor_table_mutex is used for minor table structure.
And dev->sem for dev manipulations and that's why for open_count.
If you will simply browse /drivers/usb dir for 2.4 you will see that
such approach is widely used there.
What's not right?
Certainly, you have more experience so I can't say that I'm right.


Yes, got it. It's up for minor_table_mutex in adu_release. Corrected.


Let's do everything correctly for 2.4.

V.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [linux-usb-devel] [2.4 patch] Port of adutux driver from..., Vitaliy Ivanov, (Fri Oct 19, 1:40 pm)