O’Reilly news

FreeBSD Device Drivers--New from No Starch Press: A Guide for the Intrepid

April 25, 2012

FreeBSD Device Drivers
Request Review copy

San Francisco, CA, April 25, 2012—Device drivers allow software to communicate with hardware, and because every operating system has specific requirements, driver writing is nontrivial. When developing for the open source FreeBSD operating system, programmers have had to scour the Internet and dig through the kernel source code to figure out how to write the drivers they need. Until now.

In FreeBSD Device Drivers (No Starch Press, May 2012, 352 pp., $49.95, ISBN 9781593272043), author Joseph Kong teaches readers how to master everything from the basics of building and running loadable kernel modules to more complicated topics like thread synchronization and interrupt handling. After a crash course in the different FreeBSD driver frameworks, thorough tutorial sections dissect real-world drivers like the parallel port printer driver and storage drivers. Throughout the book, extensive annotations walk the reader through the many code examples.

No Starch Press founder Bill Pollock says, "At No Starch Press, we try to publish books that solve readers' problems, and this is an area that has been underserved for years. We're excited to offer this resource to the FreeBSD community."

In FreeBSD Device Drivers, readers will learn:

  • All about Newbus, the infrastructure used by FreeBSD to manage hardware devices
  • 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)

With FreeBSD Device Drivers, FreeBSD driver writers will finally have all of the information they need in one place.

For more information or to request a review copy of FreeBSD Device Drivers, contact Jessica Miller at No Starch Press (nostarchpr@oreilly.com, +1.415.863.9900, x110) or visit www.nostarch.com.

About the Author

The author of Designing BSD Rootkits (No Starch Press), Joseph Kong works on information security, operating system theory, reverse code engineering, and vulnerability assessment. He is a former system administrator for the City of Toronto.

Additional Resources
Chapter 7, "Newbus and Resource Allocation" (PDF)
Table of Contents
Detailed Table of Contents (PDF)
Index (PDF)
No Starch Press Catalog Page

	
FreeBSD Device Drivers FreeBSD Device Drivers
Publisher: No Starch Press
By Joseph Kong
ISBN: 9781593272043, $49.95  
May 2012, 352 pp.
order@oreilly.com
1-800-998-9938
1-707-827-7000

Request Review copy

You Might Also Be Interested In:

Absolute FreeBSD, 2nd Edition
Absolute FreeBSD, 2nd Edition
The Complete Guide to FreeBSD
by Michael W. Lucas
Request Review copy
Designing BSD Rootkits
Designing BSD Rootkits
An Introduction to Kernel Hacking
by Joseph Kong
Request Review copy
The Linux Linux Programming Interface
The Linux Programming Interface
A Linux and UNIX System Programming Handbook
by Michael Kerrisk
Request Review copy

Available in fine bookstores everywhere, from http://www.oreilly.com/nostarch or directly from No Starch Press (http://www.nostarch.com, orders@nostarch.com, 1-800-420-7240).

About No Starch Press
Founded in 1994, No Starch Press publishes the finest in geek entertainment—unique books on technology, with a focus on open source, security, hacking, programming, alternative operating systems, LEGO, science, and math. Our titles have personality, our authors are passionate, and our books tackle topics that people care about. Visit http://www.nostarch.com for a complete catalog.

About O’Reilly

O’Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O’Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying “faint signals” from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.

Email a link to this press release