From owner-cvs-src@FreeBSD.ORG Thu Oct 7 19:59:19 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E8E816A4CE; Thu, 7 Oct 2004 19:59:19 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6AC443D31; Thu, 7 Oct 2004 19:59:18 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id i97JuWkf041975; Thu, 7 Oct 2004 13:56:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 07 Oct 2004 13:58:13 -0600 (MDT) Message-Id: <20041007.135813.110909154.imp@bsdimp.com> To: marcel@xcllnt.net From: "M. Warner Losh" In-Reply-To: <20041007190453.GA82804@ns1.xcllnt.net> References: <20041007175206.GA82275@ns1.xcllnt.net> <20041007.122005.127628260.imp@bsdimp.com> <20041007190453.GA82804@ns1.xcllnt.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys pbioio.h src/sys/i386/isa pbio.c src/sys/conf files.i386 src/sys/i386/conf NOTES X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 19:59:19 -0000 In message: <20041007190453.GA82804@ns1.xcllnt.net> Marcel Moolenaar writes: : On Thu, Oct 07, 2004 at 12:20:05PM -0600, M. Warner Losh wrote: : > In message: <20041007175206.GA82275@ns1.xcllnt.net> : > Marcel Moolenaar writes: : > : On Thu, Oct 07, 2004 at 04:21:03PM +0000, Warner Losh wrote: : > : > imp 2004-10-07 16:21:03 UTC : > : > : > : > FreeBSD src repository : > : > : > : > Modified files: : > : > sys/conf files.i386 : > : > sys/i386/conf NOTES : > : > Added files: : > : > sys/sys pbioio.h : > : > sys/i386/isa pbio.c : > : > Log: : > : > Port pbio to HEAD. : > : : > : I appreciate your speed, but don't you think that pbioio.h is pretty : > : MD given that the driver only exists on i386. Wouldn't : > : be a better place? : > : > I think that pbioio.h is MI. What makes you think that it is pretty : > MD? : : Because pbio(4) only exists on i386. Hence, all other platforms now : have that serves no purpose and can only cause : autoconfiguration (ala autoconf) getting confused. Since pbioio.h : refers to hardware, it nature is MD, even though the definitions : (types and interfaces) may appear MI. So, seems : like a good place. But we've had lots of problems in the past where MD drivers became MI drivers with 10 identical copies of machine/fooio.h. The driver likely copy become MI relatively easily. Warner