From owner-freebsd-hackers Sun Jan 21 2:14:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.alcove.fr (smtp.alcove.fr [212.155.209.139]) by hub.freebsd.org (Postfix) with ESMTP id 866F137B400 for ; Sun, 21 Jan 2001 02:14:11 -0800 (PST) Received: from nsouch by smtp.alcove.fr with local (Exim 3.12 #1 (Debian)) id 14KHVa-0002ef-00; Sun, 21 Jan 2001 11:14:02 +0100 Date: Sun, 21 Jan 2001 11:14:01 +0100 From: Nicolas Souchu To: trim-your-headers@loopback.net Cc: freebsd-hackers@freebsd.org Subject: Re: more info about: odd result of pci_read_config Message-ID: <20010121111401.A10148@ontario.alcove-int> References: <20010120161834.B20753@ontario.alcove-int> <20010121004349.A27198@ontario.alcove-int> <14954.24548.925891.707424@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.4i In-Reply-To: <14954.24548.925891.707424@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Sat, Jan 20, 2001 at 11:11:39PM -0500 Organization: =?iso-8859-1?Q?Alc=F4ve=2C_http:=2F=2Fwww=2Ealcove=2Efr?= Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jan 20, 2001 at 11:11:39PM -0500, Andrew Gallatin wrote: > > Nicolas Souchu writes: > <...> > > What is the hose field? > > It is for server-class alphas. Alphas do their peer PCI buses a > little differently. Rather than have a ppb between "peer" pci buses, > each different peer bus (or hose) is rooted separately at the nexus. > So you can have two PCI buses labeled "0" with no ppb between them, > for example. Platform support code needs to know which hose a bus is > on so that it can diddle with the correct set of registers to access > memory, i/o and pci config spaces. Thanks. > > > cfg.hose = -1; > > If you need to set this, please set it to zero so that it and any code > derived from it will have at least a fighting chance of working on > alpha, where this field is not ignored.. Ok, but this how it is initialized by pci_ioctl in R4.2, and this is not i386 MD code... Nicholas -- Nicolas.Souchu@alcove.fr Alcôve - Open Source Software Engineer - http://www.alcove.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message