diff options
author | Kylene Jo Hall <kjhall@us.ibm.com> | 2006-04-22 13:37:38 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-22 20:19:54 +0400 |
commit | 9e18ee19179a7742999d0e2d4bfcba75b5562439 (patch) | |
tree | da87b5f7547ae840fd797d2e3ddc71e5c7cb3307 /lib/div64.c | |
parent | e0dd03caf20d040a0a86b6bd74028ec9bda545f5 (diff) | |
download | linux-9e18ee19179a7742999d0e2d4bfcba75b5562439.tar.xz |
[PATCH] tpm: command duration update
With the TPM 1.2 Specification, each command is classified as short, medium or
long and the chip tells you the maximum amount of time for a response to each
class of command. This patch provides and array of the classifications and a
function to determine how long the response should be waited for. Also, it
uses that information in the command processing to determine how long to poll
for. The function is exported so the 1.2 driver can use the functionality to
determine how long to wait for a DataAvailable interrupt if interrupts are
being used.
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>
Diffstat (limited to 'lib/div64.c')
0 files changed, 0 insertions, 0 deletions