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