From owner-cvs-all@FreeBSD.ORG Tue Jul 13 21:18:51 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEA9716A4CE; Tue, 13 Jul 2004 21:18:51 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 631A743D2D; Tue, 13 Jul 2004 21:18:51 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i6DLFjCw053865; Tue, 13 Jul 2004 15:15:46 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 13 Jul 2004 15:15:49 -0600 (MDT) Message-Id: <20040713.151549.66796909.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <25436.1089752144@critter.freebsd.dk> References: <20040713.144758.88381443.imp@bsdimp.com> <25436.1089752144@critter.freebsd.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: scottl@freebsd.org cc: cvs-all@freebsd.org cc: nate@root.org Subject: Re: cvs commit: src/sbin/kldunload kldunload.8 kldunload.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 21:18:52 -0000 In message: <25436.1089752144@critter.freebsd.dk> "Poul-Henning Kamp" writes: : In message <20040713.144758.88381443.imp@bsdimp.com>, "M. Warner Losh" writes: : >In message: <25096.1089751422@critter.freebsd.dk> : > "Poul-Henning Kamp" writes: : >: In message <40F4477F.9020906@root.org>, Nate Lawson writes: : >: >Poul-Henning Kamp wrote: : >: >> ... somebody who has : >: >> wasted a couple of months trying to write a newbus-ified GEOM. : >: > : >: >I'll happily help review patches/designs for this. : >: : >: No need to. It doesn't work because newbus doesn't support : >: multiple interitance. : > : >Yes it does. Or are you talking about multi-pathing... : : It does ? When did that happen ? When Doug added the subclassing stuff some months ago. cardbus now is a subclass of pci, for example. : I'm pretty sure i mean "multiple inheritance": : : objects A, B, X, Y; : A is a child of X and Y; : B is a child of Y and Z; : : that was called multiple inheritance last I read about OO. If you are talking types, that's multiple inheritance. If you are talking instances in the object tree, that's multi pathing. newbus definitely supports multiple inheritance like you describe. Just use DEFINE_CLASS_2 for objects A and B and list X and Y for the first one and Y and Z for the second. : (Multi-pathing is the ability to join independent paths, that is : the correct way to solve the FC redundancy issue, and I belive we : need both CAM and newbus to learn new tricls before that is realistic) Agreed. Warner