|
|
The following list summarizes the coding modifications required to port SCO OpenServer drivers to MDI version 2. These are in addition to the general changes required to port an SCO OpenServer driver to DDI (see ``Porting drivers to DDI 8'') and to port an SCO OpenServer STREAMS driver to DDI (see ``STREAMS in DDI 8'').
See the e3B and shrk sample source code that is provided in the ndsample package for examples of how these coding changes are implemented. The sample shrk driver compiles for UnixWare 7 by default, or for SCO OpenServer if the -DOPENSERVER flag is set.
b_cont member of the
msgb(D4str)
STREAMS message block structure
for either
M_IOCNAK(D7str)
or
M_IOCACK(D7str)
message types.
See the
Intro(7mdi)
manual page for more information.
iocp->ioc_cr when handling M_IOCTL
messages instead of looking at iocp->ioc_uid.
See
Intro(7mdi)
for more information.