How to properly handle several fonctions provided by the Winbond SuperIO chip?

John Baldwin jhb at freebsd.org
Mon Jun 23 15:52:13 UTC 2014


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


More information about the freebsd-arch mailing list