Copyright (c) 2007 by Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
/dev/sfe
The sfe driver is a loadable, clonable, GLD-based STREAMS driver supporting the Data Link Provider Interface dlpi(7P) on Silicon Integrated Systems 900 series Fast Ethernet controllers.
The relevant fields returned as part of a DL_INFO_ACK response are:
Maximum SDU is 1500.
Minimum SDU is 0.
The dlsap address length is 8.
MAC type is DL_ETHER.
SAP length is -2. The 6-byte physical address is followed immediately by a 2-byte SAP.
Service mode is DL_CLDLS.
Broadcast address is the 6-byte Ethernet broadcast address (ff:ff:ff:ff:ff:ff).
If the SAP provided is zero, then IEEE 802.3 mode is assumed and outbound frames will have the frame payload length written into the type field. Likewise, inbound frames with a SAP between zero and 1500 are interpreted as IEEE 802.3 frames and delivered to any streams that are bound to SAP zero (the 802.3 SAP).
The following properties may be configured using either ndd(1M) or the sfe.conf configuration file as described by driver.conf(4): adv_100fdx_cap
Enables the 100 Base TX full-duplex link option. (This is generally the fastest mode if both link partners support it. Most modern equipment supports this mode.)
Enables the 100 Base TX half-duplex link option. (Typically used when the link partner is a 100 Mbps hub.)
Enables the 10 Base-T full-duplex link option. (This less-frequently used mode is typically used when the link partner is a 10 Mbps switch.)
Enables the 10 Base-T half-duplex link option. (This is the fall-back when no other option is available. It is typically used when the link partner is a 10 Mbps hub or is an older network card.)
See attributes(5) for a description of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Interface Stability Committed |
Special character device.
32-bit driver binary (x86).
64-bit driver binary (x86).
64-bit driver binary (SPARC).
Configuration file.
ndd(1M), driver.conf(4), attributes(5), streamio(7I), dlpi(7P)
IEEE 802.3 \(em Institute of Electrical and Electronics Engineers, 2002