这是下载的驱动中的说明文件。
VIA PCI 10/100Mb Fast Ethernet Adapter
**
** Linux Driver
**
** v3.28 Nov. 2001
**
**
Introduction:
=============
The instructions listed below are for linux driver installation. You must
compile the source code to generate linuxfet.o and use insmod command to
insert linuxfet.o as module.
Contents of the Subdirectory:
=============================
linux.txt This file.
linuxfet.tar Tar file includes following files
Makefile Makefile for generating driver object file
linuxfet.h The linux driver header file
linuxfet.c The linux driver source code file
Kernel Supported
================
This driver support linux kernel version 2.2.x and 2.4.x (2.4.1-2.4.6) now.
Installation
============
Please enter the following commands at the UNIX prompt. Remember, UNIX is
case sensitive.
1) Create a temporary directory:
mkdir /temp
2) Change to the temporary directory:
cd /temp
2) Copy driver (linuxfet.tar) from DOS disk, (mcopy below is one tool in
mtools, if you didn't install mtools, you can type
'mount -t msdos /dev/fd0 /mnt' and use 'cp /mnt/linuxfet.tar /temp'
command to copy the driver to the temporary directory):
mcopy a:linuxfet.tar . 在这里没什么问题
3) untar the archive file:
tar xvf linuxfet.tar 在这里没什么问题
4) Compile the driver source files and it will generate linuxfet.o, and
copy it to correct driver installation path (The installation directory
is different in different kernel versions. In 2.4.x kernel, the path is
/lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel,
the path is /lib/modules/KERNEL_VERSION/net/, the KERNEL_VERSION (see
above) means the kernel version of your Linux distribution. If you don't
know your kernel version , please run 'uname -r' command in command
line. The kernel version will look like '2.2.16', '2.4.2-2smp' etc.) :
make install 问题出在这 请问我要如何编译驱动文件 使其产生一下linuxfet.o ? 请帮忙解决这一步要要怎样做? 我在tar xvf linuxfet.tar 得到了 Makefile, linuxfet.h , linuxfet.c 这三个文件。