Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 1999 11:01:42 -0500 (EST)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-hackers@freebsd.org
Subject:   Register a KLD module
Message-ID:  <Pine.GSO.3.96.991218105241.13829B-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

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.

Any help is appreciated.

-Zhihui



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.GSO.3.96.991218105241.13829B-100000>