linux

所属分类:软件工程
开发工具:WORD
文件大小:1067KB
下载次数:51
上传日期:2008-04-11 19:35:04
上 传 者lilianhit
说明:  作为一名电子工程师,而且是一个什么都想自己做的人,我一向愿意用计算机来控制外部设备。甚至还在我们父辈的Apple-2e时代,我就已经开始寻找别的平台,希望可以与我定制的环境相连,并且可以写我自己的驱动程序软件。不幸的是,八十年代的个人电脑并没有那么强大,不论在软件层还是硬件层上,个人电脑的内部设计都远不如Apple-2e,并且在很长一段时间内,可以获得的文档都不能令人满意。但是,接着发生的事是Linux出现了,我决定试一试,于是买了昂贵的386主板,并且没有跑任何商业软件。 那时侯,我正在大学里使用Unix系统,并为这样聪明的一个操作系统所震动,特别是又补充了GNU计划提供给用户的更智慧的工具后,我更是为Unix所深深陶醉。在我自己的个人电脑主板上跑Linux实在是一个有趣的经历,我甚至可以自己写设备驱动程序,而且又可以玩烙铁了。我不断告诉别人:“当我长大了,我一定会是个黑客”,Linux是实现这个梦想的绝佳平台。这就是说,用不着长大我就可以实现梦想了。 当Linux成熟起来以后,越来越多的人对写特制电路的设备驱动程序和商业设备的驱动程序感兴趣了。正如Linus Torvalds告知大家:“我们退回到这样一个时代——人人都为自己写设备驱动程序。”

文件列表:
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\00序言.doc (49664, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\01第一章.doc (39424, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\02第二章.doc (78848, 2003-01-15)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\03第三章.doc (65536, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\04第四章.doc (60416, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\05第五章.doc (76800, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\06第六章.doc (127488, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\07第七章.doc (78336, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\08第八章.doc (93184, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\09第九章.doc (200704, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\10第十章.doc (58880, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\11第十一章.doc (91648, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\12第十二章.doc (84480, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\13第十三章.doc (97792, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\14第十四章.doc (134144, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\15第十五章.doc (65536, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\17第十七章.doc (77312, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\2004-02-03_zshuc_linux驱动设计\第十六章.doc (78848, 2001-05-16)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\allocator\allocator.c (8080, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\allocator\allocator.h (1174, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\allocator\Makefile (572, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\foo (0, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\LICENSE (1787, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\local-scratch (496, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\Makefile (503, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\Makefile.alpha (2649, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\Makefile.arm (3727, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\Makefile.ia64 (221, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\Makefile.m68k (3287, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\Makefile.mips (6452, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\Makefile.ppc (1186, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\Makefile.sparc (1083, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\Makefile.sparc64 (1916, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\misc-modules\export.c (1779, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\misc-modules\faulty.c (2351, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\misc-modules\hello.c (700, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\misc-modules\hello2.c (712, 2001-07-11)
linux设备驱动程序(第二版)\linux设备驱动程序(第二版)\linuxdriver2\ldd2-samples-1.0.0\misc-modules\import.c (772, 2001-07-11)
... ...

readme.txt Linux Device Drivers, 2nd Edition Examples You may also retrieve this book's examples from the authors' Web site at ftp://ar.linux.it/pub/ldd2/ . license.txt Unless otherwise stated, the source code distributed with this book can be redistributed in source or binary form so long as an acknowledgment appears in derived source files. The citation should list that the code comes from "Linux Device Drivers" by Alessandro Rubini, published by O'Reilly & Associates. This code is under copyright and cannot be included in any other book, publication, or educational product without permission from O'Reilly & Associates. No warranty is attached; we cannot take responsibility for errors or fitness for use. There are a few exception to this licence, however: a few sources herein are distributed according to the GNU General Public License. You'll find a copy of the license in /usr/src/linux/COPYING, and in other places in your filesystem. The affected source files are: pci/pcidata.c pci/pciregions.c v2.1/pci/pcidata.c v2.1/pci/pciregions.c v2.1/misc-modules/allocator.c The files in ./pci and ./v2.1/pci inherit the GPL from the kernel sources, as some of their code comes straight from the kernel; their being GPL'd doesn't prevent you from writing binary modules, as the code in the pci* modules isn't meant to be included in custom drivers, the modules are just standalone probing tools. The allocator, on the other hand, is completely mine, but I'd better not allow hiding code dealing with memory management. If you want to use the allocator in a binary-only module, just compile it as a standalone module and distribute its source. Note that although everything here is designed to allow building binary modules, I'm strongly against this practice. All software in my opinion should be free (in the sense of freedom). Every Linux user should acknowledge the importance of the GPL and should use it for any new software. Enjoy /alessandro

近期下载者

相关文件


收藏者