|
Driver porting: Char devices and large dev_tDriver porting: Char devices and large dev_tPosted Sep 29, 2003 12:31 UTC (Mon) by cynove (guest, #15558)Parent article: Driver porting: Char devices and large dev_t Sure this interface is fine, but how can I make it available to build my out of kernel tree module ? When using register_chrdev, everything is fine. The only difference I found is that register_chrdev is defined as extern in <linux/fs.h>, and cdev_ are just declared in cdev.h. How can I make these functions available to my modules ?
(Log in to post comments)
Driver porting: Char devices and large dev_t Posted Sep 29, 2003 12:45 UTC (Mon) by cynove (guest, #15558) [Link] Maybe I should have done more googling !It seems the response is there : http://www.ussg.iu.edu/hypermail/linux/kernel/0309.2/0150.html
Exporting char dev functions Posted Sep 29, 2003 13:53 UTC (Mon) by corbet (editor, #1) [Link] That patch went into -test6; upgrade and your module should work.Do be aware that the char driver interface is still somewhat volatile; things will still change somewhat before it's all over.
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.