From owner-freebsd-current Sun Apr 30 8:39:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id 7359A37B645; Sun, 30 Apr 2000 08:39:12 -0700 (PDT) (envelope-from bp@butya.kz) Received: from bp (helo=localhost) by relay.butya.kz with local-esmtp (Exim 3.13 #1) id 12lvo1-000CGl-00; Sun, 30 Apr 2000 22:38:49 +0700 Date: Sun, 30 Apr 2000 22:38:49 +0700 (ALMST) From: Boris Popov To: Jeroen Ruigrok van der Werven Cc: Gary Jennejohn , freebsd-current@FreeBSD.ORG, peter@FreeBSD.ORG Subject: Re: kernel breakage in ng_base.c In-Reply-To: <20000430171542.B35474@lucifer.bart.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 30 Apr 2000, Jeroen Ruigrok van der Werven wrote: > -On [20000430 16:50], Boris Popov (bp@butya.kz) wrote: > > This patch is not 100% correct. ng_base should make an attempt to > >load module, not KLD. There was a new module_load() function proposed to > >inclusion in the API, but for some reason it is not committed yet. > > When Peter committed this all he had worked a few days untill too early > in the morning. I should correct myself: this function exists, but declared as static and called linker_load_module(). Gary, you may try to use it: linker_load_module(name, NULL); -- Boris Popov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message