Copyright 2011 Jason King. All rights reserved.
Copyright (c) 2001-2007 by Garrett D'Amore.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the author nor the names of any co-contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
Portions Copyright (c) 2007 by Sun Microsystems, Inc. All Rights Reserved.
/dev/pcn
The values returned by the driver in the 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 immediately followed by a 2-byte SAP.
Service mode is DL_CLDLS.
The broadcast address is the 6-byte Ethernet broadcast address (ff:ff:ff:ff:ff:ff).
The capabilities advertised by the pcn device can be set using dladm(8). The driver supports a number of parameters whose names begin with en_ (see below). Each of these parameters contains a boolean value that determines if the device advertises that mode of operations. The adv_autoneg_cap parameter controls whether auto-negotiation is performed. If adv_autoneg_cap is set to 0, the driver forces the mode of operation selected by the first non-zero parameter in priority order as shown below:
(highest priority/greatest throughput) en_100fdx_cap 100Mbps full duplex en_10fdx_cap 10Mbps full duplex (lowest priority/least throughput)
All capabilities default to enabled. Note that changing any capability parameter causes the link to go down while the link partners renegotiate the link speed/duplex using the newly changed capabilities.
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Architecture x86 |
Interface Stability Committed |
Special character device.
Device driver (x86)
IEEE 802.3 \(em Institute of Electrical and Electronics Engineers, 2002