Sun Microsystems 805-1797-10 manual Setting qfe Driver Parameters

Page 47

If the link partner is capable of auto-negotiation (when lp_autoneg_cap is 1) then the speed and mode information is displayed when you use auto-negotiation and get the link partner capabilities.

Setting qfe Driver Parameters

You can set the qfe device driver parameters in three ways (ndd, /etc/system, and qfe.conf), depending on your needs. To set parameters that are valid until you reboot the system, use the ndd utility. Using ndd is a good way to test parameter settings.

To set parameters so they remain in effect after you reboot the system:

Add the parameter values to the /etc/system file when you want to configure

4parameters for all devices in the system.

Create a /kernel/drv/qfe.conf file and add parameter values to the this file when you need to set a particular parameter for a device in the system.

Setting Parameters Using the ndd Utility

Use the ndd utility to configure parameters that are valid until you reboot the system. The ndd utility supports any networking driver, which implements the Data Link Provider Interface (DLPI).

The following sections describe how you can use the qfe driver and the ndd utility to modify (with the -setoption) or display (without the -setoption) the parameters for each SUNW,qfe device.

Identifying Device Instances

Before you use the ndd utility to get or set a parameter for a qfe device, you must specify the device instance for the utility since there will be at least four SUNW,qfe devices.

To Specify the Device Instance for the ndd Utility

1.Check the /etc/path_to_inst file to identify the instance associated with a particular device.

#grep qfe /etc/path_to_inst "/pci@1f,2000/pci@2/SUNW,qfe@0,1" 4 "qfe"

Configuring the Quad FastEthernet Device Driver Parameters 33

Image 47
Contents Revision A, August USA 650 960-1300 fax 650 Revision A, August Please Recycle Contents Running Diagnostics Tests Index Regulatory Compliance StatementsPage How This Book Is Organized PrefaceRelated Documents Unix CommandsShell Prompts Typographic ConventionsTable P-1SunExpress Contact Information Ordering Sun DocumentsXii Sun Welcomes Your CommentsPage 1Sun Quad FastEthernet PCI adapter Product Overview1Hardware and Software Requirements FeaturesHardware and Software Requirements Displaying the OpenBoot Prom Revision Level Checking the OpenBoot Prom Revision LevelPage Adding an Entry to the driveraliases File Installing the AdapterUsing a text editor, add the following line to the end Installing the Adapter Examining Network Activity Verifying the InstallationDiagnostic Testing Code Example 2-1 watch-net-allCommad Output Perform a reconfiguration boot on the system Rebooting the SystemPage Configuring the Host Files Installing the Driver SoftwareAt the command line, use the grep command to search Configuring the Driver SoftwareEtc/hosts file At the ok prompt type Booting From the NetworkReboot your system As superuser root, type Post-Installation Procedures OptionalConfiguring Driver Parameters Increasing TCP/IP PerformanceType Forcing Network Speed Between 10 Mbps and 100 MbpsLocal-mac-address Property Auto-NegotiationOk setenv local-mac-address? true Page Table A-1Physical Dimensions Specifications Physical DimensionsTable A-3Performance Specifications Power RequirementsTable A-2Power Requirements Performance SpecificationsSpecifications Page Figure B-132-Pin RJ-45 Connectors Interface SignalsPage Internal Transceiver Configuring the Quad FastEthernet Device Driver ParametersTable C-1qfe Driver Parameter, Status, and Descriptions Driver Parameter Values and DefinitionsQfe Driver Parameter, Status, and Descriptions Defining the Current StatusTable C-2Read-Only Parameters Defining the Current Status Inter-Packet Gap ParametersPacket after receiving a packet Table C-4Parameters Defining lancemode and ipg0 Table C-5Operational Mode Parameters Operational Mode ParametersTable C-7Read-Only Transceiver Capabilities Defining the Number of Back-to-Back Packets to TransmitReporting Transceiver Capabilities Table C-6Back-to-back Packet Transmission CapabilityTable C-8Read-Only Link Partner Capabilities Reporting the Link Partner CapabilitiesTo Specify the Device Instance for the ndd Utility Setting qfe Driver ParametersSetting Parameters Using the ndd Utility To modify a parameter value, use the -setoption Use the instance number to select the deviceUsing the ndd Utility in Interactive Mode Select at least one of the five capabilities adv100fdxcap To Set the Mode to Auto-NegotiationTable C-9Setting Variables in the /etc/system File Setting Parameters in the /etc/system FileSetting Parameters Using the qfe.conf File Unit-address = 2,1 Fourth line in the previous example Setting ipg Driver Parameters Using a qfe.conf FileKernel/drv/qfe.conf file Set the ipg1 and ipg2 parameters for the above four devicesUsing the OpenBoot Prom FCode Selftest Running Diagnostics TestsType show-devsto display the list of devices Reset the systemShut down the system Reset and reboot the system Set the auto-boot?configuration parameter to truePage FCC Class a Notice Regulatory Compliance StatementsFCC Class B Notice DOC Class B Notice Avis DOC, Classe B DOC Class a Notice Avis DOC, Classe aEMC Declaration of ConformitySupplementary Information SafetyPage Index-51 Index