#pragma ident   "@(#)$RCSfile: README,v $ $Revision: 1.7 $ $Date: 2001/06/22 14:52:30 $ NSC"

README file for building,installing and uninstalling the solaris driver.

Building the driver.
--------------------
1. Copy the following source files to the build directory

    a. HSM sources hsm.c, hsm.h and dp83820.h 
	b. NSM sources nsm.c, nsm.h, nsm.mk
	c. dp.conf
	d. drvinst
	e. uninst

 	# cp hsm.c hsm.h dp83815.h dp83820.h nsm.c nsm.h nsmtypes.h nsm.mk  
		dp.conf /home/build

2. Build the driver using the following command. 

	#make -f nsm.mk 

Installing the driver
---------------------
1. Execute drvinst script to copy and add the driver along with the conf file
	(ie dp and dp.conf) to the system.

	# ./drvinst 

2. Configuring the adapter.
  ---------------------
Following are the steps for configuring the adapter.
a. Edit /etc/hostname.<interface> (Enter the Machine name only,Machine name is 
				got by typing "uname -a" at the prompt)
b. Edit /etc/hosts  (Enter the <IP Address>  <Machine name>)
c. Edit /etc/netmasks (Enter the <network-number> <netmask>) 
d. Execute the  following commands in the shell prompt

		# ifconfig <interface> plumb
		# ifconfig <interface> <ip_address>
		# ifconfig <interface> up

Uninstalling the driver
-----------------------

1. Execute the following commands to unconfiguring the adapter.

		# ifconfig <interface> down
		# ifconfig <interface> unplumb

2. Execute the uninst script to remove the driver from the system.

	# ./uninst

NOTE:
----
The <interface> will be dp? (? to be substituted by the appropriate instance #).
Example 
-------
If the instance  is 0, to unconfigure the driver do the following

		# ifconfig dp0 down
		# ifconfig dp0 unplumb

