From owner-freebsd-current Thu Dec 3 20:50:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA18859 for freebsd-current-outgoing; Thu, 3 Dec 1998 20:50:50 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA18846 for ; Thu, 3 Dec 1998 20:50:46 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id PAA09848; Fri, 4 Dec 1998 15:20:14 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id PAA29034; Fri, 4 Dec 1998 15:19:12 +1030 (CST) Message-ID: <19981204151911.N441@freebie.lemis.com> Date: Fri, 4 Dec 1998 15:19:11 +1030 From: Greg Lehey To: Mike Smith Cc: "Justin T. Gibbs" , current@FreeBSD.ORG Subject: Re: KLD - what's the idea? References: <199812030213.SAA03115@dingo.cdrom.com> <199812030222.SAA03196@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199812030222.SAA03196@dingo.cdrom.com>; from Mike Smith on Wed, Dec 02, 1998 at 06:22:02PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 2 December 1998 at 18:22:02 -0800, Mike Smith wrote: >>> or to unload unused segments and >>> reload them on the fly during further probe/attach requests (ala Linux). >> >> It would certainly be feasible to arrange for the firmware images to be >> loaded from separate files, should that be an acceptable alternative. >> I'm open to suggestions on how to make this economical and robust... > > I should probably have expanded here; I was thinking for some time > about the usefulness of optionally having two modules associated with a > driver; the core driver code and the 'init' module for the code. You'd > normally put these into two separate files, so for 'foo' you'd > have foo.ko and foo_init.ko. Isn't this something that could be more elegantly handled by different sections in an ELF file? Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message