beautypg.com

Sun Microsystems Ethernet Device Driver none User Manual

Page 36

background image

28

Platform Notes: The hme Fast Ethernet Device DriverMay 1996

4

4. Create the

hme.conf

file in the

/kernel/drv

directory using a text editor

and add lines similar to the following to the file:

Specify

name=”hme”

and

class=”sbus

.

Use the

reg

property to specify the device,

0xe

in this case. Use the value

following

Bus Type

in the

prtconf -v

output.

Type the addresses followed by the specified 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 last value. The

ipg

parameters are defined in Chapter 3.

5. Save the

hme.conf

file.

6. Save and close all files and exit all programs; exit the windowing system.

7. Reboot the system by typing the

init 6

command at the

#

prompt.

name=”hme” class=”sbus”

reg=0xe,0x8c00000,0x00000108,0xe,0x8c02000,0x00002000,0xe,

0x8c04000,0x00002000,0xe,0x8c06000,0x00002000,0xe,0x8c07000,

0x00000020

ipg1=20 ipg2=10;