Platform Notes: The hme FastEthernet Device Driver

Setting Parameters in the /etc/system File

To configure the hme driver parameters for 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 system, the system reads the /etc/system file and sets these parameter variables in the hme module in the operating system kernel.

Table 4-1 lists the variables you need to set in the /etc/system file.

Table 4-1 Setting Variables in the /etc/system File
 Parameter Variable

ipg1

hme_ipg1

ipg2

hme_ipg2

use_int_xcvr

hme_use_int_xcvr

pace_size

hme_pace_size

adv_autoneg_cap

hme_adv_autoneg_cap

adv_100T4_cap

hme_adv_100T4_cap

adv_100fdx_cap

hme_adv_100fdx_cap

adv_100hdx_cap

hme_adv_100hdx_cap

adv_10fdx_cap

hme_adv_10fdx_cap

adv_10hdx_cap

hme_adv_10hdx_cap

lance_mode

hme_lance_mode

ipg0

hme_ipg0

These parameter values, described in Chapter 3, Parameter Definitions, are applicable to all SUNW,hme devices on the system. See Table 3-2 through Table 3-8 for parameter descriptions. An example follows.

To Set the ipg1 to 10 and ipg2 to 5 When Rebooting
  1. Become superuser.

  2. Add the following lines to the /etc/system file:


    set hme:hme_ipg1 = 10
    set hme:hme_ipg2 = 5
    

  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 halted and then rebooted.