mego 发表于 2004-2-15 23:24:35

[求助]redhat9怎么装Winbond W89C网卡??

Winbond W89C841这个redhat里没驱动
网卡带有linux驱动文件1 wb841.c   2 wb841.o
怎么装上去呢?

mego 发表于 2004-2-16 19:04:16

顶,怎么装???我按照下面的编译,但是说错误
File List
---------
    wb841.c       Driver source code for Linux kernel 2.4.x.
    wb841.o       Driver object file, Compiled on RedHat7.2(Kernel version 2.4.3)
    INSTALL.TXT   This file.


Installation
------------

    Linux2.4.x
    ======================================

    1. Plug the Winbond W89C841 card into one of the PCI slots of your PC.
    2. Turn power on then boot from Linux
    3. Compile the source file
        In the directory /lib/modules/"kernel-version"/kernel/drivers/net, there are driver modules for
        some Ethernet card, but if there is no the module for your card, you need compile and install
        the driver yourself, the procedure is:
          1) Verify that the source code for your current kernel version is installed.
          2) If you don't have a /usr/include/linux/version.h , please do
             cd /usr/src/linux
             make include/linux/version.h
          3) Copy the driver source code to a source directory. I use usr/src/linux/modules/ .
          4) Compile the source code using the GNU C compiler (gcc), the command is:
                   gcc -o wb841.o -DMODULE -D__KERNEL__ -I /usr/src/linux/include -O6 -c wb841.c (Memory mapping)
             orgcc -o wb841.o -DMODULE -D__KERNEL__ -DUSE_IO_OPS -I /usr/src/linux/include -O6 -c wb841.c(I/O mapping)
             and the wb841.o file will be generated.
             
       You can also use the make tool provided by Linux to compile the source code automatically.
       All things need to do is to write a Makefile and save it in the same directory as the source file,
       and then type the command:
页: [1]
查看完整版本: [求助]redhat9怎么装Winbond W89C网卡??