summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm.h
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2012-01-20 12:58:49 -0500
committerRajiv Andrade <srajiv@linux.vnet.ibm.com>2012-02-14 16:43:08 -0200
commit4e401fb028b79105ed87d85fc2220c77be277ed9 (patch)
tree8ac642d06075f499f8a102fec06cb75a0cd1e7bc /drivers/char/tpm/tpm.h
parent4040153087478993cbf0809f444400a3c808074c (diff)
downloadblackbird-op-linux-4e401fb028b79105ed87d85fc2220c77be277ed9.tar.gz
blackbird-op-linux-4e401fb028b79105ed87d85fc2220c77be277ed9.zip
tpm_tis: Only probe iTPMs
Detect iTPMs through the vendor ID on the hardware interface and only probe the device if the manufacturer is found to be Intel. This obsoletes a previously added delay necessary for some TPMs but not iTPMs. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r--drivers/char/tpm/tpm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h
index 010547138281..b1c5280ac159 100644
--- a/drivers/char/tpm/tpm.h
+++ b/drivers/char/tpm/tpm.h
@@ -99,6 +99,8 @@ struct tpm_vendor_specific {
wait_queue_head_t int_queue;
};
+#define TPM_VID_INTEL 0x8086
+
struct tpm_chip {
struct device *dev; /* Device stuff */
OpenPOWER on IntegriCloud