Do not use the TSC where its known to be broken, this will cause the queue

speeds to perform below the desired bitrate and throughput will be erratic.

This makes queueing work on the Geode SC1100, K5 model 0 and IDT WinChip C6
processors.

MFC after:	3 days
This commit is contained in:
Andrew Thompson 2006-03-02 00:51:39 +00:00
parent db45b073f7
commit 95d4af215e

View File

@ -918,7 +918,8 @@ init_machclk(void)
#endif
#ifdef __i386__
/* check if TSC is available */
if (machclk_usepcc == 1 && (cpu_feature & CPUID_TSC) == 0)
if (machclk_usepcc == 1 && ((cpu_feature & CPUID_TSC) == 0 ||
tsc_is_broken))
machclk_usepcc = 0;
#endif