Registration for SciPy India 2021 is open!     Click here to register.

Registering a Character Device Number - English

720 visits



Outline:

About device file About serial character device files Major and minor numbers of a device Internal representation of device number About fs.h file About alloc_chrdev_region() function Major and Minor macros About Unregister_chrdev_region()function Working of the above functions Compile the driver Display the output of major and minor number of my_device