Building a Device Driver
The third part of this book provides advice on building device drivers for
the Solaris Operating Solaris:
Chapter 21, Compiling, Loading, Packaging, and Testing Drivers provides information on compiling, linking, and installing a driver.
Chapter 22, Debugging, Testing, and Tuning Device Drivers describes techniques for debugging, testing, and tuning drivers.
Chapter 23, Recommended Coding Practices describes the recommended coding practices for writing drivers.