Sun Microsystems 805-1797-10 manual Use the instance number to select the device

Page 48

"/pci@1f,2000/pci@2/SUNW,qfe@1,1" 5 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@2,1" 6 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@3,1" 7 "qfe"

In the example above, the four SUNW,qfe@x,1 instances are from a Sun Quad FastEthernet PCI adapter installed in slot 2. For clarity, the instance numbers are bold.

2. Use the instance number to select the device.

#ndd -set /dev/qfe instance instance#

The device remains selected until you change the selection.

Non-Interactive and Interactive Modes

You can use the ndd utility in two modes:

4Non-interactive

Interactive

In non-interactive mode, you invoke the utility to execute a specific command. Once the command is executed, you exit the utility. In interactive mode, you can use the utility to get or set more than one parameter value. (Refer to the ndd (1M) man page for more information.)

Using the ndd Utility in Non-Interactive Mode

This section describes how to modify and to display parameter values.

1.To modify a parameter value, use the -setoption.

If you invoke the ndd utility with the -setoption, the utility passes value, which must be specified down to the named /dev/qfe driver instance, and assigns it to the parameter:

# ndd -set /dev/qfe parameter value

1.To display the value of a parameter, specify the parameter name (and omit the value).

When you omit the -setoption, a query operation is assumed and the utility queries the named driver instance, retrieves the value associated with the specified parameter, and prints it:

# ndd /dev/qfe parameter

34 Sun Quad FastEthernet PCI Adapter Installation and User's Guide Revision A, August 1997

Image 48
Contents Revision A, August USA 650 960-1300 fax 650 Revision A, August Please Recycle Contents Running Diagnostics Tests Regulatory Compliance Statements IndexPage Preface How This Book Is OrganizedUnix Commands Related DocumentsTypographic Conventions Shell PromptsOrdering Sun Documents Table P-1SunExpress Contact InformationSun Welcomes Your Comments XiiPage Product Overview 1Sun Quad FastEthernet PCI adapterFeatures Hardware and Software Requirements1Hardware and Software Requirements Checking the OpenBoot Prom Revision Level Displaying the OpenBoot Prom Revision LevelPage Installing the Adapter Using a text editor, add the following line to the endAdding an Entry to the driveraliases File Installing the Adapter Verifying the Installation Diagnostic TestingExamining Network Activity Code Example 2-1 watch-net-allCommad Output Rebooting the System Perform a reconfiguration boot on the systemPage Installing the Driver Software At the command line, use the grep command to searchConfiguring the Driver Software Configuring the Host FilesEtc/hosts file Booting From the Network Reboot your systemAt the ok prompt type Post-Installation Procedures Optional Configuring Driver ParametersIncreasing TCP/IP Performance As superuser root, typeForcing Network Speed Between 10 Mbps and 100 Mbps TypeAuto-Negotiation Local-mac-address PropertyOk setenv local-mac-address? true Page Specifications Physical Dimensions Table A-1Physical DimensionsPower Requirements Table A-2Power RequirementsPerformance Specifications Table A-3Performance SpecificationsSpecifications Page Interface Signals Figure B-132-Pin RJ-45 ConnectorsPage Configuring the Quad FastEthernet Device Driver Parameters Internal TransceiverDriver Parameter Values and Definitions Table C-1qfe Driver Parameter, Status, and DescriptionsDefining the Current Status Qfe Driver Parameter, Status, and DescriptionsInter-Packet Gap Parameters Table C-2Read-Only Parameters Defining the Current StatusTable C-4Parameters Defining lancemode and ipg0 Packet after receiving a packetOperational Mode Parameters Table C-5Operational Mode ParametersDefining the Number of Back-to-Back Packets to Transmit Reporting Transceiver CapabilitiesTable C-6Back-to-back Packet Transmission Capability Table C-7Read-Only Transceiver CapabilitiesReporting the Link Partner Capabilities Table C-8Read-Only Link Partner CapabilitiesSetting qfe Driver Parameters Setting Parameters Using the ndd UtilityTo Specify the Device Instance for the ndd Utility Use the instance number to select the device To modify a parameter value, use the -setoptionUsing the ndd Utility in Interactive Mode To Set the Mode to Auto-Negotiation Select at least one of the five capabilities adv100fdxcapSetting Parameters in the /etc/system File Table C-9Setting Variables in the /etc/system FileSetting Parameters Using the qfe.conf File Setting ipg Driver Parameters Using a qfe.conf File Unit-address = 2,1 Fourth line in the previous exampleSet the ipg1 and ipg2 parameters for the above four devices Kernel/drv/qfe.conf fileRunning Diagnostics Tests Using the OpenBoot Prom FCode SelftestReset the system Shut down the systemType show-devsto display the list of devices Set the auto-boot?configuration parameter to true Reset and reboot the systemPage Regulatory Compliance Statements FCC Class a NoticeFCC Class B Notice DOC Class a Notice Avis DOC, Classe a DOC Class B Notice Avis DOC, Classe BDeclaration of Conformity EMCSafety Supplementary InformationPage Index Index-51