From owner-freebsd-arch Mon Dec 28 22:03:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA22465 for freebsd-arch-outgoing; Mon, 28 Dec 1998 22:03:35 -0800 (PST) (envelope-from owner-freebsd-arch@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA22458 for ; Mon, 28 Dec 1998 22:03:34 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id HAA23886 for ; Tue, 29 Dec 1998 07:03:16 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id HAA71339 for freebsd-arch@freebsd.org; Tue, 29 Dec 1998 07:03:15 +0100 (MET) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA21699 for ; Mon, 28 Dec 1998 21:56:17 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zus8G-0006Sz-00; Mon, 28 Dec 1998 22:55:52 -0700 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id WAA23027 for ; Mon, 28 Dec 1998 22:54:02 -0700 (MST) Message-Id: <199812290554.WAA23027@harmony.village.org> To: freebsd-arch@FreeBSD.ORG Subject: kld and on demand device loading Date: Mon, 28 Dec 1998 22:54:02 -0700 From: Warner Losh Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been kicking around ideas for making kld even more useful than I'm currently finding it. Before getting too deeply into the kicking around, I thought I'd define the problem and see if others have thought about it as well. Once upon a time, I recall that the linux kernel had a way to dynamically load drivers and unload them on an as needed basis. Need to make a slip connection, the slip driver would load. Once it was done it would unload. In the long term, I'd love to see something like that. I believe that it dovetails well with the new-bus project nicely. In the near term, an area that it fits fairly well is the pcmica stuff. When a card is inserted, the module is loaded, and when removed it is released. I was thinking of hacking pccardd to do this, but then got to thinking better of it and thought I'd ask for people's input before jumping into that. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message