Vojtech Pavlik wrote:
> I have some experimental IDE based code which can detect the PCI bus
> speed by doing some IDE transfers and measuring the time it takes. It
> isn't 100% reliable, though. I haven't found any other way to detect PCI
> clock reliably, unfortunately it cannot be safely guessed from the CPU
> clock or FSB clock or anything.
Maybe your code cannot detect the "right answer" perfectly, but at least
it could be useful as a sanity check, to let you know if the timings/bus
speed are wildly off...
Jeff
-- Jeff Garzik | "UNIX enhancements aren't." Building 1024 | -- says /usr/games/fortune MandrakeSoft | - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Feb 28 2002 - 21:00:11 EST