Date: Wed, 20 Feb 2002 15:00:52 +0900 From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> To: Peter Wemm <peter@wemm.org> Cc: Mike Smith <msmith@hub.freebsd.org>, current@FreeBSD.ORG Subject: Re: HEADS UP: module build process changed Message-ID: <ybswux8wv3f.wl@ett.sat.t.u-tokyo.ac.jp> In-Reply-To: <20020220054111.5648339F1@overcee.wemm.org> References: <ybs3czwyc2u.wl@ett.sat.t.u-tokyo.ac.jp> <20020220054111.5648339F1@overcee.wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 19 Feb 2002 21:41:11 -0800, Peter Wemm wrote: > > e.g. > > > > kldload module1 > > kldload module2 > > > > module2 cannnot resolv symbols in module1. > > > > -stable doesn't have this problem. > > module2 cannot resolve symbols in module1 unless there is a declared > dependency. This is intentional, otherwise there is no way to check that > module1 is not unloaded while module2 is using it. Stable is lacking this > enforcement. Thanks for the information. Could you point me an example code how to declare dependency? In my environment module1 is firewire bus drivier, module2 is sbp driver. module1: DRIVER_MODULE(firewire,fwohci,firewire_driver,firewire_devclass,0,0); module2: DRIVER_MODULE(sbp, firewire, sbp_driver, sbp_devclass, 0, 0); /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybswux8wv3f.wl>