github_ldd3forlinux3.x

所属分类:驱动编程
开发工具:Unix_Linux
文件大小:324KB
下载次数:21
上传日期:2012-12-30 22:36:01
上 传 者ddefe
说明:  ldd3 <linux设备驱动程序>的源代码 经过改写 从国外某FTP下载 适用于 3.x LINUX系统 书中自带地址下载的代码仅仅适合 2.X LINUX
(ldd3 linux device driver source code but rewritten for 3.x LINUX system)

文件列表:
github_ldd3forlinux3.x\github_ldd3\include\lddbus.h (855, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\lddbus\lddbus.c (3870, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\lddbus\Makefile (722, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\lddbus\Module.symvers (332, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\lddbus\modules.order (47, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\LICENSE (1091, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\Makefile (289, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\complete.c (2128, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\faulty.c (1973, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\hello.c (463, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\hellop.c (1130, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\jiq.c (6533, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\jit.c (7570, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\kdataalign.c (2269, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\kdatasize.c (1472, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\Makefile (987, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\Module.symvers (0, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\modules.order (581, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\seq.c (2044, 2012-04-29)
github_ldd3forlinux3.x\github_ldd3\misc-modules\silly.c (6200, 2012-04-29)
... ...

ldd3: Linux Device Drivers 3 examples updated to work with recent kernels About ----- Linux Device Drivers 3 (http://lwn.net/Kernel/LDD3/) book is now a few years old and most of the example drivers do not compile in recent kernels. Also, many new changes were introduced in the kernel since version 2.6.10. Examples for many ABIs are not covered in the book, like netlink sockets, threaded interrupt handlers, debugfs, etc. This project aims to keep LDD3 example drivers up-to-date with recent kernels. The original code can be found at: http://examples.oreilly.com/9780596005900/ Besides the original drivers, there is a plan to add more examples that cover more recent kernel features like the listed before. Compiling ---------- The example drivers should compile and work with popular kernel versions. Right now version 2.6.32, 2.6.35 and linux-next are supported. The tree has three branches: * v2.6.32 * v2.6.35 * master These branches will compile and work with the trees: * git://git.kernel.org/pub/scm/linux/kernel/git/longterm/linux-2.6.32.y.git * git://git.kernel.org/pub/scm/linux/kernel/git/longterm/linux-2.6.35.y.git * git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git To compile the drivers against a specific tree (for example linux-next): $ git clone git://github.com/martinezjavier/ldd3.git $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git $ export KERNELDIR=/path/to/linux-net $ cd ldd3 $ make Bugs, comments or patches: martinez.javier@gmail.com

近期下载者

相关文件


收藏者