IC Plus IP1000 Gigabit Ethernet Adapter Linux driver Contents: ----------- 1. File Description 2. Driver Installation for Linux 3. Jumbo Support 1. File Description ------------------- Filename Description ==================== ======================================================= ipg.c IC Plus IP1000 Linux Driver Source Code. This file is the main part of IP1000 Linux Driver. makefile Make File For IP1000 Linux Driver. Using "make all", "make smp", "make bigmem" for your kernel. make2.2.sh Make Shell Script For Linux 2.2.x Kernel. make2.2mod.sh Make Shell Script For Linux 2.2.x Kernel. PhyParam.h IP1000 Hardware Parameters modification file. It would have new version for new version of NIC on IC Plus web site. ipg_tune.h Include File For IP1000 Linux Driver. ipg_structs.h Include File For IP1000 Linux Driver. ipg_macros.h Include File For IP1000 Linux Driver. ipg_constants.h Include File For IP1000 Linux Driver. readme.txt A summary of the contents for Linux Driver. This file, which you are reading me now. 2. Driver Installation for Linux ----------------------------------------- a. for kernel 2.4.x a1. Redhat 7.3 (linux kernel 2.4.18) a2. Mandrake 8.1 (kernel 2.4.8) b. for kernel 2.6.x c. for bigmem and smp. a.for kernel 2.4.x ------------------- a1. Redhat 7.3 (linux kernel 2.4.18) a1.1. install way 1: #make all =>generate ipg.o #cp ipg.o /lib/modules/2.4.18-3/kernel/drivers/net/ #insmod ./ipg.o #ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1... xxx is your ip address, ex: 192.168.102.211 yyy is your netmask address, ex:255.255.255.0 a1.2. install way 2: #make all =>generate ipg.o #cp ipg.o /lib/modules/2.4.18-3/kernel/drivers/net/ #insmod ./ipg.o #setup [network configuration] =>to setup your ip address #ifup eth0 eth0 is your network adapter, ex: eth0, eth1... a2. Mandrake 8.1 (kernel 2.4.8) #make all => generate ipg.o #cp ipg.o /lib/modules/2.4.8-26mdk/kernel/drivers/net #insmod ./ipg.o #ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1... xxx is your ip address, ex: 192.168.102.211 yyy is your netmask address, ex:255.255.255.0 b. for kernel 2.6.x ------------------- #make all => generate ipg.ko #insmod ./ipg.ko #ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1... xxx is your ip address, ex: 192.168.102.211 yyy is your netmask address, ex:255.255.255.0 ======================================================================== example for Mandrake 10 automatically load: #make all => generate ipg.ko #uname -r #2.6.11-6mdk => Depending on various Linux versions #cp ipg.o /lib/modules/2.6.11-6mdk/kernel/drivers/net => Just for Mandrake 10 example. #insmod ./ipg.ko (or ipg.o) #ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy ======================================================================== c. for bigmem and smp. ---------------------- c1. If your kernel was in bigmem, using: #make bigmem c2. If your kernel was in smp, using: #make smp 3. Jumbo Support ---------------------- In Makefile: 3.1. Open Jumbo Support: MAPPING_MODE= -DUSE_IO_OPS -DJUMBO_FRAME 3.2. Close Jumbo Support MAPPING_MODE= -DUSE_IO_OPS 3.3. Jumbo Support for RX 10K and TX 10K 3.3.1. Change max jumbo frame support size, please change JUMBO_FRAME_SIZE_xxxx option to modify support size, the more large frame support need more memory to use, the best performence for IP1000A may be "JUMBO_FRAME_SIZE_4K". Note: After changed JUMBO_FRAME_SIZE_xxxx option, please "make clean" then "make" again. in Makefile: MAPPING_MODE= -DUSE_IO_OPS -DJUMBO_FRAME -DJUMBO_FRAME_SIZE_4K Usiable options: JUMBO_FRAME_SIZE_2K JUMBO_FRAME_SIZE_3K JUMBO_FRAME_SIZE_4K JUMBO_FRAME_SIZE_5K JUMBO_FRAME_SIZE_6K JUMBO_FRAME_SIZE_7K JUMBO_FRAME_SIZE_8K JUMBO_FRAME_SIZE_9K JUMBO_FRAME_SIZE_10K