From owner-freebsd-questions Tue Apr 15 03:31:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA01585 for questions-outgoing; Tue, 15 Apr 1997 03:31:57 -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 DAA01576 for ; Tue, 15 Apr 1997 03:31:53 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id DAA19848; Tue, 15 Apr 1997 03:33:13 -0700 (PDT) Message-Id: <199704151033.DAA19848@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: "Daniel M. Eischen" cc: krygier@kph.uni-mainz.de, questions@FreeBSD.ORG Subject: Re: special memory device In-reply-to: Your message of "Tue, 15 Apr 1997 05:16:52 CDT." <199704151016.FAA16079@iworks.InterWorks.org> From: David Greenman Reply-To: dg@root.com Date: Tue, 15 Apr 1997 03:33:13 -0700 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> In order to do this you'd have to go poking around in the PCI registers of >> all of the devices that were found and create the map. This doesn't sound >> like much fun. > >Why can't it be done at device probe time? I think the existing PCI >code can tell what addresses are being (or can be) used by checking >the appropriate register in the PCI config address space. It already >does this if you boot verbose, doesn't it? I didn't mean to suggest that it couldn't be done there, only that it needed to be done since such a map doesn't currently exist in the kernel. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project