Writing Device Drivers

Writing a Hardware Configuration File

If a device is non-self-identifying, the kernel requires a hardware configuration file for that device. If the driver is called xx, the hardware configuration file for the driver should be called xx.conf. See the driver.conf(4), pseudo(4), sbus(4), scsi_free_consistent_buf(9F), and update_drv(1M) man pages for more information on hardware configuration files.

Arbitrary properties can be defined in hardware configuration files. Entries in the configuration file are in the form property=value, where property is the property name and value is its initial value. The configuration file approach enables devices to be configured by changing the property values.