Date: Sun, 21 Jan 2001 11:14:01 +0100 From: Nicolas Souchu <nsouch@alcove.fr> 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> 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 References: <20010120161834.B20753@ontario.alcove-int> <20010121004349.A27198@ontario.alcove-int> <14954.24548.925891.707424@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010121111401.A10148>