From owner-cvs-all Mon Jul 3 9:39:54 2000 Delivered-To: cvs-all@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id C993237B9C8; Mon, 3 Jul 2000 09:39:47 -0700 (PDT) (envelope-from n_hibma@qubesoft.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1) id 1399G5-0006sw-0C; Mon, 3 Jul 2000 16:39:46 +0000 Received: from henny.webweaving.org (henny.qubesoft.com [192.168.1.5]) by bluebottle.qubesoft.com (8.9.3/8.9.1) with ESMTP id RAA51680; Mon, 3 Jul 2000 17:39:43 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Received: from localhost (localhost [127.0.0.1]) by henny.webweaving.org (8.9.3/8.9.3) with ESMTP id RAA21250; Mon, 3 Jul 2000 17:34:07 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Date: Mon, 3 Jul 2000 17:34:07 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys bus.h bus_private.h src/sys/kern subr_bus.c In-Reply-To: <6940.962640821@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >Apart from that you haven't mentioned a reason why resetting the softc > >for both functions is a better idea than having a separate softc for > >the logical device. Each function surely has some private data (for > >example resources allocated to it). Why would you want to stuff that in > >some shared softc. > > You are not seriously arguing for having a "newbus-softc" which contains > only a single pointer to the 'real' softc, are you ? If such a small softc is the consequence of a proper conceptual design of the driver, then that is fine with me. It simply expresses the fact that the function is part of a bigger entity. Nick P.S.: Please stop cutting up my e-mail in silly ways, distorting the argument. -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message