After the test harness is installed, set the properties in the /kernel/drv/bofi.conf file to configure the harness to interact with your driver. When the harness configuration is complete, reboot the system to load the harness driver.
The test harness behavior is controlled by boot-time properties that are set in the /kernel/drv/bofi.conf configuration file.
When the harness is first installed, enable the harness to intercept the DDI accesses to your driver by setting these properties:
Bus nexus type, such as the PCI bus
Name of the driver under test
For example, to test a PCI bus network driver called xyznetdrv, set the following property values:
Other properties relate to the use and harness checking of the Solaris DDI data access mechanisms for reading and writing from peripherals that use PIO and transferring data to and from peripherals that use DMA.
When this property is set, the test harness checks the consistency of the arguments that are passed to PIO data access functions.
When this property is set, the test harness verifies correct usage of DMA functions and ensures that the driver makes compliant use of ddi_dma_sync(9F).