alloc_chrdev_region (&mychar, 0, num, name); printk(KERN_WARNING "CHAR TEST: major number is %d\n", MAJOR(mychar)); return 0; }.
確定! 回上一頁