background image

14

Platform Notes:  The hme Fast Ethernet Device DriverMay 1996

3

Selecting the Internal or External Transceiver

Use the

use_int_xcvr

 parameter to change the default behavior.  For

example, you can select the internal transceiver, even though the driver is
capable of selecting the external transceiver.  The driver, not the hardware,
makes the selection between the internal and external transceiver.

If the external transceiver, which is connected to the MII interface, is present,
the driver selects the external transceiver using the default

use_int_xcvr 0

.

If the external transceiver is not present, the driver selects the internal
transceiver.  When this parameter is set to

use_int_xcvr 1,

 the driver

selects the internal transceiver, even if the external transceiver is connected.

1. The priority (in descending order) for these parameters is:

 adv_100T4_cap, adv_100fdx_cap, adv_100hdx_cap, adv_10fdx_cap,

adv_10hdx_cap

adv_10fdx_cap

1

0
1

Local transceiver capability advertised by the hardware; read/write parameter
= Not 10Mbit/sec full-duplex capable (default)
= 10Mbit/sec full-duplex capable

adv_10hdx_cap

1

0
1

Local transceiver capability advertised by the hardware; read/write parameter
= Not 10Mbit/sec half-duplex capable
= 10Mbit/sec half-duplex capable (default)

use_int_xcvr

0
1

Local transceiver capability selected for networking by the user
= External transceiver is used if connected (default)
= Internal transceiver is used, even if the external transceiver is connected

Table 3-5

Operational Mode Parameters  (Continued)

Parameter

Values

Description

Содержание Ethernet Device Driver none

Страница 1: ...2550 Garcia Avenue Mountain View CA 94043 USA 415 960 1300 fax 415 969 9131 Sun Microsystems Computer Company PlatformNotes ThehmeFast Ethernet DeviceDriver Part No 802 5333 10 Revision A May 1996...

Страница 2: ...Sun Microsystems the Sun logo Solaris NFS Online Backup Online DiskSuite Solstice DiskSuite X11 NeWS JumpStart Sun 4 SunSwift SunFastEthernet Enterprise and Ultra are trademarks or registered trademar...

Страница 3: ...d pos es ou enregistr es de Sun Microsystems Inc aux Etats Unis et dans d autres pays Toutes les marques SPARC utilis es sous licence sont des marques d pos es ou enregistr es de SPARC International...

Страница 4: ......

Страница 5: ...s 3 2 The hme Device Driver 5 Hardware Overview 5 Operating Speeds and Modes 6 Auto Negotiation 6 Internal Transceiver 7 External Transceiver 7 3 Parameter Definitions 9 Driver Parameter Values and De...

Страница 6: ...To specify the device instance for the ndd utility 20 Non Interactive and Interactive Modes 21 To modify a parameter value 21 To display the value of a parameter 22 To modify a parameter value in int...

Страница 7: ...ng Parameters in the etc system File 25 To set the ipg1 to 10 and ipg2 to 5 when you reboot 26 Setting Parameters Using the hme conf File 27 To set ipg1 to 20 and ipg2 to 10 for the SUNW hme device in...

Страница 8: ...viii Platform Notes The hme Fast Ethernet Device Driver May 1996...

Страница 9: ...rv directory Chapter 2 describes the hme device driver and includes topics such as operating speeds and modes auto negotiation the internal transceiver and the external transceiver Chapter 3 describes...

Страница 10: ...ographic conventions used in this book Table 1 1 Typographic Conventions Typeface or Symbol Meaning Example AaBbCc123 The names of commands files and directories on screen computer output Edit your lo...

Страница 11: ...1 3 Table 1 2 Shell Prompts Shell Prompt C shell machine_name C shell superuser machine_name Bourne shell and Korn shell Bourne shell and Korn shell superuser Table 1 3 How to Order Sun Documents Coun...

Страница 12: ...this document We are interested in improving our documentation and welcome your comments and suggestions If a card is not available you can also email or fax your comments to us Please include the pa...

Страница 13: ...ver and the external transceiver for the hme device driver Note that the external transceiver is not present on the SunSwift SBus Adapter Hardware Overview The SUNW hme device provides 10BASE TX or 10...

