[vortex] How to make 3c59x.c work with my (few) changes ?

Andrew Morton andrewm@uow.edu.au
Thu, 08 Mar 2001 23:11:10 +0000


Marcus Ramos wrote:
> 
> Hello,
> 
> This might be a very basic question, but anyway I don't know how go
> ahead ...
> 
> I am making a few changes to the source code of 3c59x.c (for the time
> being, only a few printk's). However, nothing seems to happen, as the
> drivers continues to behave just as before. My working sequence is:
> 
> 1) edit and save /usr/src/linux/drivers/net/3c59x.c
> 2) cd /usr/src/linux-2.2.16

Are /usr/src/linux and /usr/src/linux-2.2.16 the same directories?

> 3) make modules
> 4) make modules_install
> 5) reboot
> 
> My /etc/modules.conf contains:
> 
> alias   eth0   3c59x
> 

Everything else seems fine.  If 3c59x is a module
you don't need to reboot:

ifdown eth0
rmmod 359x
modprobe 3c59x
ifup eth0