Hi Greg,
Someone earlier today was going to change their driver to only do
it on the open (perhaps it was you?). I think this is the correct approach
as (they said) you might want to reload the module without having to
unplug and replug the device.
regards,
Stephen.
On Wed, 24 May 2000, Greg KH wrote:
> Hi all,
>
> The latest patch from Dmitri for the ibmcam reminded me that we have two
> different ways the usb drivers call MOD_INC_USE_COUNT. One group of
> drivers (ibmcam, keyboard, mice, printer, acm, and other input devices)
> only increment the module use when the device is opened (if at all, like
> the mouse driver).
>
> The other drivers increment it when the device is recognized
> (usb-serial, dabusb, uss720, and others).
>
> Which way should it be? On successful probe() or on open()?
>
> I would like to see them all work the same, be it one way or the other
> and I really don't have a preference.
>
> thanks,
>
> greg k-h
> greg@(kroah|wirex).com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
/------------------------------+-=-=-=-=-+-------------------------\
|Stephen J. Gowdy |A4000/040| Mail Stop 50A-2160, LBL, |
|http://www.ph.ed.ac.uk/~gowdy/ | 1GB HD| 1 Cyclotron Rd, Berkeley,|
| |20MB RAM| CA 94720, USA |
|InterNet: [EMAIL PROTECTED] |3.4xCDROM| Tel: +1 510 495 2796 |
\------------------------------+-=-=-=-=-+-------------------------/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]