Sun Microsystems 805-1797-10 manual Setting ipg Driver Parameters Using a qfe.conf File

Page 53

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.

4The 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

In the third line in the previous example:

Name = SUNW,qfe

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

Unit-address = 2,1

In the fourth line in the previous example:

Configuring the Quad FastEthernet Device Driver Parameters 39

Image 53
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 At the command line, use the grep command to search Installing the Driver SoftwareConfiguring the Driver Software Configuring the Host FilesEtc/hosts file At the ok prompt type Booting From the NetworkReboot your system Configuring Driver Parameters Post-Installation Procedures OptionalIncreasing TCP/IP Performance As superuser root, typeType 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-2Power Requirements Power RequirementsPerformance Specifications Table A-3Performance 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 ipg0Table C-5Operational Mode Parameters Operational Mode ParametersReporting Transceiver Capabilities Defining the Number of Back-to-Back Packets to TransmitTable C-6Back-to-back Packet Transmission Capability Table C-7Read-Only Transceiver CapabilitiesTable 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