NDIS(4FREEBSD) - Linux man page online | Special files
NDIS miniport driver wrapper.
March 14, 2010
NDIS(4) BSD Kernel Interfaces Manual NDIS(4)
BSD March 14, 2010 BSD
NAMEndis — NDIS miniport driver wrapper
SYNOPSISoptions NDISAPI device ndis device wlan
DESCRIPTIONThe ndis driver is a wrapper designed to allow binary Windows® NDIS miniport network drivers to be used with FreeBSD. The ndis driver is provided in source code form and must be com‐ bined with the Windows® driver supplied with your network adapter. The ndis driver uses the ndisapi kernel subsystem to relocate and link the Windows® binary so that it can be used in conjunction with native code. The ndisapi subsystem provides an interface between the NDIS API and the FreeBSD networking infrastructure. The Windows® driver is essentially fooled into thinking it is running on Windows®. Note that this means the ndis driver is only use‐ ful on x86 machines. To build a functional driver, the user must have a copy of the driver distribution media for his or her card. From this distribution, the user must extract two files: the .SYS file containing the driver binary code, and its companion .INF file, which contains the defini‐ tions for driver-specific registry keys and other installation data such as device identi‐ fiers. These two files can be converted into a kernel module file using the ndisgen(8) utility. This file contains a binary image of the driver plus registry key data. When the ndis driver loads, it will create sysctl(3) nodes for each registry key extracted from the .INF file. The ndis driver is designed to support mainly Ethernet and wireless network devices with PCI, PCMCIA and USB bus attachments. (Cardbus devices are also supported as a subset of PCI.) It can support many different media types and speeds. One limitation however, is that there is no consistent way to learn if an Ethernet device is operating in full or half duplex mode. The NDIS API allows for a generic means for determining link state and speed, but not the duplex setting. There may be driver-specific registry keys to control the media setting which can be configured via the sysctl(8) command.
DIAGNOSTICSndis%d: watchdog timeout A packet was queued for transmission and a transmit command was issued, however the device failed to acknowledge the transmission before a timeout expired.
SEE ALSOaltq(4), arp(4), netintro(4), ng_ether(4), ifconfig(8), ndis_events(8), ndiscvt(8), ndisgen(8), wpa_supplicant(8) NDIS 5.1 specification, http://www.microsoft.com.
HISTORYThe ndis device driver first appeared in FreeBSD 5.3.
AUTHORSThe ndis driver was written by Bill Paul <@windriver.com>.
|This manual||Reference||Other manuals|
|ndis(4freebsd)||referred by||ALTQ(4freebsd) | altq(4freebsd) | ddb(4freebsd) | ieee80211(9freebsd) | ieee80211_ifattach(9freebsd) | ieee80211_ifdetach(9freebsd) | if_ndis(4freebsd) | wlan(4freebsd)|
|refer to||arp(4freebsd) | ifconfig(8) | netintro(4freebsd) | ng_ether(4freebsd) | sysctl(3freebsd) | sysctl(8) | wpa_supplicant(8)|