From owner-freebsd-hackers Wed Apr 30 13:07:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA14338 for hackers-outgoing; Wed, 30 Apr 1997 13:07:27 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA14292 for ; Wed, 30 Apr 1997 13:07:17 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id MAA07108 for ; Wed, 30 Apr 1997 12:08:11 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id LAA04598; Wed, 30 Apr 1997 11:40:53 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd004592; Wed Apr 30 18:40:46 1997 Message-ID: <33679210.794BDF32@whistle.com> Date: Wed, 30 Apr 1997 11:40:16 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Bruce Evans CC: avalon@coombs.anu.edu.au, msmith@atrad.adelaide.edu.au, hackers@freebsd.org Subject: Re: Unloading LKMs (was Re: A Desparate Plea for Help...) References: <199704301005.UAA15798@godzilla.zeta.org.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > > _lkm_dev() shouldn't be touching the devsw's. Drivers need to manage > the devsw's directly for the non-LKM case and should use identical > code for the LKM case. this was my original intent.. the pre-loaded drivers are effectively 'loaded' by their SYSINIT() (no I don't consider it a mis-use bruce) entries, and the LKM versions of the same files should call the same functions to link themselves in at load time. > > Bruce