From owner-cvs-all@FreeBSD.ORG Thu Oct 7 22:24:46 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3F1116A4CF; Thu, 7 Oct 2004 22:24:46 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56D2343D1D; Thu, 7 Oct 2004 22:24:46 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i97MOeN6026318; Thu, 7 Oct 2004 16:24:41 -0600 (MDT) (envelope-from scottl@FreeBSD.org) Message-ID: <4165C1EF.7020407@FreeBSD.org> Date: Thu, 07 Oct 2004 16:23:43 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040831 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <200410071621.i97GL3lu029620@repoman.freebsd.org> <20041007175206.GA82275@ns1.xcllnt.net> <4165C120.7040005@root.org> In-Reply-To: <4165C120.7040005@root.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Warner Losh cc: cvs-all@FreeBSD.org cc: Marcel Moolenaar Subject: Re: cvs commit: src/sys/sys pbioio.h src/sys/i386/isa pbio.csrc/sys/conf files.i386 src/sys/i386/conf NOTES X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 22:24:47 -0000 Nate Lawson wrote: > Marcel Moolenaar wrote: > >> 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? > > > Also, I think our policy for both RELENG_4 and -current is new inb/outb > in new drivers. The bus_space stuff is pretty easy to use so this isn't > too bad a requirement. > I agree that new code should _not_ be using unportable primitives unless there is very good reason. FWIW, I plan to make vtophys(), rman_get_virtual(), and other evil and i386-specific primitives very hard to use in 6-CURRENT, and I will strongly oppose importing new code that tries to abuse them. I was just hoping that 5.3 would pass before people started testing the boundaries. Scott