Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2006 16:56:18 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        John.Giacomoni@colorado.edu
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Detect Bus Speed?
Message-ID:  <20060912.165618.-1877556476.imp@bsdimp.com>
In-Reply-To: <2D3EAACB-BB70-45B1-A018-EBCF7126F7E9@colorado.edu>
References:  <2D3EAACB-BB70-45B1-A018-EBCF7126F7E9@colorado.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <2D3EAACB-BB70-45B1-A018-EBCF7126F7E9@colorado.edu>
            John Giacomoni <John.Giacomoni@colorado.edu> writes:
: Is there a way to determine the current bus speed a PCI-X slot is  
: running at?

Not easily.  The host's BIOS controls that, and some power management
strategies clock down the bus from time to time to save power...

If you have something that's bus speed dependent, it might be better
to use a strategy that instead responds to events that you can
control, like DMA completion and the like and adapt in real time.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060912.165618.-1877556476.imp>