|
|
A DDI 8 driver's Master file must include lines such as the following above the line that is translated from the SCO OpenServer 5 mdevice file line. The drivers in these example use the multiprocessor version of DDI 8, ddi 8mp.
$version 2 $modtype Network Adapter $maxchan 4 $interface ddi 8mp $interface mdi 2 $contact My Company, Inc, full address $contact phone numberNote that DDI 8 does not use named entry points so these routine names are not declared in the Master file. Instead, the "basic" entry point routines are declared in a drvinfo(D4) structure. See ``Entry-point routines''.
If your driver is not multithreaded, specify ddi 8 instead of ddi 8mp. SCO strongly discourages using functionality that is not part of a versioned interface, but if that is necessary, see ``DDI interface versioning'' for information about how to code the Master file for a non-conforming driver.
Specify L, S, and c in the characteristics field to indicate a loadable STREAMS driver. This applies to all MDI drivers as well as pure STREAMS drivers and modules.
Some other Master fields are different for SVR5 than they are for SCO OpenServer 5; check the manual page carefully for all fields being used in your driver's Master file. The Master files in the sample source code directories illustrate the standard requirements for each type of driver.