Sun Microsystems Sun Quad manual Setting ipg Driver Parameters Using a qfe.conf File

Page 51

Setting ipg Driver Parameters Using a qfe.conf File

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

Typically the path names and the associated instance numbers will be present in the

/etc/path_to_inst file.

#grep qfe /etc/path_to_inst "/pci@1f,2000/pci@2/SUNW,qfe@0,1" 4 "qfe" "/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 above lines:

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

The second number is the instance number.

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 qfe.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 = SUNW,qfe

Parent = /pci@1f,2000/pci@2

Unit-address = 0,1

In the second line in the previous example:

Name = SUNW,qfe

Parent = /pci@1f,2000/pci@2

Unit-address = 1,1

Appendix B Configuring the Quad FastEthernet Device Driver Parameters 37

Image 51
Contents Sun Quad FastEthernet PCI Adapter Installation User’s Guide Please Recycle Regulatory Compliance Statements DOC Class a Notice Avis DOC, Classe a EMC Page Contents Specifications Running Diagnostics Tests Page How This Book Is Organized PrefaceRelated Documents Unix CommandsShell Prompts Typographic ConventionsOrdering Sun Documents Sun Welcomes Your CommentsTable P-1SunExpress Contact Information 1Sun Quad FastEthernet PCI adapter Product Overview2Sun Quad FastEthernet PCI adapter Back Panel Features1Hardware and Software Requirements Checking the OpenBoot Prom Revision LevelDisplaying the OpenBoot Prom Revision Level Hardware and Software RequirementsPage Using a text editor, add the following line to the end Installing the AdapterInstalling the Adapter Ok show-devs Verifying the InstallationExamining Network Activity Perform a reconfiguration boot on the system Rebooting the SystemPage Configuring the Driver Software Installing the Driver SoftwareConfiguring the Host Files Etc/hosts file # cat /etc/hosts Reboot your systemAt the ok prompt type Booting From the NetworkAs superuser root, type Post-Installation Procedures OptionalConfiguring Driver Parameters Increasing TCP/IP PerformanceType Forcing Network Speed Between 10 Mbps and 100 MbpsAuto-Negotiation Local-mac-address Property Specifications Physical DimensionsTable A-1Physical Dimensions Table A-3Performance Specifications Power RequirementsPerformance Specifications Table A-2Power RequirementsEthernet channels Interface SignalsPage Internal Transceiver Configuring the Quad FastEthernet Device Driver ParametersQfe Driver Parameter, Status, and Descriptions Driver Parameter Values and DefinitionsTable B-2Read-Only Parameters Defining the Current Status Defining the Current StatusInter-Packet Gap Parameters Table B-1qfe Driver Parameter, Status, and DescriptionsIpg1 = 8 default at initialization Operational Mode Parameters Table B-5Operational Mode ParametersTable B-4Parameters Defining lancemode and ipg0 Table B-7Read-Only Transceiver Capabilities Defining the Number of Back-to-Back Packets to TransmitReporting Transceiver Capabilities Table B-6Back-to-back Packet Transmission CapabilityTable B-8Read-Only Link Partner Capabilities Reporting the Link Partner CapabilitiesSetting Parameters Using the ndd Utility Setting qfe Driver ParametersUse the instance number to select the device To Specify the Device Instance for the ndd UtilityTo modify a parameter value, use the -setoption Using the ndd Utility in Non-Interactive Mode# ndd /dev/qfe \? Setting Forced Mode Table B-9Setting Variables in the /etc/system File Setting Parameters in the /etc/system FileSetting the ipg1 and ipg2 Parameters Setting Parameters Using the qfe.conf FileEtc/pathtoinst file 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 Running the Ethernet FCode Selftest DiagnosticReset the system Shut down the systemOk setenv diag-switch? false Reset and reboot the system Set the auto-boot?configuration parameter to trueCreating, 12 editing, 11 examples IndexEditing Editing, 11 exampleLEDs Watch-net-all output Page Ordering Sun Documents AIR Mail PAR Avion