From owner-freebsd-arch@FreeBSD.ORG Thu Jul 10 23:36:13 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A6A6F21 for ; Thu, 10 Jul 2014 23:36:13 +0000 (UTC) Received: from eastrmfepo101.cox.net (eastrmfepo101.cox.net [68.230.241.213]) by mx1.freebsd.org (Postfix) with ESMTP id 32B1B22DB for ; Thu, 10 Jul 2014 23:36:13 +0000 (UTC) Received: from eastrmimpo306 ([68.230.241.238]) by eastrmfepo101.cox.net (InterMail vM.8.01.05.15 201-2260-151-145-20131218) with ESMTP id <20140710233606.VSXV30009.eastrmfepo101.cox.net@eastrmimpo306> for ; Thu, 10 Jul 2014 19:36:06 -0400 Received: from [192.168.3.22] ([72.219.202.186]) by eastrmimpo306 with cox id Qnc51o00C41obj401nc554; Thu, 10 Jul 2014 19:36:05 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A02020A.53BF2365.0198,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=c6J1t2Bl c=1 sm=1 a=k40gPPfQ5QH6qv5U/EJc3Q==:17 a=f5xKl4ys9bwA:10 a=XigzRtDixlUA:10 a=G8Uczd0VNMoA:10 a=Wajolswj7cQA:10 a=8nJEP1OIZ-IA:10 a=kviXuzpPAAAA:8 a=zoPSNvUg5lPj358TR94A:9 a=wPNLvfGTeEIA:10 a=k40gPPfQ5QH6qv5U/EJc3Q==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Message-ID: <53BF23A0.1000603@cox.net> Date: Thu, 10 Jul 2014 19:37:04 -0400 From: "John D. Hendrickson and Sara Darnell" Reply-To: johnandsara2@cox.net User-Agent: Thunderbird 2.0.0.24 (X11/20100228) MIME-Version: 1.0 To: John Baldwin Subject: Re: How to properly handle several fonctions provided by the Winbond SuperIO chip? References: <1118241087.138096.1403180509132.JavaMail.zimbra@arkoon-netasq.com> <201406190919.04443.jhb@freebsd.org> <750618593.166408.1403191319583.JavaMail.zimbra@arkoon-netasq.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Emeric POUPON , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 23:36:13 -0000 John Baldwin wrote: > 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. > just wondering do you mean fine not to expose a feature ? or fine the Winbond chip circuit allows the procedure with no problems ? wow i thought winbond io would have been a done deal. wasn't that released in 1990s ? (rhetorical)