Subject: Re: __BROKEN_CONFIG_UNIT_USAGE
To: Izumi Tsutsui <firstname.lastname@example.org>
From: Chuck Silvers <email@example.com>
Date: 06/17/2006 16:53:50
On Tue, Jun 06, 2006 at 08:21:56AM +0900, Izumi Tsutsui wrote:
> firstname.lastname@example.org wrote:
> > I notice that we still have the __BROKEN_CONFIG_UNIT_USAGE logic in
> > sys/kern/subr_autconf.c.
> > The sun3 port declares this macro, but it *appears* that it may not
> > actually require it. It is not declared anywhere else.
> > I would like to propose removing the macro (and the code it enables).
> > However, I lack sufficient experience to be 100% sure, so I am asking
> > for knowledgable parties to step forward and either approve the change,
> > or just make the change themselves -- or explain why this change is a
> > bad idea and will cause untold grief amongst millions of sun3 users... :-)
> IIUC, the abuse is in sun3/sun3/vme.c. It uses cf_unit to specify
> VME bus types. Of cource sun3 should switch to the MI vme driver,
> but we have to implement bus_space(9) for sun3 first.
> It should be trivial (see sun68k/sun68k/bus.c), but...
that's one part, the other is in the xy/xd drivers where it requires
that the disk unit number be a function of the controller unit number
(and there's some stuff in sun3/autoconf.c that knows that hard-wired
mapping as well).