how to get information on parport using char driver functions

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

 



I create a simple and small module using char functions to use parport,
now i'm ok to create the device with mknod and the file_operations 
struct with my functions to read, write...
I like to know now how in my open function i can take information about
the status of the parallel port because i can't understead in rubini's book
(I know that the example in the book is not for parport.)
how to do. (I know the macro MOD_INC_USE_COUNT and DEC)
Kernel 2.4

Thanks to all

Claudio Fiorini




--
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