![](https://seccdn.libravatar.org/avatar/36e051ccd5c147f9e9d619fe330bd9f5.jpg?s=120&d=mm&r=g)
----- Original Message -----
From: "Jim Hatridge"
What I have is "atp.c" and "atp.h". The only info with it was that I had to compile it with the -O option. OK......
#1 Where should I put the "atp.h" file so that gcc can find it?
#2 What is the command to compile "atp.c"? <snip> -- Jim Hatridge
------------------------------------------------------
After you get the drivers compiled you may still have a bit to do. Your drivers may need options and such. Are you sure there are no drivers included with the kernel or distro that you can use? That would make things much easier. If you have compiled them here are the basic things you have to do: -place the drivers in the kernel driver dir for ex: cp /dir/atp.o /lib/modules/2.2.xx/kernel/net/ of course substitute 2.2.xx for the kernel you are using. -rebuild the module dependencies: depmod -a -tell the system how you want to use it in /etc/modules.conf: alias atp eth0 (or eth1, etc. you can check that it doesn't exist already with ifconfig.) -tell the system how to access the card (if neccessary) /etc/modules.conf: options atp io=320 irq=9 dma=5 (or whatever) try without this line first. -do "modprobe atp" -check if the interface is recognized and assign address: ifconfig eth0 192.168.10.50 do "ifconfig" again without options and look for an entry for etho -if it works you can configure SuSEconfig to load it for you or add modprobe atp in your /etc/init.d/boot.local. Hope I didn't miss anything but I probably did. John