alloc_chrdev_region申请一个动态主设备号,并申请一系列次设备号。baseminor为起始次设备号,count为次设备号的数量。
posted on 2018-01-11 16:23 木花猫 阅读(487) 评论(0) 收藏 举报