DESCRIPTION
The
ndiscvt utility transforms a Windows® NDIS driver into a data file which is used to build an ndis compatibility driver module. Windows® drivers consist of two main parts: a
.SYS file, which contains the actual driver executable code, and an
.INF file, which provides the Windows® installer with device identifier information and a list of driver-specific registry keys. The
ndiscvt utility can convert these files into a header file that is compiled into
if_ndis.c to create an object code module that can be linked into the
NetBSD kernel.
The .INF file is typically required since only it contains device identification data such as PCI vendor and device IDs or PCMCIA indentifier strings. The .INF file may be optionally omitted however, in which case the ndiscvt utility will only perform the conversion of the .SYS file. This is useful for debugging purposes only.