|
|
Most drivers use printcfg(D3oddi) to print a short message from their initialization routines. This is an example of such a message for a SCSI host adapter driver:
device address vector dma comment ------------------------------------------------------------------------ adapter 0x1C00 - 0x1CFF 11 - type=foo ha=0 bus=0 id=0 fts=stoNote that the title line (device, address, vector, and so on) is printed by a kernel startup routine; you need only supply the information specific to your driver.
We recommend that the driver should report dual-ported RAM addresses if these are used. Although printcfg(D3oddi) does not have specific parameters to report these addresses, they can be inserted in the ``comment'' field. This is important because dual-ported RAM conflicts are common and are difficult to diagnose. Reporting the actual range of dual-ported RAM used by the driver, rather than a default range which may not match the actual hardware, is a first step in diagnosing the problem.