The test harness behavior is controlled by boot-time properties that were 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 DAFs.
When this property is set, the test harness verifies that the mapped address that is returned by ddi_map_regs_setup() is not used outside of the context of the DAFs.
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().