FreeBSD Device Drivers
A Guide for the Intrepid
Publisher: No Starch Press
Final Release Date: April 2012
Pages: 352

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. 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.

Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyFreeBSD Device Drivers
 
4.0

(based on 1 review)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 1 customer

Displaying review 1

Back to top

(1 of 1 customers found this review helpful)

 
4.0

A good resource for programmers

By Sanyam

from Jabalpur, madhya Pradesh

About Me Developer, Educator

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Helpful examples

Cons

  • Not comprehensive enough

Best Uses

  • Expert
  • Intermediate

Comments about oreilly FreeBSD Device Drivers:

If you want to get your hands dirty in making your own device drivers this book is for you. Once you are done with the prerequisites (c programming and BSD operating system architecture) this book gets you going fluently. However, a novice might find it difficult to grasp as in-depth knowledge of both c programming and BSD operating system is required. I would personally suggest you to read, experiment and dig the internet while using this book. The subject matter is nice and with each chapter you are actually controlling some part of your system.

Displaying review 1

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook: $39.95
Formats:  ePub, Mobi, PDF
Print & Ebook: $54.95
Print: $49.95