[WATCHDOG] iTCO_wdt.c - fix ACPI Base register
authorWim Van Sebroeck <wim@iguana.be>
Fri, 11 May 2007 18:59:24 +0000 (18:59 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 11 May 2007 18:59:24 +0000 (18:59 +0000)
commit0d4804b31f91cfbcff6d62af0bc09a893a1c8ae0
treefb86bcf061d17cfa6924ac08dccd242d8424201a
parent04bf3b4f5fc033adf921f2e57d034ddbebef5fe7
[WATCHDOG] iTCO_wdt.c - fix ACPI Base register

The ACPI/PM base I/O address which is the base
for the TCO registers is defined as bits [15:7]
(highest bit is 31, lowest is 0)

The code however only reads bits [14:7]. So
        base_address &= 0x00007f80;
needs to be:
        base_address &= 0x0000ff80;

This patch fixes this.

Signed-off-by: Ate Wijma <ajwijma@hotmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/iTCO_wdt.c