Date: Sat, 18 Dec 1999 18:49:09 +0100 (CET) From: Andrzej Bialecki <abial@webgiro.com> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: Register a KLD module Message-ID: <Pine.BSF.4.20.9912181848330.30722-100000@mx.webgiro.com> In-Reply-To: <Pine.GSO.3.96.991218105241.13829B-100000@sol.cs.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 18 Dec 1999, Zhihui Zhang wrote: > > I have looked at the KLD examples and found out that they boils down to a > DECLARE_MODULE() macro with the subsystem given as SI_SUB_DRIVERS. Is > there any reason for using this particular SI_SUB_DRIVERS? I see another > example at http://www.freebsd.org/~abial/ that uses SI_SUB_EXEC. > > Is this subsystem id really useful for KLDs? KLDs are loaded when we run > the kldload command and the subsystem ids are sorted at boot time. This is not quite true. The KLDs can be loaded by the bootloader. Andrzej Bialecki // <abial@webgiro.com> WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" 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.20.9912181848330.30722-100000>