Query regarding devfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Iam using devfs in  a driver for a pci based data acquistion card
my doubt is what is the last parameter in the function below
devfs_handle_t devfs_register (devfs_handle_t dir, const char * name,
unsigned int flags, unsigned int major, unsigned int minor, umode_t mode,
void * ops, void * info);
the man pages says that it is  an arbitrary pointer which will be written to
the private data of the file structure,
so what is the actual purpose of the private data, can i pass user defined
structure that has details about
the card as the private data( so that this structure can be used further in
read, write and ioctl implementations )

Also need more info about devfsd installation its showing some error like
DEVFSD_NOTIFY_DELETE 

Thanks
Sitaram





---------------------------------------------------------------------------
       "This e-mail and any files transmitted with it are for the sole use
of the intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.

       Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken upon this e-mail is
strictly prohibited and may be unlawful."
---------------------------------------------------------------------------

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux