[65] in linux-net channel archive

home help back first fref pref prev next nref lref last post

modularizing the at1700 driver

daemon@ATHENA.MIT.EDU (Jeff Newbern)
Mon Feb 6 20:38:17 1995

To: becker@cesdis1.gsfc.nasa.gov
Cc: linux-net@vger.rutgers.edu
Date: Tue, 07 Feb 1995 00:39:15 GMT
From: Jeff Newbern <jnewbern@mit.edu>


hi,

while attempting to modularize the at1700 v1.12 driver (a pretty
straight-forward process) i have run across a slight problem:

the function at1700_probe1() contains a section of code which checks its
dev argument and if it is NULL calls init_etherdev() to allocate a new
dev.  unfortunately _init_etherdev is not exported by the kernel, so the
module cannot function as is.

what is the proper way to handle this?  is there a new scheme which
modularized drivers should employ?

thanks in advance for your assistance,
jeff newbern
jnewbern@mit.edu

home help back first fref pref prev next nref lref last post