Chapter 1. Building and Running Modules

image with no caption

This chapter provides an introduction to FreeBSD device drivers. We’ll start by describing the four different types of UNIX device drivers and how they are represented in FreeBSD. We’ll then describe the basics of building and running loadable kernel modules, and we’ll finish this chapter with an introduction to character drivers.

Note

If you don’t understand some of the terms used above, don’t worry; we’ll define them all in this chapter.

Types of Device Drivers

In FreeBSD, a device is any hardware-related item that belongs to the system; this includes disk drives, printers, video cards, and so on. A device driver ...

Get FreeBSD Device Drivers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.