From owner-freebsd-alpha@FreeBSD.ORG Tue Aug 2 17:52:06 2005 Return-Path: X-Original-To: freebsd-alpha@freebsd.org Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F79F16A41F for ; Tue, 2 Aug 2005 17:52:06 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72B0943D46 for ; Tue, 2 Aug 2005 17:52:03 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j72HpWXh085986; Tue, 2 Aug 2005 10:51:32 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j72HpVZ4085985; Tue, 2 Aug 2005 10:51:31 -0700 (PDT) (envelope-from obrien) Date: Tue, 2 Aug 2005 10:51:31 -0700 From: "David O'Brien" To: ticso@cicely.de Message-ID: <20050802175130.GK71672@dragon.NUXI.org> Mail-Followup-To: freebsd-alpha@freebsd.org, ticso@cicely.de, Wilko Bulte , =?unknown-8bit?B?Sm9z6SBNLiBGYW5kafFv?= References: <42EE1A34.6510B1CE@fadesa.es> <20050801151501.GA53593@freebie.xs4all.nl> <20050802172322.GC71672@dragon.NUXI.org> <20050802174144.GA71814@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050802174144.GA71814@cicely12.cicely.de> X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Cc: freebsd-alpha@freebsd.org Subject: Re: KZPCC-CE SCSI controller X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-alpha@freebsd.org List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2005 17:52:06 -0000 On Tue, Aug 02, 2005 at 07:41:44PM +0200, Bernd Walter wrote: > On Tue, Aug 02, 2005 at 10:23:22AM -0700, David O'Brien wrote: > > It will not work as-is. I suspect it could be made to work using the > > ugly hack we have elsewhere in src/sys: > > > > #ifdef __alpha__ > > #undef vtophys > > #define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va) > > So this driver is not busdma'ed yet? Correct. > Igh - this will invalidate it for lots of machines, not just alpha. Very well known. > Since I'm working on > 2G support and AFAIK the asked machine can > have more than that this may be a problem. > I intent to panic if a driver calls vtophys on a large mem alpha. You might want to see how many drivers still do this ugly vtophys hack. I recall are(were) several. -- -- David (obrien@FreeBSD.org)