README.TXT Driver File Contents (sfa110-b3.exe)

Driver Package File Name: sfa110-b3.exe
File Size: 487.9 KB

Note:

  The Linux driver for our 10/100 Fast Ethernet adapter,
  It has been verified under the platforms below:

  Slackware 3.6
  Red Hat 5.2/6.0/6.2
  

  Both of the kernel versions of the platforms above are
  the 2.0.36. (The network cannot work under the kernel 2.0.35.)


  (You can check which version your kernel is by type the
   command 'uname -r')


Installation instructions for the Modules version
-------------------------------------------------

  Linux has a facility for linking device drivers into
  the running kernel. This is called Modules support.

  Here's how to make and load the Modules version: 


1. Verify that the source code for your current kernel
   version is installed.
   If you don't have a /usr/include/linux/version.h file,
   do cd /usr/src/linux; make include/linux/version.h 
   Copy the driver source code, tulip.c, to a source directory,
   e.g., /usr/src/linux/drivers/net 


2. Compile the file using one of the compile-commands below:

 *  compile-command (for machines with uni-processor):

    gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`

 *  SMP-compile-command (for machines with multi processors):

    gcc -D__SMP__ -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`

 *  If you can not compile the tulip.c by above 2 commands, please try the following:

    gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -c tulip.c

3. Copy tulip.o into the latest kernel's modules:

   cp tulip.o /lib/modules/2.0.XX/net/tulip.o


4. Update kernel's module dependencies:

   /sbin/depmod -a


5. Check /etc/conf.modules and add the two lines below:

   alias eth0 tulip
   options tulip options=0 debug=1


6. Reboot system:

   /sbin/shutdown -r now


7. Configure your network

   [RedHat]
    /bin/netconf

   [Slackware]
    /sbin/netconfig
    

-------------------------------------------------
p.s. Please make sure the kernel is built with "network,
     ethernet, and module" option support. Otherwise,
     you have to rebuild your kernel by doing the
     following actions.

     a. Change to /usr/src/linux directory.
     b. Run "make menuconfig"
     c. Select the options just mentioned above and exit.
     d. Now rebuild your kernel by using the following command:
        " make dep; make clean; make zImage "
        The file "zImage" will be found at the linux directory
        " /usr/src/linux/arch/i386/boot/zImage"
     e. Modify /etc/lilo.conf to set the new path of kernel image,
        zImage, as usual this file will specify where kernel image
        is.
     f. Run " lilo " to install the new boot loader.
     g. Reboot your linux system.

server: ftp, load: 1.08