From owner-freebsd-hackers Sat Jan 10 19:40:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA04704 for hackers-outgoing; Sat, 10 Jan 1998 19:40:02 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from hydrogen.nike.efn.org (d182-89.uoregon.edu [128.223.182.89]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA04568 for ; Sat, 10 Jan 1998 19:39:08 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id TAA14153; Sat, 10 Jan 1998 19:38:58 -0800 (PST) Message-ID: <19980110193858.40870@hydrogen.nike.efn.org> Date: Sat, 10 Jan 1998 19:38:58 -0800 From: John-Mark Gurney To: Mikael Karpberg Cc: hackers@FreeBSD.ORG Subject: Re: make_device_driver.sh References: <19980107154653.65316@hydrogen.nike.efn.org> <199801110237.DAA03500@ocean.campus.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199801110237.DAA03500@ocean.campus.luth.se>; from Mikael Karpberg on Sun, Jan 11, 1998 at 03:37:09AM +0100 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk Mikael Karpberg scribbled this message on Jan 11: > According to John-Mark Gurney: > > soon, when I've completed the bus/device code, then this will be possible, > > but at the same time, the current LKM system will be replaced with the > > kld system, so there won't be any "special" handling of dynamicly loaded > > modules, just special handling of brain-dead not upgraded devices that > > don't support unloading.. > > I haven't really heard much about kld, or I have suppressed it. :-) don't worry, there haven't been many message about it... > Any info that you can give me (us?) on what it will be like? > Will that allow us to do "load driver, probe, if not found - unload driver" > stuff at boot time? So that all drivers in /drivers/ are loaded and probed, > or something, which would make kernel recompile to add soundcard, etc, a mere > memory, and be replaced by "cp"? :-) yep... it will allow all of this... we'll probably use a daemon to control all of this... the big problem with doing a scan of the directory, is that it is relatively expensive... using a daemon would make this much cleaner... > As I said, any info would be appreciated. Maybe points to where it's been > said before? well... the kernel/driver interface is described in: http://d182-89.uoregon.edu/~jmg/FreeBSD/busdevice.html I haven't speced the device that will be used to control/interact with the bus/device code yet, but that will be relatively simple... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking P.O. Box 5693, 97405 Live in Peace, destroy Micro$oft, support free software, run FreeBSD