From owner-freebsd-arch@FreeBSD.ORG Wed Sep 10 00:53:46 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1316D16A4BF; Wed, 10 Sep 2003 00:53:46 -0700 (PDT) Received: from lewis.lclark.edu (www.ncvli.org [149.175.1.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 6385B43FDF; Wed, 10 Sep 2003 00:53:44 -0700 (PDT) (envelope-from eta@lclark.edu) Received: from [149.175.34.86] ([149.175.34.86]) by lewis.lclark.edu (SAVSMTP 3.1.1.32) with SMTP id M2003091000534313783 ; Wed, 10 Sep 2003 00:53:43 -0700 From: Eric Anholt To: John Baldwin In-Reply-To: References: Content-Type: text/plain Message-Id: <1063180423.634.31.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 10 Sep 2003 00:53:43 -0700 Content-Transfer-Encoding: 7bit cc: arch@freebsd.org Subject: RE: When to burn those bridges X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2003 07:53:46 -0000 On Wed, 2003-09-10 at 00:15, John Baldwin wrote: > On 09-Sep-2003 Doug Rabson wrote: > > I haven't been paying much attention recently on release engineering > > issues so probably I have missed something. When do people think is the > > right time to branch off the 5.x line of development and set fire to the > > bridges? > > Go ahead and kill the ISA compat drivers if you need to. I do think > that you can probably do this work in a p4 branch until it is ready > and delay the killing of compat shims until then maybe. > > > This led me back to the idea of multiple inheritance in kobj/newbus. > > Using multiple inheritance for the smbus re-work makes the chip drivers > > much simpler since they don't have to explicitly list the 'parent' > > methods in their method tables. The same thing goes for cardbus too. On > > these lines, I went back and read through Justin's old inheritance > > patches. These patches supported single inheritance for multiple > > interfaces at the cost of changing the driver API considerably. I've > > been tinkering with an alternative approach which supports multiple > > inheritance at the class level, almost preserving the driver API while > > changing the ABI slightly. > > Yes, please. There is the same problem with agp(4) and the hostb(4) > driver and agp(4) for Intel motherboards with onboard graphics and > the drm(4) driver for the same graphics chip. I thought we wanted agp(4) to replace hostb(4) when agp would attach. It's not the same problem for intel onboard graphics and the drm driver, then, since we need both drivers for the DRM to work. I think keithw solved this by making the agp driver provide a "drmsub" child device which the i8x0 DRM attaches to. Would there be any problems with putting that in CVS? -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org