int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count,const char *name);. 其中register_chrdev函數方法可以選擇兩種方式進行 ...
確定! 回上一頁