Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2014 09:56:48 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-arch@freebsd.org
Cc:        Emeric POUPON <emeric.poupon@arkoon-netasq.com>
Subject:   Re: How to properly handle several fonctions provided by the Winbond SuperIO chip?
Message-ID:  <201406230956.48220.jhb@freebsd.org>
In-Reply-To: <750618593.166408.1403191319583.JavaMail.zimbra@arkoon-netasq.com>
References:  <1118241087.138096.1403180509132.JavaMail.zimbra@arkoon-netasq.com> <201406190919.04443.jhb@freebsd.org> <750618593.166408.1403191319583.JavaMail.zimbra@arkoon-netasq.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, June 19, 2014 11:21:59 am Emeric POUPON wrote:
> Thanks for your answer!
> 
> I was thinking about calling some parent device functions from the children 
devices in order to perform IO accesses.
> But I imagine it would be "better" to expose a kind of bus interface from 
the main driver?
> However, I'm not sure the extra work induced is worth it. What do you think?

I think it's fine to have them call each other directly if they are going to 
all live in the same module.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406230956.48220.jhb>