Description: Describe this nonsense.
blog (28659) responsive (9234) modern (7163) theme (2696) jekyll (1214) themes (859)
I love developing embedded system,love linux ,andriod and radio frequency!
linux/types.h: > 1.dev_t; 2.int MAJOR(dev_t dev); 3.int MINOR(dev_t dev); 4.dev MKDEV(unsigned int major,unsigned int minor);
linux/fs.h: > 1.int register_chrdev_region(dev_t first,unsigned int count,char* name); 2.int alloc_chrdev_region(dev_t* dev,unsigned int firstminor,unsigned int count,char* name); 3.void unregister_chrdev_region(dev_t first,unsigned int count); 4.struct file; 5.struct file_operations; 6.struct inode;