... Request the kernel for N_MINOR devices */ alloc_chrdev_region(&dev_num, 0, ... 所需的設備號碼。 alloc_chrdev_region()用於動態分配設備號,由內核完成。
確定! 回上一頁