Страница 14: ...speeds and modes with the SUNW hme device 100 BASE T4 with external transceiver only 100 Mbps full duplex 100 Mbps half duplex 10 Mbps full duplex 10 Mbps half duplex Note An industry standard for fu...

Страница 15: ...ing the auto negotiation protocol Internal Transceiver The internal transceiver is a feature supported by the driver and is capable of all the operating speeds and modes except the 100BASE T4 mode lis...

Страница 16: ...t support auto negotiation the driver selects the highest priority mode supported by the transceiver You can also manually select the speed and mode of the link For example two transceivers might not...

Страница 17: ...Defines the current status link_status Read only Defines the current status link_speed Read only Defines the current status link_mode Read only Defines the current status ipg1 Read and write Inter pac...

Страница 18: ...dx_cap Read only Local transceiver capability of the hardware 10hdx_cap Read only Local transceiver capability of the hardware lp_autoneg_cap Read only Link partner auto negotiation capability lp_100T...

Страница 19: ...peed is 100 Mbps the total IPG is 0 96 microseconds Table 3 3 lists the default values and allowable values for the inter packet gap IPG parameters ipg1 and ipg2 Table 3 2 Read Only Parameters Definin...

Страница 20: ...he ipg0 parameter before transmitting the packet This delay set by the ipg0 parameter is in addition to the delay set by the ipg1 and ipg2 parameters The additional delay set by ipg0 helps to reduce c...

Страница 21: ...t after receiving a packet Table 3 5 Operational Mode Parameters Parameter Values Description adv_autoneg_cap 0 1 Local transceiver capability advertised by the hardware Forced mode Auto negotiation d...

Страница 22: ...to use_int_xcvr 1 the driver selects the internal transceiver even if the external transceiver is connected 1 The priority in descending order for these parameters is adv_100T4_cap adv_100fdx_cap adv_...

Страница 23: ...3 6 Back to back Packet Transmission Capability Parameter Values Description pace_size 1 to 255 0 Number of back to back packets transmitted at one time No limit to the number of back to back packets...

Страница 24: ...lities 100hdx_cap 0 1 Local transceiver capability of the hardware initialized at startup Not 100Mbit sec half duplex capable 100Mbit sec half duplex capable 10fdx_cap 0 1 Local transceiver capability...

Страница 25: ...g_cap is 1 then the speed and mode information is displayed when you use auto negotiation and get the link partner capabilities lp_100hdx_cap 0 1 No 100Mbit sec half duplex transmission 100Mbit sec ha...

Страница 26: ...18 Platform Notes The hme Fast Ethernet Device Driver May 1996 3...

Страница 27: ...tc system file and sets the parameter values in that file To set a particular parameter for a device in the system set the parameter in the hme conf file in the kernel drv directory The parameters set...

Страница 28: ...ng Parameters Using ndd 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 In...

Страница 29: ...tility 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 sect...

Страница 30: ...s the value associated with the specified parameter and prints it Using the ndd Utility in Interactive Mode To modify a parameter value in interactive mode Specify ndd hme as shown below The ndd utili...

Страница 31: ...ce_size read and write adv_autoneg_cap read and write adv_100T4_cap read and write adv_100fdx_cap read and write adv_100hdx_cap read and write adv_10fdx_cap read and write adv_10hdx_cap read and write...

Страница 32: ...r capabilities advertised by the hardware to forced mode 0 which is not capable of auto negotiation adv_autoneg_cap 0 Use the ndd utility as described in Using the ndd Utility in Interactive Mode on p...

Страница 33: ...r all SUNW hme devices in the system so that the parameter variables are always effective even after rebooting the system enter the parameter variables in the etc system file When you reboot the syste...

Страница 34: ...following lines to the etc system file 3 Save the etc system file 4 Save all files and exit all programs Exit the windowing system 5 Reboot the system by typing init 6 at the prompt The system is halt...

Страница 35: ...set ipg1 to 20 and ipg2 to 10 for the SUNW hme device in SBus slot 0xe 1 Invoke the prtconf v command and pipe the output to the more command prtconf v more or redirect the output of the command to a...

Страница 36: ...d sizes Precede each size with 0x and leading zeros as indicated in the following screen Set ipg1 and ipg2 These parameters are set to 20 and 10 respectively in this example Type a semicolon after the...

Отзывы: