Takahisa Tanaka 81fc933f17 watchdog: sp5100_tco: Set the AcpiMmioSel bitmask value to 1 instead of 2
The AcpiMmioSel bit is bit 1 in the AcpiMmioEn register, but the current
sp5100_tco driver is using bit 2.

See 2.3.3 Power Management (PM) Registers page 150 of the
AMD SB800-Series Southbridges Register Reference Guide [1].

        AcpiMmioEn - RW – 8/16/32 bits - [PM_Reg: 24h]
        Field Name        Bits  Default  Description
        AcpiMMioDecodeEn  0     0b       Set to 1 to enable AcpiMMio space.
        AcpiMMIoSel       1     0b       Set AcpiMMio registers to be memory-mapped or IO-mapped space.
                                         0: Memory-mapped space
                                         1: I/O-mapped space

The sp5100_tco driver expects zero as a value of AcpiMmioSel (bit 1).

Fortunately, no problems were caused by this typo, because the default
value of the undocumented misused bit 2 seems to be zero.

However, the sp5100_tco driver should use the correct bitmask value.

[1] http://support.amd.com/us/Embedded_TechDocs/45482.pdf

Signed-off-by: Takahisa Tanaka <mc74hc00@gmail.com>
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: stable <stable@vger.kernel.org>
2013-03-22 23:21:55 +01:00
..
2012-11-28 12:00:24 -08:00
2012-03-27 20:06:02 +02:00
2012-11-28 12:00:24 -08:00
2013-02-22 23:31:31 -05:00
2012-11-28 12:00:24 -08:00
2012-11-28 12:00:24 -08:00
2012-11-28 12:00:24 -08:00
2012-11-28 12:00:24 -08:00
2012-03-27 20:06:02 +02:00
2012-11-28 12:00:24 -08:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-11-28 12:00:24 -08:00
2012-03-27 20:06:02 +02:00
2013-03-01 12:56:26 +01:00
2012-11-28 12:00:24 -08:00
2012-03-28 15:58:21 -07:00
2013-03-01 12:44:40 +01:00
2012-11-28 12:00:24 -08:00
2012-11-28 12:00:24 -08:00
2012-11-28 12:00:24 -08:00
2012-03-27 20:06:02 +02:00
2012-11-28 12:00:24 -08:00
2012-03-27 20:06:02 +02:00
2012-11-28 12:00:24 -08:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2013-03-01 12:31:14 +01:00
2012-11-28 12:00:24 -08:00
2012-03-28 15:58:21 -07:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-11-28 12:00:24 -08:00
2012-11-28 12:00:24 -08:00
2012-11-28 12:00:24 -08:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-28 15:58:21 -07:00
2012-03-28 15:58:21 -07:00
2012-11-28 12:00:24 -08:00
2012-03-28 15:58:21 -07:00
2012-11-28 12:00:24 -08:00
2012-11-28 12:00:24 -08:00
2012-11-28 12:00:24 -08:00