Chapter 2
Template Driver Example
This chapter shows you how to develop a very simple, working driver. This
chapter explains how to write the driver and configuration file, compile the driver,
load the driver, and test the driver.
The driver that is shown in this chapter is a pseudo device
driver that merely writes a message to a system log every time an
entry point is entered. This driver demonstrates the minimum functionality that any character driver
must implement. You can use this driver as a template for building a
complex driver.
This chapter discusses the following driver development steps: