From owner-freebsd-current Thu Dec 7 17:09:09 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA09674 for current-outgoing; Thu, 7 Dec 1995 17:09:09 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA09669 for ; Thu, 7 Dec 1995 17:09:05 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id LAA06364; Fri, 8 Dec 1995 11:42:58 GMT From: Michael Smith Message-Id: <199512081142.LAA06364@genesis.atrad.adelaide.edu.au> Subject: Re: sysctl status right now, and plea for testing. To: julian@ref.tfs.com (Julian Elischer) Date: Fri, 8 Dec 1995 11:42:58 +0000 () Cc: phk@critter.tfs.com, se@ZPR.Uni-Koeln.DE, wollman@lcs.mit.edu, current@FreeBSD.org In-Reply-To: <199512071135.DAA18582@ref.tfs.com> from "Julian Elischer" at Dec 7, 95 03:35:22 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org Precedence: bulk Julian Elischer stands accused of saying: > so every driver is called by the SYSINIT code at startup, well before > it get's asked to probe. At that time. it hooks itself into the > devsw tables etc. and for devices for which there is no more > probing to be done, (e.g. /dev/mem) it also > puts itself into the devfs at this time.. > This brings up the point.. > Should we have a single time drivers are called for initialisation, etc.? Given that each instance of a device off a driver is generally treated as a seperate instance of the drive, I'd say that's a bad idea. > I can see the driver being called once on loading or booting > to add devsw entried > once to probe > once to put sysctl stuff in > etc.. > I wouldn't mind making sure we co-ordinate on this.. > particularly, devfs and devconf look like they might be duplicating > some structure.. I'm sure they are 8) There's something that devfs _really_ should do; it should allow devices to arbitrate for and register their usage of IO space and other resources. It should also be possible to daisy-chain interrupts (from drivers that support it), which would require devfs support. > julian -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 041-122-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "Who does BSD?" "We do Chucky, we do." [[