DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Linking and testing SCO OpenServer 5 drivers

Setting the driver initialization message

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=sto
Note 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.


© 2005 The SCO Group, Inc. All rights reserved.