the installation of RTL8139c.

From: haitao (what6688_at_hotmail.com)
Date: 10/29/03


Date: 28 Oct 2003 19:32:01 -0800

Hi Guys

I wrote a device driver for Red Hat 7.3,just for practice and fun. The
NIC

is RTL8139C. and my own driver was named rtl8139.o

it works well if I installed it by insmod after I rmmod the orgin
8139too.

now I want to load it automatically at the boot time.

cp ./rtl8139.o /lib/modules/`uname -r`/kernel/drivers/net/

modify modules.conf ,

alias rtl8139 eth0

reboot the system.

and after that , lsmod , I found the 8139too is still loaded, although

I have rm /lib/modules/`uname -r`/kernel/drivers/net/8139too.o.

I have traced the scripts network-functions which is located at
/etc/sysconfig/network-scripts/.

and add a line in the function : is_available

I found that 8139too had been loaded before this function executed.

I don't know why. does somebody know ?

Thanks in advance!



Relevant Pages

  • Re: the installation of RTL8139c.
    ... > I wrote a device driver for Red Hat 7.3,just for practice and fun. ... > it works well if I installed it by insmod after I rmmod the orgin ...
    (comp.os.linux)
  • Re: Transfer mem blocks from user to kernel space
    ... I am rather new to Linux device driver programming. ... practice' question about transfering chunks of data from user space to ... Is there a best practice? ...
    (comp.os.linux.development.system)
  • PCI hardware specification
    ... I am a device driver newbie, to learn drivers and for practice. ... I donot have any device's hardware spefications. ... PCI device, that will be great help to me. ...
    (comp.os.linux.development.system)