- From: Bernd Porr <Bernd.Porr_at_cn.stir.ac.uk>
- Date: Sun, 03 Aug 2003 21:45:42 +0100
Testing under 2.6: All comedi modules (without the drivers) work so far under linux-2.6.0-test2. The only driver which has been adjusted is my USB driver (sorry, but I need to do some debugging with Dave Brownell for USB 2.0) which works now nicely under 2.6. There are still two unresolved issues: 1) suser() does no longer exist under 2.6. Therefore the open function does not test it any more. 2) Page locking is still not there: the kernel might swap the buffers onto the hard disk. Otherwise: it works! The tar ball is still under: http://www.cn.stir.ac.uk/~bp1/linux-2.6.0-test2.tgz See instructions in the other e-mail. Finally I would like to suggest to remove the "fake" directories "include/linux" etc and make the comedi modules compile as if they were within the kernel tree. Probably the "cleanest" way is that comedi copies itself into the kernel tree and uses the existing make scripts etc. The tar ball contains the comedi tree how it could stay inside of the kernel tree. However, even if this is not wanted by the comunity the includes in comedi point to include/linux what is misleading as they point to those fake directories. A cleaner way is to call the comedi include dirs really "comedi": #include <comedi/comedidev.h>, for example and not #include <linux/comedidev.h>. /Bernd -- http://www.cn.stir.ac.uk/~bp1/ mailto:bp1_at_cn.stir.ac.uk
Received on 2003-08-03Z19:45:42