Re: CVS commit: src/sys/arch/evbmips

Izumi Tsutsui <[email protected]>
Newsgroups gmane.os.netbsd.ports.evbmips
Message-ID <[email protected]>
In article <[email protected]>
[email protected] wrote:

> We have a sanity check already -- the link will fail due to multiple
> symbol definitions. :-)

Well, that doesn't indicate what is wrong exactly.

> I am generally *not* fond of #ifdef jungles, and your proposal creates
> two of them.
> 
> The other problem with this is that I can imagine having a board
> defintion that actually supports a board *family* (where the type of
> board is run-time detectable via a register), and then what do you do? 

Maybe MI board_info() can call board specific xxx_board_info()
funtcions? Some of examples are ofppc/ofppc/platform.c and
pmax/pmax/sysconf.c etc.
---
Izumi Tsutsui
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.