Re: RFC: Alchemy Au1550 SMBus driver on PSC

Shigeyuki Fukushima <[email protected]>
Newsgroups gmane.os.netbsd.ports.evbmips
Organization NetBSD Developper
Message-ID <[email protected]>
Garrett D'Amore wrote:
>> If we can assume all boards have static configuration on each PSC
>> and we don't have to switch protocols at runtime, we can put info
>> how each PSC is configured on the hardware via device properties
>> in board specific init functions, and au*_match function can check
>> the values.
>>   
> I like this idea.
> 
> I think we need to make autoconf.c device_register() be able to call
> into some board-specific hook function.  Right now we don't have that.

Ok. I agree.

We assume,
once a psc device was enabled, we cannot call aupsc_enable() twice.
Ok?

-- 
Kind Regards,
--- shige
Shigeyuki Fukushima <shige@{FreeBSD,jp.FreeBSD,NetBSD}.org>
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.