From owner-freebsd-hackers Mon Apr 7 16:28:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA23898 for hackers-outgoing; Mon, 7 Apr 1997 16:28:04 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA23810 for ; Mon, 7 Apr 1997 16:28:00 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id QAA05858; Mon, 7 Apr 1997 16:28:12 -0700 (PDT) Message-Id: <199704072328.QAA05858@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: dennis cc: hackers@freebsd.org Subject: Re: pci_map_mem reports failure In-reply-to: Your message of "Mon, 07 Apr 1997 19:19:59 EDT." <3.0.32.19970407191956.009ab270@etinc.com> From: David Greenman Reply-To: dg@root.com Date: Mon, 07 Apr 1997 16:28:12 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >I've noticed that pci_map_mem() reports a failure (in the form of a >display to the screen) if the PCI memory space is below 1 MB (dos >space), but that the function returns OK and a virtual mapping is >returned as well. There's a comment (in german) in the source, and >my German is rather weak (there seems to be a reference to PCI- >PCI bridges) .....is this a real failure, a warning, or does FreeBSD >not support PCI memory in the DOS hole (not that you'd actually >WANT to put it there...)? The test for < 1MB should only be for the < 1MB PCI memory type, but isn't strictly necessary...I'm not familiar with what the PCI spec has to say about it. The function ultimately calls pmap_mapdev() which has no trouble mapping any physical address. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project