*****************************************************************************
*                                                                           *
*                   PCI 10/100Mb Fast Ethernet Adapter                      *
*                                                                           *
*                      Ethernet Driver for Linux                            *
*                                                                           *
*                                                                           *
*****************************************************************************
                 
         
Introduction:
=============

     Below are instructions for install linux driver.You must complie the source
   code to generate driver.o and use insmod to insert driver.o as module .
   You can use "netconfig" utilities to setup network parameters for the driver.


Contents of the Subdirectory:
=============================

    linux550.txt            This file.
    Makefile                makefile to generate driver.o
    pci-scan.c              The linux scan pci device source code
    kern_compat.h           The linux kernel version control source code
    sundance.c              The linux driver source code file


Installation:
=============

    
    1) Now enter the following commands at the UNIX prompt.  Remember, UNIX is 
       case sensitive.

        1:mkdir /temp
        2.cd /temp
        3:mcopy a:sundance.c .       (copies from DOS disk to current working directory)
          mcopy a:pci-scan.c .       (mcopy is mtools if you don't have mtools,you can mount -t                                        /dev/fd0 and use cp command)

          mcopy a:pci-scan.h .
          mcopy a:kern_compat.h .                                             
          mcopy a:Makefile .

                         
    2) type
       - gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c sundance.c
       - gcc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Wstrict-prototypes -O6 -c pci-scan.c
       to generate sundance.o && pci-scan.o       

    3) Run netconfig to set you network parameter(like ip,gateway),This will create
       '/etc/rc.d/inet1' and 'inet2' files.

    4) you must modify /etc/rc.d/rc.inet1 to insmod driver.This file will run at 
       boot time. 

        1:add a line in rc.inet1:
        2:cd /etc/rc.d 
        3:vi rc.inet1  
        4:insmod /your driver'path/sundance.o(pci-scan.o must in the same directory)
        5:ex:insmod /usr/src/linux/modules/sundance.o (must before bind protocal)
        6:shutdown -h now    (then your driver will work every time you boot.)
       


    Note.1 : make sure that your kernel is built with network, fast_ethernet and 
             module support. Otherwise, you have to rebuild your kernel.

        1:go to /usr/src/linux directory
        2:run 'make menuconfig' or 'make config'
        3:mark the options list above.
        4:exit and rebuild your kernel.
            make dep;make clean;make zImage
            the file 'zImage' will be at /usr/src/linux/arch/i386/boot/zImage
        5:modify /etc/lilo.conf.(this file specify where kernel image is)
        6:run 'lilo'


    Note.2 : installation in Red Hat

        1:mkdir temp
        2:cd temp                 
        3:mcopy a:sundance.c .      (copies from DOS disk to current working directory)
          mcopy a:pci-scan.c .        (mcopy is mtools if you don't have mtools,you can mount -t /dev/fd0 and use cp command)
          mcopy a:pci-scan.h .
          mcopy a:kern_compat.h . 
          mcopy a:Makefile .                         
          
        4:type
       - gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c sundance.c
       - gcc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Wstrict-prototypes -O6 -c pci-scan.c
       to generate sundance.o && pci-scan.o
     
        5:cp sundance.o /lib/modules/2.2.XXX/net/sundance.o
          cp pci-scan.o /lib/modules/2.2.XXX/net/pci-scan.o
        6:linuxconf                 (run linuxconf)
        7:enter setting in the Config/Networking/Client tasks/Basic host information/
            IP address:    xxx.xxx.xxx.xxx
            Netmask:       255.255.255.xxx
            Net device:    eth0
            Kernel module: sundance
            
            
   Note.3 : install in SMP Ret Hat
        1:mkdir temp
        2:cd temp                 
        3:mcopy a:sundance.c .      (copies from DOS disk to current working directory)
          mcopy a:pci-scan.c .        (mcopy is mtools if you don't have mtools,you can mount -t /dev/fd0 and use cp command)
          mcopy a:pci-scan.h .
          mcopy a:kern_compat.h . 
          mcopy a:Makefile .                         
          
        4:type
       - gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c sundance.c
       - gcc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Wstrict-prototypes -O6 -c pci-scan.c
       to generate sundance.o && pci-scan.o
     
        5:cp sundance.o /lib/modules/2.2.XXX/net/sundance.o
          cp pci-scan.o /lib/modules/2.2.XXX/net/pci-scan.o
        6:linuxconf                 (run linuxconf)
        7:enter setting in the Config/Networking/Client tasks/Basic host information/
            IP address:    xxx.xxx.xxx.xxx
            Netmask:       255.255.255.xxx
            Net device:    eth0
            Kernel module: sundance
            
    Note.4 : for Red Hat version less than 6.0:
      
        1:vi /etc/conf.modules add following
        2:alias eth0 sundance
        3:install sundance insmod sundance 
      

        