Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dnet(7d) [sunos man page]

dnet(7D)							      Devices								  dnet(7D)

NAME
dnet - Ethernet driver for DEC 21040, 21041, 21140 Ethernet cards SYNOPSIS
/kernel/drv/dnet DESCRIPTION
The dnet Ethernet driver is a multithreaded, loadable, clonable, STREAMS GLD driver. Multiple controllers installed within the system are supported by the driver. The dnet driver functions include controller initialization, frame transmit and receive, functional addresses, promiscuous and multicast support, and error recovery and reporting. APPLICATION PROGRAMMING INTERFACE
The cloning character-special device, /dev/dnet, is used to access all DEC 21040/21041/21140 devices installed in the system. The dnet driver is dependent on /kernel/misc/gld, a loadable kernel module that provides the dnet driver with the DLPI and STREAMS func- tionality required of a LAN driver. See gld(7D) for more details on the primitives supported by the driver. The device is initialized on the first attach and de-initialized (stopped) on the last detach. The values returned by the driver in the DL_INFO_ACK primitive in response to a DL_INFO_REQ from the user are as follows: o The maximum SDU is 1500 (ETHERMTU - defined in <sys/ethernet.h>). o The minimum SDU is 0. o The DLSAP address length is 8. o The MAC type is DL_ETHER. o The sap length value is -2, meaning the physical address component is followed immediately by a 2-byte sap component within the DLSAP address. o The broadcast address value is the Ethernet/IEEE broadcast address (FF:FF:FF:FF:FF:FF). Once in the DL_ATTACHED state, the user must send a DL_BIND_REQ to associate a particular Service Access Point (SAP) with the stream. PRECONFIGURATION
The PCI configuration process varies from system to system. Follow the instructions provided by the vendor. Known Problems and Limitations o On multiport cards (exception: Osicom (Rockwell) RNS2340), the first port is the top port. (On the Osicom RNS2340, the first port is the bottom port.) o If the dnet driver fails to determine the correct speed and duplex mode resulting in a corresponding drop in performance, set the speed and duplex mode using the dnet.conf file. o The dnet driver incorrectly counts carrier lost or no carrier errors while in full-duplex mode. There is no carrier signal present when in full-duplex mode and it should not be counted as an error. o Version 4 SROM formats are not supported. CONFIGURATION
The /kernel/drv/dnet.conf file supports the following options: full-duplex For full duplex operation use full-duplex=1, for half duplex use full-duplex=0. Half-duplex operation gives better results on older 10mbit networks. speed For 10mbit operation use speed=10, for 100mbit operation use speed=100. Certain 21140 based cards will operate at either speed. Use the speed property to override the 100mbit default in this case. FILES
/dev/dnet character special device /kernel/drv/dnet.conf dnet configuration file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), dlpi(7P), gld(7D) streamio(7I) Writing Device Drivers STREAMS Programming Guide Network Interfaces Programmer's Guide SunOS 5.10 20 OCT 2000 dnet(7D)

Check Out this Related Man Page

dmfe(7D)							      Devices								  dmfe(7D)

NAME
dmfe - Davicom Fast Ethernet driver for Davicom DM9102A SYNOPSIS
/platform/sun4u/kernel/drv/sparcv9/dmfe DESCRIPTION
The dmfe Ethernet device provides 100Base-TX networking interfaces using the Davicom DM9102A chip, which incorporates its own internal transceiver. The dmfe driver is a multithreaded, loadable, clonable, GLD-based STREAMS driver. Multiple controllers installed within the system are supported by the driver. The dmfe driver functions include controller initialization, frame transmit and receive, promiscuous and multicast support, and error recovery and reporting. The 100Base-TX standard specifies an auto-negotiation protocol to automatically select the mode and speed of operation. The internal trans- ceiver is capable of performing autonegotiation with the remote-end of the link (link partner) and receives the capabilities of the remote end. It selects the highest common denominator mode of operation based on the priorities. The internal transceiver also supports a forced-mode of operation under which the driver selects the operational mode. APPLICATION PROGRAMMING INTERFACE
The /dev/dmfe cloning character-special device is used to access all Davicom DM9102A devices installed in the system. The dmfe driver is dependent on /kernel/misc/gld, a loadable kernel module that provides the dmfe driver with the DLPI and STREAMS func- tionality required of a LAN driver. See gld(7D) for more details on the primitives supported by the driver. You must send an explicit DL_ATTACH_REQ message to associate the opened stream with a particular device (ppa). The ppa ID is interpreted as an unsigned integer data type and indicates the corresponding device instance (unit) number. If the ppa field value does not correspond to a valid device instance number for this system, an error (DL_ERROR_ACK) is returned. The device is initialized on first attach and de-ini- tialized (stopped) at last detach. The values returned by the driver in the DL_INFO_ACK primitive in response to a DL_INFO_REQ are as follows: o Maximum SDU is 1500 (ETHERMTU - defined in sys/ethernet.h). o Minimum SDU is 0. o DLSAP address length is 8. o MAC type is DL_ETHER. o The sap length value is -2, meaning the physical address component is followed immediately by a 2-byte sap component within the DLSAP address. o The broadcast address value is the Ethernet/IEEE broadcast address (FF:FF:FF:FF:FF:FF). Once in the DL_ATTACHED state, you must send a DL_BIND_REQ to associate a particular Service Access Point (SAP) with the stream. CONFIGURATION
By default, the dmfe driver performs auto-negotiation to select the speed and mode of the link. Link speed and mode can be 100 Mbps (full or half-duplex) or 10 Mbps (full or half-duplex) as described in the 100Base-TX standard. The auto-negotiation protocol automatically selects speed mode (either 100 Mbps or 10 Mbps) and operation mode (either full-duplex or half- duplex) as the highest common denominator supported by both link partners. Because the dmfe device supports all modes, this effectively selects the highest-throughput mode supported by the other device. Alternatively, you can explicitly specify the link parameters by adding entries to the dmfe driver configuration file (/platform/sun4u/ker- nel/drv/dmfe.conf). You can set the speed parameter to 10 or 100 to force dmfe devices to operate at the specified speed. Additionally, you can set the full-duplex parameter to 0 or 1 to disable or force full-duplex operation, respectively. Note that specifying either "speed" or "full-duplex" explicitly disables auto-negotiation. To enable the driver to determine the appropri- ate setting for each parameter, you should always set both parameters. If it is necessary to force either speed or duplex setting (for example, because the dmfe device is connected to an ancient device or hub that does not support auto-negotiation), both parameters should be explicitly specified to match the requirements of the external device. FILES
/dev/dmfe Character special device /platform/sun4u/kernel/drv/dmfe.conf dmfe configuration file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), gld(7D), dlpi(7P), streamio(7I) Writing Device Drivers STREAMS Programming Guide Network Interfaces Programmer's Guide SunOS 5.10 23 July 2003 dmfe(7D)
Man Page