DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
MDI style guidelines

Driver dependencies

Driver source and resulting binaries must have no external product dependencies. Neither the driver source or the driver's Space.c(DSP/4dsp) file can be dependent on any products other than the base operating system and the Network Drivers product.

The SVR5 pkgchk command shows all the files in the nics (network interface card) package:

   pkgchk nic
Do not #include any files that are not in either the base system or this nics package. It has been a common mistake to build in dependencies to TCP/IP by #include lines that reference header files such as the socket.h file in the Space.c(DSP/4dsp) file.

For example, the driver should not use any error codes in M_ERROR(D7str) messages that are defined in TCP/IP, or any other external product. Also, the driver source should not reference any out of date header files.

SVR5 MDI drivers should not use the $interface base or $interface nonconforming strings in their Master(DSP/4dsp) files. $depend should not be used except in special cases, such as when a loadable driver is associated with a static driver that allocates system resources (such as large chunks of contiguous physical memory) during installation.


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005