diff options
author | Alan <alan@lxorguk.ukuu.org.uk> | 2007-02-13 13:26:26 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-02-13 13:26:26 +0100 |
commit | 120fad72401ebec2a126c16cc48f56c28f3eefe2 (patch) | |
tree | 957a06e7ab3e81b7da43bef3c7cde7c0033f1952 /fs | |
parent | 7de6d3618b09c39fdaa6125e23fcf465a65bc266 (diff) | |
download | linux-3.10-120fad72401ebec2a126c16cc48f56c28f3eefe2.tar.gz linux-3.10-120fad72401ebec2a126c16cc48f56c28f3eefe2.tar.bz2 linux-3.10-120fad72401ebec2a126c16cc48f56c28f3eefe2.zip |
[PATCH] i386: Fix Cyrix MediaGX detection
The old Cyrix 5520 CPU detection code relied upon the PCI layer setup being
done earlier than the CPU setup, which is no longer true. Fortunately we
know that if the processor is a MediaGX we can do type 1 pci config
accesses to check the companion chip. We thus do those directly and from
this find the 5520 and implement the workarounds for the timer problem
Original report from takada@mbf.nifty.com, I sent a proposed patch which
Takara then corrected, tested and sent back to the list on 10th January.
Submitting for merging as it seems to have been missed
AK: Changed to use pci-direct.h and fix warning for !CONFIG_PCI (later
AK: originally from akpm)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Cc: <takada@mbf.nifty.com>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions