Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2003 03:15:06 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        arch@freebsd.org
Subject:   RE: When to burn those bridges
Message-ID:  <XFMail.20030910031506.jhb@FreeBSD.org>
In-Reply-To: <1063106587.25817.23.camel@builder02.qubesoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030910031506.jhb>