From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 20:00:31 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9405E37B401; Tue, 12 Aug 2003 20:00:31 -0700 (PDT) Received: from ztxmail04.ztx.compaq.com (ztxmail04.ztx.compaq.com [161.114.1.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id A756D43F85; Tue, 12 Aug 2003 20:00:30 -0700 (PDT) (envelope-from john.cagle@hp.com) Received: from cceexg12.americas.cpqcorp.net (cceexg12.americas.cpqcorp.net [16.110.250.124]) by ztxmail04.ztx.compaq.com (Postfix) with ESMTP id DE4B5A88D; Tue, 12 Aug 2003 21:46:00 -0500 (CDT) Received: from cceexc19.americas.cpqcorp.net ([16.110.250.85]) by cceexg12.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.6673); Tue, 12 Aug 2003 21:46:00 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 12 Aug 2003 21:46:00 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: pci configuration Thread-Index: AcNhPgr9PwPbkdHlRyqM0oETrwmW+QABc43g From: "Cagle, John (ISS-Houston)" To: "Petri Helenius" X-OriginalArrivalTime: 13 Aug 2003 02:46:00.0613 (UTC) FILETIME=[07B02D50:01C36145] cc: freebsd-current@freebsd.org Subject: RE: pci configuration X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 03:00:31 -0000 If you're using a server with the Compaq PCI-X Hot Plug controller, you can read the maximum bus speed and current device speed from the hot plug controller. For details, take a look at the drivers/pci/hotplug/cpqphp.h and drivers/pci/hotplug/cpqphp_core.c files in the latest Linux 2.6 kernel. Here are a couple links: http://lxr.linux.no/source/drivers/pci/hotplug/cpqphp_core.c?v=3D2.6.0-te= s t2 http://lxr.linux.no/source/drivers/pci/hotplug/cpqphp.h?v=3D2.6.0-test2 Regards, John -------------------------------- John Cagle john.cagle@hp.com Principal Member Technical Staff Industry Standard Servers Hewlett-Packard Company > -----Original Message----- > From: Scott Long [mailto:scottl@freebsd.org]=20 > Sent: Tuesday, August 12, 2003 8:55 PM > To: Doug White > Cc: freebsd-current@freebsd.org; Petri Helenius > Subject: Re: pci configuration >=20 >=20 > Doug White wrote: > > On Tue, 12 Aug 2003, Petri Helenius wrote: > >=20 > >=20 > >>Is there way to view PCI / PCI-X configuration with=20 > bus-width and clock > >>values when FreeBSD has already booted? > >=20 > >=20 > > If you know where in PCI config space to look you could use=20 > pciconf to > > query it. Can't say I've heard of PCI speed negotiation=20 > issues, though. > >=20 >=20 > I'm not aware of any registers in the standard PCI config space that > will tell you the speed of the bus. Some PCI devices will make that > information available, but not in a standard way. The BIOS of some > higher-end systems might also tell you this information. >=20 > Scott >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to=20 > "freebsd-current-unsubscribe@freebsd.org" >=20