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=2.6.0-tes
t2
http://lxr.linux.no/source/drivers/pci/hotplug/cpqphp.h?v=2.6.0-test2

Regards,
John

--------------------------------
John Cagle     [EMAIL PROTECTED]
Principal Member Technical Staff
   Industry Standard Servers
    Hewlett-Packard Company

> -----Original Message-----
> From: Scott Long [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 12, 2003 8:55 PM
> To: Doug White
> Cc: [EMAIL PROTECTED]; Petri Helenius
> Subject: Re: pci configuration
> 
> 
> Doug White wrote:
> > On Tue, 12 Aug 2003, Petri Helenius wrote:
> > 
> > 
> >>Is there way to view PCI / PCI-X configuration with 
> bus-width and clock
> >>values when FreeBSD has already booted?
> > 
> > 
> > If you know where in PCI config space to look you could use 
> pciconf to
> > query it.  Can't say I've heard of PCI speed negotiation 
> issues, though.
> > 
> 
> 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.
> 
> Scott
> 
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to