Re: __BROKEN_CONFIG_UNIT_USAGE

[email protected] (Christos Zoulas) Tue, 6 Jun 2006 00:18:45 +0000 (UTC)
Newsgroups gmane.os.netbsd.devel.kernel,gmane.os.netbsd.ports.sun3
Message-ID <[email protected]>
In article <[email protected]>,
Izumi Tsutsui  <[email protected]> wrote:
>[email protected] 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...

Let's do it. We can test with the emulator.

christos