xref: /titanic_51/usr/src/uts/common/io/e1000g/e1000g.conf (revision caf05df5c10c960028f122b1b02a3f7d8f892c31)
108057504Sxy150489#
208057504Sxy150489# This file is provided under a CDDLv1 license.  When using or
308057504Sxy150489# redistributing this file, you may do so under this license.
408057504Sxy150489# In redistributing this file this license must be included
508057504Sxy150489# and no other modification of this header file is permitted.
608057504Sxy150489#
708057504Sxy150489# CDDL LICENSE SUMMARY
808057504Sxy150489#
9*caf05df5SMiles Xu, Sun Microsystems# Copyright(c) 1999 - 2009 Intel Corporation. All rights reserved.
1008057504Sxy150489#
1108057504Sxy150489# The contents of this file are subject to the terms of Version
1208057504Sxy150489# 1.0 of the Common Development and Distribution License (the "License").
1308057504Sxy150489#
1408057504Sxy150489# You should have received a copy of the License with this software.
1508057504Sxy150489# You can obtain a copy of the License at
1608057504Sxy150489#	http://www.opensolaris.org/os/licensing.
1708057504Sxy150489# See the License for the specific language governing permissions
1808057504Sxy150489# and limitations under the License.
1908057504Sxy150489#
2008057504Sxy150489#
21*caf05df5SMiles Xu, Sun Microsystems# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2208057504Sxy150489# Use is subject to license terms of the CDDLv1.
2308057504Sxy150489#
2408057504Sxy150489#
2508057504Sxy150489# Driver.conf file for Intel e1000g Gigabit Ethernet Adapter
2608057504Sxy150489#
2708057504Sxy150489ForceSpeedDuplex=7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7;
2808057504Sxy150489        # This will force Speed and Duplex for following settings for a typical instance.
2908057504Sxy150489        # 1 will set the 10 Mbps speed and Half Duplex mode.
3008057504Sxy150489        # 2 will set the 10 Mbps speed and Full Duplex mode.
3108057504Sxy150489        # 3 will set the 100 Mbps speed and half Duplex mode.
3208057504Sxy150489        # 4 will set the 100 Mbps speed and Full Duplex mode.
3308057504Sxy150489        # 7 will let adapter autonegotiate.
3408057504Sxy150489AutoNegAdvertised=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;
3508057504Sxy150489        # This parameter determines the speed/duplex options that will be
3608057504Sxy150489        # advertised during auto-negotiation. This is a bitmap with the
3708057504Sxy150489        # following settings.
3808057504Sxy150489        # Bit    |  7  |  6  |   5   |   4   |  3   |  2   |  1  |  0
3908057504Sxy150489        # Setting| N/A | N/A | 1000F |  N/A  | 100F | 100H | 10F | 10H
4008057504Sxy150489        #
4108057504Sxy150489        # For example:
4208057504Sxy150489        # To advertise 10 Half only AutoNegAdvertised   =  1
4308057504Sxy150489        # To advertise 10 Full only AutoNegAdvertised   =  2
4408057504Sxy150489        # To advertise 10 Half/Full AutoNegAdvertised   =  3
4508057504Sxy150489        # To advertise 100 Half only AutoNegAdvertised  =  4
4608057504Sxy150489        # To advertise 100 Full only AutoNegAdvertised  =  8
4708057504Sxy150489        # To advertise 100 Half/Full AutoNegAdvertised  = 12
4808057504Sxy150489        # To advertise 1000 Full only AutoNegAdvertised = 32
4908057504Sxy150489        # To advertise all speeds AutoNegAdvertised     = 47
5008057504Sxy150489MaxFrameSize=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;
5108057504Sxy150489        # 0 is for normal ethernet frames.
5208057504Sxy150489        # 1 is for upto 4k size frames.
5308057504Sxy150489        # 2 is for upto 8k size frames.
5408057504Sxy150489        # 3 is for upto 16k size frames.
55*caf05df5SMiles Xu, Sun Microsystems	#
56*caf05df5SMiles Xu, Sun Microsystems	# These are maximum frame limits, not the ethernet payload size
57*caf05df5SMiles Xu, Sun Microsystems	# (usually called MTU).  Your actual ethernet MTU is determined by frame
58*caf05df5SMiles Xu, Sun Microsystems	# size limit and protocol stack configuration (please refer to ndd
59*caf05df5SMiles Xu, Sun Microsystems	# command man pages)
60*caf05df5SMiles Xu, Sun Microsystems	#
61*caf05df5SMiles Xu, Sun Microsystems	# For Jumbo Frame Support (9k ethernet packet) use 3 (upto 16k size
62*caf05df5SMiles Xu, Sun Microsystems	# frames).  On PCH adapter type (82577 and 82578) you can configure up
63*caf05df5SMiles Xu, Sun Microsystems	# to 4k size frames.  The 4k size is only allowed at 1gig speed, so if
64*caf05df5SMiles Xu, Sun Microsystems	# you select 4k frames size, you cannot force or autonegotiate the
65*caf05df5SMiles Xu, Sun Microsystems	# 10/100 speed options.
6608057504Sxy150489FlowControl=3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;
6708057504Sxy150489        # 0:  Flow control is completely disabled
6808057504Sxy150489        # 1:  Rx flow control is enabled (we can receive pause frames
6908057504Sxy150489        #     but not send pause frames).
7008057504Sxy150489        # 2:  Tx flow control is enabled (we can send pause frames
7108057504Sxy150489        #     but we do not receiving pause frames).
7208057504Sxy150489        # 3:  Both Rx and TX flow control (symmetric) is enabled.
7308057504Sxy150489        # 4:  No software override.  The flow control configuration
7408057504Sxy150489        #     in the EEPROM is used.
7508057504Sxy150489TbiCompatibilityEnable=1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;
7608057504Sxy150489        # 1 turns it on and 0 turns it off.
7708057504Sxy150489        # Some switches as Cisco 6500/Foundary still operate in TBI mode.
7808057504Sxy150489        # This setting will fix the problems seen with odd byte packets.
7908057504Sxy150489        # This setting is valid only for 82543GC based copper adapters.
8008057504Sxy150489SetMasterSlave=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;
8108057504Sxy150489	# 0 sets to hardware default
8208057504Sxy150489	# 1 forces master
8308057504Sxy150489	# 2 forces slave
8408057504Sxy150489	# 3 forces auto
8508057504Sxy150489	# This setting controls the PHY master/slave setting. Manually forcing
8608057504Sxy150489	# master or slave can help reduce time to link with some switches
8708057504Sxy150489	# (Planex 08TX and IO Data switches).  It is recommended that this
8808057504Sxy150489        # setting remain at the hardware default.
89