2006-05-09 16:56:44

by Kylene Jo Hall

[permalink] [raw]
Subject: [PATCH] tpm: fix constant

Fix the constant used for the base address when it cannot be determined
from ACPI. It was off by one order of magnitude.

Signed-off-by: Kylene Hall <[email protected]>
---
drivers/char/tpm/tpm_tis.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.17-rc3/drivers/char/tpm/tpm_tis.c 2006-04-26 21:19:25.000000000 -0500
+++ linux-2.6.17-rc3-tpm/drivers/char/tpm/tpm_tis.c 2006-05-09 09:39:20.281741000 -0500
@@ -55,7 +55,7 @@ enum tis_int_flags {
};

enum tis_defaults {
- TIS_MEM_BASE = 0xFED4000,
+ TIS_MEM_BASE = 0xFED40000,
TIS_MEM_LEN = 0x5000,
TIS_SHORT_TIMEOUT = 750, /* ms */
TIS_LONG_TIMEOUT = 2000, /* 2 sec */