Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2000 18:33:02 +0600 (ALMT)
From:      Boris Popov <bp@butya.kz>
To:        Johan Kruger <jkruger@oskar.nanoteq.co.za>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Lodable kernel modules
Message-ID:  <Pine.BSF.4.10.10003071829010.4858-100000@lion.butya.kz>
In-Reply-To: <00030710185702.63483@ockle.dev.nanoteq.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Mar 2000, Johan Kruger wrote:

> I am busy to convert two lkm's to kld's and having some problem with it.

	Uh, if I'm understand correctly - your second module uses
functions and variables from the first one. If so, then just load first
module and then second module. Don't declare exported functions as
'static'.

	See sys/modules/ncp and sys/modules/nwfs for an example. ncp.ko
module exports symbols which is used in the nwfs.ko module.

--
Boris Popov
http://www.butya.kz/~bp/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10003071829010.4858-100000>