Publisher: O'Reilly Media Released: June 2001 Pages: 592
This book is for anyone who wants to support computer peripherals under the Linux operating system or who wants to develop new hardware and run it under Linux. Linux is the fastest-growing segment of the Unix market, is winning over enthusiastic adherents in many application areas, and is being viewed more and more as a good platform for embedded systems. Linux Device Drivers, already a classic in its second edition, reveals information that heretofore has been shared by word of mouth or in cryptic source code comments, on how to write drivers for a wide range of devices. Version 2.4 of the Linux kernel includes significant changes to device drivers, simplifying many activities, but providing subtle new features that can make a driver both more efficient and more flexible. The second edition of this book thoroughly covers these changes, as well as new processors and buses. You don't have to be a kernel hacker to understand and enjoy this book; all you need is an understanding of C and some background in Unix system calls. You'll learn how to write drivers for character devices, block devices, and network interfaces, guided by full-featured examples that you can compile and run without special hardware. Major changes in the second edition include discussions of symmetric multiprocessing (SMP) and locking, new CPUs, and recently supported buses. For those who are curious about how an operating system does its job, this book provides insights into address spaces, asynchronous events, and I/O. Portability is a major concern in the text. The book is centered on version 2.4, but includes information for kernels back to 2.0 where feasible. Linux Device Driver also shows how to maximize portability among hardware platforms; examples were tested on IA32 (PC) and IA64, PowerPC, SPARC and SPARC64, Alpha, ARM, and MIPS. Contents include: - Building a driver and loading modules
- Complete character, block, and network drivers
- Debugging a driver
- Timing
- Handling symmetric multiprocessing (SMP) systems
- Memory management and DMA
- Interrupts
- Portability issues
- Peripheral Component Interconnect (PCI)
|
- Title:
- Linux Device Drivers, 2nd Edition
- By:
- Jonathan Corbet, Alessandro Rubini
- Publisher:
- O'Reilly Media
- Formats:
-
- Print:
- June 2001
- Pages:
- 592
- Print ISBN:
- 978-0-596-00008-0
- | ISBN 10:
- 0-596-00008-1
|
-
Jonathan Corbet Jonathan Corbet got his first look at the BSD Unix source back in 1981, when an instructor at the University of Colorado let him "fix" the paging algorithm. He has been digging around inside every system he could get his hands on ever since, working on drivers for VAX, Sun, Ardent, and x86 systems on the way. He got his first Linux system in 1993, and has never looked back. Mr. Corbet is the co-founder and executive editor of Linux Weekly News; he lives in Boulder, Colorado with his wife and two children. View Jonathan Corbet's full profile page. -
Alessandro Rubini Alessandro Rubini installed Linux 0.99.14 soon after getting his degree as an electronic engineer. He then received a Ph.D in computer science at the University of Pavia despite his aversion toward modern technology. Alas, he still enjoys digging in technology and discovering the intelligence of people who created it: that's why he now works in his apartment with three PCs, an Alpha, a SPARC, and an Apple2 -- the last without Linux. But you might find him roaming around in the north of Italy on his bike, which doesn't carry an electronic cyclometer. View Alessandro Rubini's full profile page. |
Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The image on the cover of Linux Device Drivers is of a bucking horse. A colorful description of this appears in Marvels of the New West: A Vivid Portrayal of the Stupendous Marvels in the Vast Wonderland West of the Missouri River, by William Thayer (The Henry Bill Publishing Co., Norwich, CT, 1888). Thayer quotes a stockman, who gives this description of a bucking horse: "When a horse bucks he puts his head down between his legs, arches his back like an angry cat, and springs into the air with all his legs at once, coming down again with a frightful jar, and he sometimes keeps on repeating the performance until he is completely worn out with the excursion. The rider is apt to feel rather worn out too by that time, if he has kept his seat, which is not a very easy matter, especially if the horse is a real scientific bucker, and puts a kind of side action into every jump. The double girth commonly attached to these Mexican saddles is useful for keeping the saddle in its place during one of those bouts, but there is no doubt that they frequently make a horse buck who would not do so with a single girth. With some animals you can never draw up the flank girth without setting them bucking." Darren Kelly was the production editor, Cynthia Kogut was the copyeditor, and Susan Carlson Greene was the proofreader for Linux Device Drivers, Second Edition . Catherine Morris and Claire Cloutier provided quality control. Judy Hoer wrote the index. Matt Hutchinson, Lucy Muellner, and Joe Wizda provided production support. Edie Freedman designed the cover of this book. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1, using Adobe's ITC Garamond font. David Futato designed the interior layout based on a series design by Nancy Priest. Chapter opener images are taken from the Dover Pictorial Archive, the book Marvels of the New West: A Vivid Portrayal of the Stupendous Marvels in the Vast Wonderland West of the Missouri River (by William M. Thayer, The Henry Bill Publishing Company, Norwich, CT, 1888), and The Pioneer History of America: A Popular Account of the Heroes and Adventures (by Augustus Lynch Mason, A.M., The Jones Brothers Publishing Company, Cincinnati, OH, 1884). The print version of this book was created by translating the DocBook XML markup of its source files into a set of gtroff macros, using a filter developed at O'Reilly & Associates by Norman Walsh. Steve Talbott designed and wrote the underlying macro set on the basis of the GNU troff –gs macros; Lenny Muellner adapted them to XML and implemented the book design. The GNU groff text formatter version 1.11.1 was used to generate PostScript output. The text and heading fonts are ITC Garamond Light and Garamond Book. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By David M Bourg
November 2001
By Gregor N. Purdy
August 2000
By Daniel P. Bovet, Marco Cesati
October 2000
|
Customer Reviews
By Pramod from Undisclosed 12/25/2003 (1 of 1 customers found this review helpful) 5.0Linux Device Drivers, 2nd Edition Review By Antonio from Undisclosed 9/2/2003 (2 of 2 customers found this review helpful) 5.0Linux Device Drivers, 2nd Edition Review By G. Gopi Krishna from Undisclosed 8/11/2003 4.0Linux Device Drivers, 2nd Edition Review By jaisankar from Undisclosed 7/16/2003 5.0Linux Device Drivers, 2nd Edition Review By Richard Sun from Undisclosed 11/7/2002 (2 of 2 customers found this review helpful) 5.0Linux Device Drivers, 2nd Edition Review 7/24/2002 (1 of 1 customers found this review helpful) 5.0Linux Device Drivers, 2nd Edition Review By smaaash from Undisclosed 7/4/2002 (2 of 2 customers found this review helpful) 5.0Linux Device Drivers, 2nd Edition Review By Roland Kwitt from Undisclosed 4/29/2002 5.0Linux Device Drivers, 2nd Edition Review 2/16/2002 5.0Linux Device Drivers, 2nd Edition Review By Paolo Minazzi from Undisclosed
|
|
|