发布时间:2013-09-02 02:01:44
介绍了几个设备驱动注册,注销函数:
register_chrdev_region(dev_t first ,unsigned int count ,char *name)
int alloc_chrdev_region(dev_t *dev ,unsigned int firstminor ,unsigned int count ,char *name);
int register_chrdev_region(dev_t from, unsigned count, const char *name)
void unregister_chrdev_region(dev_t from, unsigned count)
void unregister_chrdev(unsigned int major, const char *name)
......【阅读全文】