[PATCH] tpm: add status function to allow non-lpc bus chips
commitb4ed3e3cbb312869929cf4528d71e52629a6cacb
authorKylene Jo Hall <kjhall@us.ibm.com>
Sun, 30 Oct 2005 23:03:23 +0000 (30 15:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:28 +0000 (30 17:37 -0800)
treed514dfb584eebf74f7d89d3cdd57618e55aaaeca
parent162a88f7b8539a097a088c0321ea1997cacccaea
[PATCH] tpm: add status function to allow non-lpc bus chips

This patch is in preparation of supporting chips that are not necessarily on
the lpc bus and thus are not accessed with inb's and outb's.  The patch
replaces the call to get the chip's status in the tpm.c file with a vendor
specific status function.  The patch also defines the function for each of the
current supported devices.

Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm_atmel.c
drivers/char/tpm/tpm_infineon.c
drivers/char/tpm/tpm_nsc.c