|
作者:Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman
出版日期:February 7, 2005
出版社:O'Reilly
页数:636
ISBN:ISBN-10: 0596005903 ISBN-13: 978-0596005900
文件格式:CHM
Updated to cover version 2.4.x of the Linux kernel, the secondedition of Linux Device Drivers remains the best general-purpose,paper-bound guide for programmers wishing to make hardware devices workunder the world’s most popular open-source operating system. Theauthors take care to show how to write drivers that are portable–thatis, that compile and run under all popular Linux platforms. That, alongwith the fact that they’re careful to explain and illustrate concepts,makes this book very well suited to any programmer familiar with C butnot with the hardware-software interface. It’s worth noting that theemphasis in the title is on “device drivers” as much as “Linux.” Thisbook will make sense to you if you’ve never written a driver for anyplatform before. It helps if you have some Linux or Unix background,but even that is secondary as a prerequisite to C skill.
For a programming text–and one concerned with low-level instructionsand data structures, at that–this book is remarkably rich in prose.You’ll typically want to read this book straight through, more or lessskipping the code samples, before sketching out your plan for thedriver you need to write. Then, go back and pay closer attention to thesections on specific details you need to implement, like custom taskqueues. For coding-time details about specific system calls andprogramming techniques, count on the index to point you to the rightpassages. –David Wall
Topics covered: Techniques for writing hardware device drivers thatrun under Linux kernels 2.0.x through 2.2.x. Sections show how tomanage memory, time, interrupts, ports, and other details of thehardware-software interface. –This text refers to an out of print orunavailable edition of this title.
Product Description
Device drivers literally drive everything you’re interested in–disks,monitors, keyboards, modems–everything outside the computer chip andmemory. And writing device drivers is one of the few areas ofprogramming for the Linux operating system that calls for unique,Linux-specific knowledge. For years now, programmers have relied on theclassic “Linux Device Drivers” from O’Reilly to master this criticalsubject. Now in its third edition, this bestselling guide provides allthe information you’ll need to write drivers for a wide range ofdevices.
Over the years the book has helped countless programmers learn:
how to support computer peripherals under the Linux operating system
how to develop and write software for new hardware under Linux
the basics of Linux operation even if they are not expecting to write a driver
The new edition of “Linux Device Drivers” is better than ever. Thebook covers all the significant changes to Version 2.6 of the Linuxkernel, which simplifies many activities, and contains subtle newfeatures that can make a driver both more efficient and more flexible.Readers will find new chapters on important types of drivers notcovered previously, such as consoles, USB drivers, and more.
Best of all, you don’t have to be a kernel hacker to understand andenjoy this book. All you need is an understanding of the C programminglanguage and some background in Unix system calls. And for maximumease-of-use, the book uses full-featured examples that you can compileand run without special hardware.
Today Linux holds fast as the most rapidly growing segment of thecomputer market and continues to win over enthusiastic adherents inmany applicationareas. With this increasing support, Linux is nowabsolutely mainstream, and viewed as a solid platform for embeddedsystems. If you’re writing device drivers, you’ll want this book. Infact, you’ll wonder how drivers are ever written without it. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|