[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1246410255-6839-5-git-send-email-adi@vmware.com>
Date: Tue, 30 Jun 2009 18:04:13 -0700
From: Andy Isaacson <adi@...are.com>
To: linux-kernel@...r.kernel.org, tpmdd-devel@...ts.sourceforge.net
Cc: adi@...apodia.org, Rajiv Andrade <srajiv@...ux.vnet.ibm.com>,
dds@...gle.com, Mimi Zohar <zohar@...ux.vnet.ibm.com>,
Shahbaz Khan <shaz.linux@...il.com>, seiji.munetoh@...il.com,
Andy Isaacson <adi@...are.com>
Subject: [PATCH 4/6] tpm_tis: print complete vendor information
The TPM_VID field contains a vendor-id as well as a device-id,
but the code only prints the device-id. Fix it.
Signed-off-by: Andy Isaacson <adi@...are.com>
---
drivers/char/tpm/tpm_tis.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index e0bda02..50c2a8a 100644
--- a/drivers/char/tpm/tpm_tis.c
+++ b/drivers/char/tpm/tpm_tis.c
@@ -464,7 +464,7 @@ static int tpm_tis_init(struct device *dev, resource_size_t start,
vendor = ioread32(chip->vendor.iobase + TPM_DID_VID(0));
dev_info(dev,
- "1.2 TPM (device-id 0x%X, rev-id %d)\n",
+ "1.2 TPM (%04X:%04X rev %d)\n", vendor & 0xffff,
vendor >> 16, ioread8(chip->vendor.iobase + TPM_RID(0)));
/* Figure out the capabilities */
--
1.6.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists