From owner-freebsd-current Thu Apr 4 17:14:19 2002 Delivered-To: freebsd-current@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 8148F37B41A; Thu, 4 Apr 2002 17:14:17 -0800 (PST) Received: from pool0517.cvx21-bradley.dialup.earthlink.net ([209.179.194.7] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16tIIv-00025u-00; Thu, 04 Apr 2002 17:14:14 -0800 Message-ID: <3CACFA4D.B04D49E4@mindspring.com> Date: Thu, 04 Apr 2002 17:13:49 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Gallatin Cc: mjacob@feral.com, freebsd-current@freebsd.org, gibbs@freebsd.org Subject: Re: BUS_SPACE_MAXSIZE & isp driver. References: <15532.39941.670795.769478@grasshopper.cs.duke.edu> <15532.41234.884155.219535@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrew Gallatin wrote: > Me too. I was about to just change it for alpha, but then I wondered > if there was a reason for having BUS_SPACE_MAXSIZE < MAXPHYS. From what I understand, the Alpha is limited to doing transfers in the first 2G of memory. I'm not sure if the ISA 16M memory limit is in there anywhere, either. The problem is that a DMA initiated by a bus mastering device can only access as many bis of address space as are passed through the bus, end-to-end. For ISA, this ends up being a 16M limit; I think the 2G limit on Alpha is because the limit is 32 bits, but there is some signed math that should be unsigned. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message