Re: __BROKEN_CONFIG_UNIT_USAGE
Izumi Tsutsui <[email protected]> Tue, 6 Jun 2006 08:21:56 +0900
| Newsgroups | gmane.os.netbsd.ports.sun3,gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
[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... --- Izumi Tsutsui