
FreeBSD Device Drivers
A Guide for the Intrepid
Explore FreeBSD driver frameworks, hardware buses, DMA, and annotated real-world driver code.
- Themes
- FreeBSD driver development, Hardware buses and communication, Kernel modules and synchronization
- Pacing
- Steady
FreeBSD Driver Frameworks
Come here for
- Newbus, FreeBSD’s hardware-device infrastructure
- Working with ISA, PCI, and USB buses
Expect
- Annotated code examples
- Coverage of user-space device communication and driver internals
Where it sits
- 83%UNIX Systems
How strongly BookFrontier reads the book as belonging to each subject.
Nearest books
Matched by our semantic model. Ordered by what its readers also loved.
Linux Kernel DevelopmentRobert Love50% subject match
Programming RustJim Blandy, Jason Orendorff44% subject match
Linux Device DriversJonathan Corbet, Alessandro Rubini70% subject match
the Design and Implementation of The FreeBSD Operating SystemMarshall Kirk McKusick, George V. Neville-Neil68% subject matchShares UNIX Systems
Mastering FreeBSD and OpenBSD SecurityYanek Korff, Paco Hope58% subject matchShares UNIX Systems
Understanding the Linux KernelDaniel Bovet, Marco Cesati57% subject match
Learning the Unix Operating SystemJerry Peek, Grace Todino53% subject matchShares UNIX Systems
Understanding UNIX/LINUX ProgrammingBruce Molay53% subject matchShares UNIX Systems
Start with three books, and this one can be the first.
Members get a new edition every morning: a route out from their books to essays, research and talks, with the reason for each.
Sign upAbout this book
Device drivers make it possible for your software to communicate with your hardware, and because every operating system has specific requirements, driver writing is nontrivial. When developing for FreeBSD, you've probably had to scour the Internet and dig through the kernel sources to figure out how to write the drivers you need. Thankfully, that stops now.
Continue reading
In FreeBSD Device Drivers, Joseph Kong will teach you how to master everything from the basics of building and running loadable kernel modules to more complicated topics like thread synchronization. After a crash course in the different FreeBSD driver frameworks, extensive tutorial sections dissect real-world drivers like the parallel port printer driver.
You'll learn:
–All about Newbus, the infrastructure used by FreeBSD to manage the hardware devices on your system
–How to work with ISA, PCI, USB, and other buses
–The best ways to control and communicate with the hardware devices from user space
–How to use Direct Memory Access (DMA) for maximum system performance
–The inner workings of the virtual null modem terminal driver, the USB printer driver, the Intel PCI Gigabit Ethernet adapter driver, and other important drivers
–How to use Common Access Method (CAM) to manage host bus adapters (HBAs)
Concise descriptions and extensive annotations walk you through the many code examples. Don't waste time searching man pages or digging through the kernel sources to figure out how to make that arcane bit of hardware work with your system. FreeBSD Device Drivers gives you the framework that you need to write any driver you want, now.
Publisher details
Publisher categories
- UNIX Systems
- C Programming
- Linux & UNIX Admin
- Authors
- Joseph Kong
- Publisher
- No Starch Press
- Published
- May 12, 2012
- Format
- Print & ebook
- Reading lane
- UNIX Systems