|
楼主 |
发表于 2005-6-17 19:00:07
|
显示全部楼层
Here it is:
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.1
a2. Mandrake 8.1 (kernel 2.4.
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.1
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.
#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
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 4K and TX 12K |
|