Sun Microsystems 806-2989-10 To Set Driver Parameters Using a ce.conf File, Etc/pathtoinst file

Page 58

To Set Driver Parameters Using a ce.conf File

1.Obtain the hardware path names for the ce devices in the device tree.

Typically, the path names and the associated instance numbers are in the

/etc/path_to_inst file.

#grep ce /etc/path_to_inst "/pci108e;abba;/pci@4,4000/network@0" 2 "ce" "/pci108e;abba;/pci@6,2000/network@0" 1 "ce" "/pci108e;abba;/pci@4,2000/network@0" 0 "ce"

In the previous example:

The first part within the double quotes specifies the hardware node name in the device tree.

The second number is the instance number (shown in bold italics).

The last part in double quotes is the driver name.

In the device path name, the last component after the last / character and before the @ character is the device name.

The path name before the last component is the parent name.

The comma separated numbers after the @ character at the end represent the device and function numbers, which are together referred to as unit-address.

To identify a PCI device unambiguously in the ce.conf file, use the name, parent name, and the unit-address for the device. Refer to the pci(4) man page for more information about the PCI device specification.

In the first line of the previous example:

Name = pci108e,abba

Parent name = /pci@4,4000

Unit-address = 4

In the second line in the previous example:

Name = pci108e,abba

Parent name = /pci@6,2000

Unit-address = 4

In the third line in the previous example:

Name = pci108e,abba

Parent name = /pci@4,2000

Unit-address = 4

2.Set the parameters for the above devices in the /kernel/drv/ce.conf file.

38 Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2001

Image 58
Contents Sun GigaSwift Ethernet Adapter Installation User’s Guide Please Recycle FCC Class a Notice Regulatory Compliance StatementsFCC Class B Notice ICES-003 Class a Notice Avis NMB-003, Classe a ICES-003 Class B Notice Avis NMB-003, Classe BBsmi Class a Notice Page Product NameSun GigaSwift Ethernet UTP Adapter X1150A Declaration of ConformityEN550221998 / CISPR221997 Page Contents Configuring VLANs Configuring Driver ParametersSpecifications Diagnostic Software and Troubleshooting Issues IndexPage Figures Page Tables Page Preface How This Book Is OrganizedUsing Unix Commands Typographic ConventionsShell Prompts Accessing Sun Documentation OnlineRelated Documentation Ordering Sun Documentation Sun Welcomes Your CommentsProduct Overview Hardware OverviewSun GigaSwift Ethernet UTP Adapter 1Sun GigaSwift Ethernet UTP AdapterHardware and Software Requirements Product FeaturesKey Protocols and Interfaces Diagnostic Support Installing the Driver Software Installing the AdapterBecome superuser 1Files and Directories on the CD-ROM See -1to identify the optional packages Installing the Adapter Without Dynamic Reconfiguration To Install the AdapterTo Verify the Installation 1Cat-5 Twisted-Pair CableList the network devices on your system View the .properties file for a list of device properties Ok .propertiesSetting the local-mac-addressProperty To Set the GigaSwift Ethernet Device Primary Boot DeviceRebooting the System Installing the Adapter With Dynamic Reconfiguration To Install an Adapter in a Dynamic Reconfiguration SystemIf the status of the slot is not empty or disconnected, type Reconfigure the devices on the adapter Configure the adapter and slotConnect the adapter and slot Network Configuration Configuring the Network Host FilesEtc/hostname.ce1 # cat /etc/hosts To Set Up a Diskless Client on a GigaSwift Ethernet Network Edit the hosts in the diskless client’s root directoryNetwork Configuration # grep clientname /etc/bootparams Find the root directory of the client systemProceed with the Solaris operating environment installation Shut down and halt the client system# pkginfo grep SUNWce Configuring Driver Parameters GigaSwift Ethernet Device Driver ParametersDriver Parameter Values and Definitions 1ce Driver Parameter, Status, and DescriptionsOperational Mode Parameters Operational Mode ParametersFlow Control Parameters 3Read-Write Flow Control Keyword Descriptions4Forced Mode Parameter Gigabit Forced Mode ParameterInterpacket Gap Parameters 5defines the enableipg0 and ipg0 parameters 5Parameters Defining enableipg0 and ipg07RX Blanking Register for Alias Read Interrupt ParametersRandom Early Drop Parameters 8RX Random Early Detecting 8-Bit VectorsPCI Bus Interface Parameters 9PCI Bus Interface ParametersSetting ce Driver Parameters Setting Parameters Using the ndd UtilityNoninteractive and Interactive Modes To Specify Device Instances for the ndd UtilityUse the instance number to select the device Using the ndd Utility in Interactive Mode To modify a parameter value, use the -setoptionSetting the Autonegotiation Mode To Disable Autonegotiation Mode Setting Parameters Using the ce.conf FileSet the advautonegcap parameter to To Set Driver Parameters Using a ce.conf File Etc/pathtoinst fileGigaSwift Ethernet Driver Operating Statistics 10Read-Only ce Device CapabilitiesReporting the Link Partner Capabilities 11Read-Only Link Partner Capabilities12Transmit and Receive Parameters Rxnewpages rxnewhdrpgs To Check Link Partner Settings As superuser, type the netstat -kcommandPage Configuring VLANs An Overview of VLANs1shows an example network that uses VLANs Configuring VLANs To Configure Static VLANs 2Ethernet Tag Header Format# ifconfig ce123000 plumb up # ifconfig ce224000 plumb up Page Connectors SpecificationsTable A-1Cat-5 Connector Link Characteristics Power Requirements Performance SpecificationsPhysical Characteristics Table A-2Performance SpecificationsDiagnostic Software Troubleshooting Issues SunVTS Diagnostic SoftwareReset the system Using the OpenBoot Prom FCode Self- TestRunning the Ethernet FCode Self-Test Diagnostic Shut down the systemType show-netsto display the list of devices Set the auto-boot?configuration parameter to true Troubleshooting IssuesReset and reboot the system Type the following to apply and save your changes Adv1000fdxcap Adv1000hdxcap AdvpauseTX AdvpauseRX Symbols Index