From owner-freebsd-drivers@FreeBSD.ORG Fri Dec 28 20:07:08 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08BC716A418; Fri, 28 Dec 2007 20:07:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B2B3613C45A; Fri, 28 Dec 2007 20:07:07 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id lBSK1NVM076405; Fri, 28 Dec 2007 13:01:23 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 28 Dec 2007 13:06:11 -0700 (MST) Message-Id: <20071228.130611.-1827347860.imp@bsdimp.com> To: jhb@freebsd.org From: "M. Warner Losh" In-Reply-To: <200712281304.47922.jhb@freebsd.org> References: <8103ad500712270516l5db13e1ao388835d01fd19fc3@mail.gmail.com> <200712281304.47922.jhb@freebsd.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org Subject: Re: PEX 8111 PCI-Express to PCI Bridge and FreeBSD X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 20:07:08 -0000 In message: <200712281304.47922.jhb@freebsd.org> John Baldwin writes: : On Thursday 27 December 2007 08:16:59 am Konstantin Dimitrov wrote: : > hello All, : > : > as far as i understand the documentation of the PEX 8111 PCI : > Express-to-PCI Bridge, which is freely available here: : > : > http://www.plxtech.com/products/expresslane/pex8111.asp : > : > it is "Fully Transparent PCI Express to PCI Bridge", but under FreeBSD : > it doesn't seem to behave as transparent, i.e. it doesn't seem to work : > well with the standard FreeBSD PCI-PCI bridge driver, because it's not : > possible to read/write from/to the PCI IC behind PEX 8111. : : Can you provide more detail on what you mean by read/write? Can you not do : config space transactions to child devices of the bridge or can you not : access mapped BARs of child devices or what exactly? Yes. I believe this may be the 'classic' problem that we've seen before: FreeBSD assumes that the BIOS assigned bridge resources and none are assigned. It may also be as simple as bus numbering. Warner