#---------------------------------------------------------------------#
# The eth_hook_enhanced schar driver accepts
# commandline parameters for driver name (ex. schar0, vme1 etc.)
# and ethernet device name (ex. eth1, eth2 etc.).
# So no recompile is need to change to a different network device.
# Simple make the appropriate changes in this file.
#
# Note: the driver name must match the device name which is a
# "special file" of the same name in /dev and
# created with the command "mknod 'name' c MAJOR MINOR"
#   where 'c' implies character device,
#   MAJOR is the major number (42 for character devices) and
#   MINOR is the minor number (your pick 0, 1, 2, ...)
#
# To open the device pass the driver name to "eth_open("'driver_name'") 
# Multiple drivers can be opened from the same process, but each driver
# must have its own module loaded with a unique module name for each.
# The module name is specified with the -o option to insmod.
#
# See eth_lib3.c routines for more details. 
#---------------------------------------------------------------------#
/sbin/ifdown eth1
/sbin/rmmod dl2k
/sbin/rmmod dl2x
/sbin/rmmod eth_hook
/sbin/rmmod vme_drv
/sbin/insmod -f -o vme_drv eth_hook_enhanced/eth_hook.o eth_dev="eth1" schar_name="vme1"
/sbin/insmod -f d550/dl2x.o jumbo=1 mtu=9000 tx_flow=0 rx_flow=0 media=6
/sbin/ifup eth1
/sbin/ifconfig eth1  -arp
/sbin/ifconfig eth1
