当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]万事具备,只欠动风(网卡驱动编译问题)各位大侠帮帮忙
帖子发表于 : 2007-06-02 12:41 

注册: 2007-04-11 17:39
帖子: 153
送出感谢: 0 次
接收感谢: 0 次
发现网卡能认识就是没驱动,我去下了个对应的驱动,可发现是c源码,要自己编译或着它自带的readme也有说明的(可是我发现安装它的说明来做很难操作,)哪位好心人帮帮忙呀.怎么来实现c源码编译,能上网就好了,其他还蛮正常的,声卡被认出一回,而且能出声,不过,以后就没出过声了,
------------------------------------------------------------------------------------
ULi M5263 10/100M Ethernet Controller Driver for kernel 2.6.x
------------------------------------------------------------------------------------

Copyright (c) 2004-2005, ULi Electronics Inc.


------------------
CONTENTS
------------------
1. ULi M5263 10/100M Ethernet Controller Core
2. File Signature
3. Installation Guide
4. Revision History
5. Disclaimer


1. ULi M5263 10/100M Ethernet Controller Core
=============================================
You can use command
/sbin/lspci -n
or
cat /proc/pci | grep 5263
to determine whether ULi M5263 Ethernet controller exists in your
system. If yes, simply follow the steps below to install the driver.

This driver is dedicated to support ULi M5263 10/100M Ethernet
Controller under Linux platform.

Any improper use of this module, such as combining it with different
hardware and/or software environment, may produce unpredicable results.
The author of the driver and its property owner do not have
responsibility for any property lose or damage.


2. File Signature
====================
/driver/uli526x.c source codec c file
readme.txt this file
====================
/sample/Kconfig.in configuration sample file
/sample/Makefile.in sample makefile

3.Installation Guide
====================
To install the driver, you should reconfigure and recompile your Linux
kernel as follows:

Make sure your kernel version number is 2.6.x.

Copy uli526x.c to /usr/src/linux-2.6.x/drivers/net/tulip/, and modify the
following file in this directory. (Make a backup of them.)

1.Kconfig.in
add the following lines to Kconfig.in file.(refer to the Kconfig.in file we provide to you)

config ULI526X
tristate "ULi M526x controller support"
depends on NET_TULIP && PCI
select CRC32
---help---
This driver is for ULi M5261/M5263 10/100M Ethernet Controller
(<http://www.uli.com.tw/>).

To compile this driver as a module, choose M here.

2.Makefile
add the following lines to Makefile.(refer to the Makefile we provide to you)

obj-$(CONFIG_ULI526X) += uli526x.o
------------------------------------
Install as a kernel module
------------------------------------

Step 1:
Change directory to /usr/src/linux-2.6.x
Use the command "make menuconfig" or "make xconfig", and make
sure "ULi M526x controller support" is set as module.

Example:
Select "Device Drivers"
Select "Networking support"
Select "Ethernet (10 or 100Mbit)"
Select "Tulip family network device support"
Unselect "DECchip Tulip (dc2114x) PCI support"
Select "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 modules
make modules_install

Step 4:
rmmod tulip
modprobe uli526x

Then, you can bind any protocol into M5263 driver and use it.

------------------------------------------
Install as a part of linux kernel
------------------------------------------

Step 1:
Change directory to /usr/src/linux-2.6.x
Use the command "make menuconfig" or "make xconfig", and make
sure "ULi M526x controller support" is set as kernel.

Example:
Select "Device Drivers"
Select "Networking support"
Select "Ethernet (10 or 100Mbit)"
Select "Tulip family network device support"
Unselect "DECchip Tulip (dc2114x) PCI support"
Select "ULi M526x controller support" as "y"


Step 2:
Select "Loadable module support", and unselect "Set version information
on all module symbols"

Before exit, save your configration.


Step 3:
make
cp arch/i386/boot/bzImage /boot

Step 4:
If you use grub to boot your linux, then
1) Modify the file /etc/grub.conf by adding
title 2.6.x
root (hd0,2)
kernel /boot/bzImage ro root=/dev/hd1
The disk partition where your linux resides in,
for example: /dev/hda1
2) Reboot and select the kernel 2.6.x

Then, you can bind any protocol into M5263 driver and use it.


4. Revision History
===================
V0.90 - First release.
V0.91 - Change the all ali string to uli string and add the support to ethtool
V0.92 - Change the timeout length for UDP test
V0.93 - Change the tx queue count for UDP test,add non-srom solution

5. Disclaimer
=============
Product names used in this file are for identification purposes only
and may be trademarks of their respective owners.

No part of this file may be copied or reproduced without written
consent from ULi Electronics.

ULi Electronics makes no warranty for the use of its products and
assumes no responsibility for any errors which may appear in this file
nor does it make a commitment to update the information contained
herein.

ULi Electronics retains the right to make changes to these
specifications at any time, without notice.


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-06-02 12:53 
头像

注册: 2006-09-30 0:32
帖子: 2717
地址: 巴拉特星系第四行星──海尼森
送出感谢: 0 次
接收感谢: 0 次
有什么难的?

人家都是1234的,还有step1、step2、step3、step4
还有example
你照着上面说的往终端里粘贴不就是了吗?


_________________
头可断,血可流,靓女不可不追求
相艾唔好口,够姜就只抽

BARTON 2500+/1536MDDR400
EP8RDA3G/MX4000 128M64bit 8X
DiamondPlus9-6Y080L0-ATA133
Samsung743DF
HiweedDesktop-1.0


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译