On Thu, 17 Feb 2005, Zwane Mwaikambo wrote:
> On Thu, 17 Feb 2005, Davide Rossetti wrote:
>
> > maybe RTFM...
> > a module:
> > - char device driver for..
> > - a PCI device
> >
> > any clue as to how to protect from module unloading while there is still
> > some
> > process opening it??? have
On Thu, 17 Feb 2005, Davide Rossetti wrote:
> maybe RTFM...
> a module:
> - char device driver for..
> - a PCI device
>
> any clue as to how to protect from module unloading while there is still some
> process opening it??? have I to sleep in the remove_one() pci driver function
> till last proce
Davide Rossetti <[EMAIL PROTECTED]> writes:
> maybe RTFM...
> a module:
> - char device driver for..
> - a PCI device
Setting the 'owner' field of your char device's file_operations
structure to THIS_MODULE should be sufficient to enable the kernel to
manage the reference count for you. This is
On Thu, 17 Feb 2005, Davide Rossetti wrote:
maybe RTFM...
a module:
- char device driver for..
- a PCI device
any clue as to how to protect from module unloading while there is still some
process opening it??? have I to sleep in the remove_one() pci driver function
till last process closes its fi
maybe RTFM...
a module:
- char device driver for..
- a PCI device
any clue as to how to protect from module unloading while there is still
some process opening it??? have I to sleep in the remove_one() pci
driver function till last process closes its file descriptor???
static void __devexit aped
5 matches
Mail list logo