functions for device driver
Is there anyone an expert for device driver? If I wanted to use function such as "alloc_chrdev_region()" or "class_device_create()", where I can find the detail information about them?
Thanks, bliu |
I think we will need some context for this.....What kind of driver? What development environment? ...etc.
Functions get defined either in your code or in some library function. If you are writing a kernel module, then you will use the kernel headers as part of your development environment. Do you have this book?: http://oreilly.com/catalog/9780596005900/ |
The very best source of information is the Linux kernel itself. Install the source-code packages if you have not already done so.
|
Hi,
if you have linux device drivers 3rd edition book, please read the 3rd chapter..... and if you linux source please go through the fs.h ( include/linux/fs.h ) thanks.... |
All times are GMT -5. The time now is 07:42 AM. |