From owner-cvs-all Mon Jul 3 7:50:36 2000 Delivered-To: cvs-all@freebsd.org Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by hub.freebsd.org (Postfix) with ESMTP id E36D537BA07; Mon, 3 Jul 2000 07:50:23 -0700 (PDT) (envelope-from n_hibma@qubesoft.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by anchor-post-30.mail.demon.net with esmtp (Exim 2.12 #1) id 1397YD-000EjG-0U; Mon, 3 Jul 2000 15:50:21 +0100 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 PAA48652; Mon, 3 Jul 2000 15:50:19 +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 PAA20940; Mon, 3 Jul 2000 15:42:06 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Date: Mon, 3 Jul 2000 15:42:06 +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: <6433.962634479@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 > Bottom line: newbus has a simplistic view of hardware which > unfortunately doesn't adequatly describe several pieces of attractive > hardware and features currently on the market. You are confusing the physical hardware layout with the logical device layout you want to show up with. newbus only handles the physical layout (well). Tying the logical device tightly together with the physical deviceS is a mistake and _will_ make surviving a physical device removal much harder. 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. Nick -- 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