Writing Device Drivers

Overview of the Process

Hardening is the process of ensuring that a driver works correctly in spite of faults in the I/O device that it controls or other faults originating outside the system core. A hardened driver must not panic, hang the system, or allow the uncontrolled spread of corrupted data as the result of any such faults.

A hardened driver obeys all the rules of a standard Solaris device driver plus some additional rules: