xref: /titanic_50/usr/src/man/man7d/pcn.7d (revision 0a1278f26ea4b7c8c0285d4f2d6c5b680904aa01)
te
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.
"PCN" "7D" "Sep 16, 2011"
.
"NAME"
pcn - PCnet Ethernet device driver
"SYNOPSIS"

/dev/pcn
"DESCRIPTION"

The pcn driver is a multi-threaded, loadable, clonable GLDv3-based STREAMS driver supporting the Data Link Provider Interface dlpi(7P) for the AMD PCnet family of Ethernet controllers\.

"APPLICATION PROGRAMMING INTERFACE"
The pcn driver can be used as either a "style 1" or a "style 2" Data Link Service Provider\. Physical points of attachment (PPAs) are interpreted as the instance number of the pcn controller as assigned by the Illumos operating environment\.

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)\.

"CONFIGURATION"

The pcn driver performs auto-negotiation to select the link speed and mode\. Link sped may be 100Mbps full-duplex, 100Mbps half-duplex, 10Mbps full-duplex, or 10Mbps half-duplex, depending on the hardware adapter type\. See the IEEE802.3 standard for more information\.

The capabilities advertised by the pcn device can be set using dladm(1m)\. The driver supports a number of parameters whose names being with en_ (see below)\. Each of these parameters contains a boolean value that determines if the devices advertises that mode of operations\. The adv_autoneg_cap parameter controls whether auto-negotioation 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 te link to go down while the link partners renegotiate the link speed/duplex using the newly changed capabilities\.

"ATTRIBUTES"

See attributes(5) for a description of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Architecture x86
Interface Stability Committed
"FILES"
/dev/pcn

Special character device\.

/kernel/drv/pcn

32-bit driver binary\.

/kernel/drv/amd64/pcn

64-bit driver binary (x86)\.

"SEE ALSO"

dlpi(1m), attributes(5), streamio(7I), dlpi(7p)

IEEE 802.3 \(em Institute of Electrical and Electronics Engineers, 2002