April 2012
Intermediate to advanced
352 pages
8h
English

Until now, we’ve examined only pseudo-devices, which provide a superb introduction to driver writing. However, most drivers need to interact with real hardware. This chapter shows you how to write drivers that do just that.
I’ll start by introducing Newbus, which is the infrastructure used in FreeBSD to manage the hardware devices on the system (McKusick and Neville-Neil, 2005). I’ll then describe the basics of a Newbus driver, and I’ll conclude this chapter by talking about hardware resource allocation.
Autoconfiguration is the procedure carried out by FreeBSD to enable ...
Read now
Unlock full access