Commit b030eac9 authored by Andreas Herrmann's avatar Andreas Herrmann Committed by Greg Kroah-Hartman

x86, quirk: Fix SB600 revision check

commit 1d3e09a3 upstream.

Commit 7f74f8f2
(x86 quirk: Fix polarity for IRQ0 pin2 override on SB800
systems) introduced a regression. It removed some SB600 specific
code to determine the revision ID without adapting a
corresponding revision ID check for SB600.

See this mail thread:

  http://marc.info/?l=linux-kernel&m=129980296006380&w=2

This patch adapts the corresponding check to cover all SB600
revisions.
Tested-by: default avatarWang Lei <f3d27b@gmail.com>
Signed-off-by: default avatarAndreas Herrmann <andreas.herrmann3@amd.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <20110315143137.GD29499@alberich.amd.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6fee8c66
...@@ -159,7 +159,12 @@ static void __init ati_bugs_contd(int num, int slot, int func) ...@@ -159,7 +159,12 @@ static void __init ati_bugs_contd(int num, int slot, int func)
if (rev >= 0x40) if (rev >= 0x40)
acpi_fix_pin2_polarity = 1; acpi_fix_pin2_polarity = 1;
if (rev > 0x13) /*
* SB600: revisions 0x11, 0x12, 0x13, 0x14, ...
* SB700: revisions 0x39, 0x3a, ...
* SB800: revisions 0x40, 0x41, ...
*/
if (rev >= 0x39)
return; return;
if (acpi_use_timer_override) if (acpi_use_timer_override)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment