How to add epic100.c into the kernel ?

Jacek Radajewski (jacek@usq.edu.au)
Tue, 30 Dec 1997 10:16:00 +1000


Hi All,

I am in the process of rebuilding our beowulf system
(http://www.sci.usq.edu.au/staff/jacek/topcat) and have to include
support for channel bonding and the epic100 SMC card. So far the
epic100.o module works fine, but I need to compile epic100.c into the
kernel. (I need a monolithic kernel to boot clients of a floppy disk and
mount / via NFS). Anyway, I put an antry in .config "CONFIG_EPIC100=y",
in drivers/net I put :

ifeq ($(CONFIG_EPIC100),y)
L_OBJS += epic100.o
endif

in the Makefile and compiled the kernel. (epic100.o did compile)

I added an entry in /etc/lilo.conf :

append="root=/dev/hda4 mem=256MB ether=0,0,eth0 ether=0,0,eth1
ether=0,0,eth2"

and ran lilo

"I have 2 SMC cards and 3C900 for the outside world"

When I rebooted the machine only 3C900 was detected, but I have no
problems loading the epic100 module.

Questions.

1. What did I do wrong in the kernel configuration ?
2. Is there any documentation available on how to add drivers to the
kernel ?

-- 
________________________________________________________________________
           Jacek Radajewski                Unix Systems Administrator 
          (Yatsek Radayevski)           Department of Maths & Computing
        mailto:jacek@usq.edu.au                 Faculty of Sciences
http://www.sci.usq.edu.au/staff/jacek  University of Southern
Queensland   
 ph +61 76 31 1513  fax +61 76 311775   PO Box 752, Darling Heights 4350
         mobile 0412 196437                         Australia

"A distributed system is one on which I cannot get any work done because a machine I have never heard of has crashed."

Leslie Lamport