************************************************* ** Silan SC92031 PCI Fast Ethernet Adapter ** ** ** ** LINUX driver ** ************************************************* Introduction: ============= The instructions are for linux driver installation. You must compile the source code to generate sc92031.o and use insmod command to insert sc92031.o as module. Contents of the Subdirectory: ============================= readme.txt This file. sc92031.c The linux core driver source code file Makefile Makefile for generating driver object file Kernel Supported ================ This driver support linux kernel version 2.4.x/2.5.x now. Installation ============ 1) Create a temporary directory: # mkdir /temp 2) Change to the temporary directory: #cd /temp 3) Copy driver (sl_linux.tgz) from CD-ROM to the temporary directory, and follow the commands: # mount -t iso9660 /dev/cdrom /mnt # cp /mnt/sl_linux.tgz /temp 4) untar the archive file: # tar xzvf sl_linux.tgz # cd sc92031 5) Compile the driver source files and it will generate sc92031.o, and copy it to correct driver installation path (The installation directory is different in different kernel versions. In 2.4.x kernel, the path is /lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel, the path is /lib/modules/KERNEL_VERSION/net/) # make install 6) Check configuration file (/etc/modules.conf or /etc/conf.modules,it depend on your Linux distribution) for loading kernel modules. Make sure there is the following content in the configuration file, where # is interface number : alias eth# sc92031 7) Reboot now: shutdown -r now 8) Install your driver module (If the driver module is in the wrong place, an error message will appear, and say that can't find the driver module): insmod sc92031.o 8) Use ifconfig command to assign the IP address, where # is network interface number: ifconfig eth# 9) Check the interface works: ping Uninstallation ============== Please enter the following commands to uninstall your driver: # make uninstall Module Parameter: ================= The following parameters can be set when we install the driver module. You can add this parameters when you execute 'insmod' command to install the driver # insmod sc92031.o work_node =0x00 work_mode work_mode is used for setting the speed and duplex mode of NIC.Value is as followed: Autoselect 0x00 M10-half 0x01 M10-full 0x02 M100-half 0x04 M100-full 0x08 If you want to use other modes,it can be changed by the following steps: # ifdown eth0 # rmmod sc92031 # insmod sc92031.o work_mode= ****