Date: Wed, 02 Dec 1998 14:51:48 -0800 From: Mike Smith <mike@smith.net.au> To: Nick Hibma <nick.hibma@jrc.it> Cc: Mike Smith <mike@smith.net.au>, van.woerkom@netcologne.de, jkh@zippy.cdrom.com, forrie@forrie.com, freebsd-current@FreeBSD.ORG Subject: Re: KLD - what's the idea? Message-ID: <199812022251.OAA08915@dingo.cdrom.com> In-Reply-To: Your message of "Wed, 02 Dec 1998 09:47:59 %2B0100." <Pine.GSO.3.95q.981202094734.371h-100000@elect8>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > What are the (rough) plans for this mechanism? > > > > Convert the entire kernel into an aggregation of KLD modules. Stick > > them together in interesting and versatile ways (eg. at build time to > > create a monolithic kernel, or at runtime to load/unload drivers, etc.). > > ... unload probe/init code when it is no longer needed. This is actually almost totally farcial; the only modules for which unloading probe/init code makes any sense are ISA drivers, and even then only ISA drivers that don't support PCCARDs. In every other case the probe and init code need to be kept around in order to probe/init new arrivals (PCCARD for ISA, CardBus and Hot-Plug PCI for PCI, new USB peripherals, etc.). In most cases, there won't be any probe code anyhow, as it's redundant for anything other than non-PnP ISA cards. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com 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?199812022251.OAA08915>