Re: Boot order
"Toru Nishimura" <[email protected]> Mon, 20 Feb 2006 10:57:21 +0900
| Newsgroups | gmane.os.netbsd.devel.ports |
|---|---|
| Organization | ALKYL Technology |
| Message-ID | <002501c635c0$fde4a190$1318a8c0@paq11> |
> of course, is to just declare a global i2c_tag_t > variable, have the seeprom driver store its i2c tag there when it's done > attaching, and read it from the other driver... Ugly. I think it's a wrong practice to have NetBSD device configuration tree literally applied to do whole initialization. In specific, it's too problematic to have clean/bright/smart/clever i2c "bus" device driver just for read/write NV values or RTC manipulation. It's off-focus to "practice NetBSD" in that way, I believe in. Having bus illusion to do such the simple task in very embryonic stage is dogmatic. Similar story would be applied for com_cn_attach() woe (indeed they are obstacles for easy porting and spoiling for many NetBSD instances) Toru Nishimura/ALKYL Technology