Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by 0quanquan0@Oct 18 2006, 11:39 AM thanks you, hippo. i have found this file, but i am a little confused, i don't know how to find useful information in it, how can i find the major number i can used?
and i have another question about register device driver:
i am studying two examples of led driver, they use different register methods,
one just uses the register_chrdev() function, but another uses devfs_register_chrdev(), devfs_mk_dir(), devfs_register() to finish register.
can you tell me the difference betweem them?
thank you very much.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18764)
--- quote end ---
--- Quote End --- Look in ch3 of the (must have) book "Linux Device Driver 3rd ed."