From owner-freebsd-questions Tue Apr 15 02:48:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA29670 for questions-outgoing; Tue, 15 Apr 1997 02:48:26 -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 CAA29663 for ; Tue, 15 Apr 1997 02:48:22 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id CAA19581; Tue, 15 Apr 1997 02:49:42 -0700 (PDT) Message-Id: <199704150949.CAA19581@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 04:40:36 CDT." <199704150940.EAA15971@iworks.InterWorks.org> From: David Greenman Reply-To: dg@root.com Date: Tue, 15 Apr 1997 02:49:42 -0700 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> >The problem I have, is that if I create a driver for this chip, >> >how do I ask the PCI support code for 4 consecutive 16MB regions >> >of the PCI bus? From what I can tell, the PCI code will only let >> >you map an address space as it is defined in the PCI configuration >> >space registers. For the Tundra Universe chip, the registers >> >that configure the special PCI slave image are not in the PCI >> >configuration space. >> >> The obvious question this raises is: How do you do address space conflict >> resolution if you ignore the assignments made by the PCI BIOS? > >Right. There should probably be a resource list to manage these >addresses. Drivers would have to call a set of common functions >in order to allocate PCI address space. The Tundra Universe chip >shares the PCI bus with a DEC 21240 and an Adaptec 7880, so I can't >allocate an address range without ensuring it doesn't conflict. 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. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project