|

楼主 |
发表于 2005-10-15 12:57:31
|
显示全部楼层
谢谢,我找到驱动了,按他的步骤安装
Copy uli526x.c to /usr/src/linux-2.4/drivers/net, and modify the
following file in this directory. (Make a backup of them.)
1.Config.in
add the following lines to Config.in file.(refer to the Config.in file we provide to you)
dep_tristate ' ULi M526x controller support' CONFIG_M526X $CONFIG_PCI
2.Makefile
add the following lines to Makefile.(refer to the Makefile we provide to you)
obj-$(CONFIG_M526X) += uli526x.o
------------------------------------
Install as a kernel module
------------------------------------
Step 1:
Change directory to /usr/src/linux-2.4
Use the command "make menuconfig" or "make xconfig", and make
sure "ULi M526x controller support" is set as module.
Example:
Select "Network device support-->Ethernet (10 or 100Mbit)-->
ULi M526x controller support" as "m"
Step 2:
Select "Loadable module support", and unselect "Set version information
on all module symbols"
Before exit, save your configration.
Step 3:
make dep
make modules
make modules_install
Step 4:
Insert uli526x module into kernel
"insmod uli526x" ;;Auto Detection Mode (Suggest)
"insmod uli526x mode=0" ;;Force 10M Half Duplex
"insmod uli526x mode=1" ;;Force 100M Half Duplex
"insmod uli526x mode=4" ;;Force 10M Full Duplex
"insmod uli526x mode=5" ;;Force 100M Full Duplex
The screen will show the message:
Using /lib/modules/2.4/kernel/drivers/net/uli526x.o
It indicates the M5261 10/100M Ethernet driver has been inserted to
your kernel.
但是到第四步 输入 insmod uli526x
时说 uli526x 模块名无效,怎么回事阿, |
|