diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-05-03 03:41:25 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-05-03 03:41:25 +0000 |
| commit | 453130d9bfc1c6d68b366dfcb041689d69f81295 (patch) | |
| tree | fe36ef227324b313676d43aef9a4d97c9a09675a /sys/dev/tpm | |
| parent | 7860c0c3843dbb1cf8f4f2c20ee526e8dd2661da (diff) | |
Notes
Diffstat (limited to 'sys/dev/tpm')
| -rw-r--r-- | sys/dev/tpm/tpm.c | 4 | ||||
| -rw-r--r-- | sys/dev/tpm/tpm_acpi.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/tpm/tpm.c b/sys/dev/tpm/tpm.c index a90f8ba71c8c..3ac52d6e7691 100644 --- a/sys/dev/tpm/tpm.c +++ b/sys/dev/tpm/tpm.c @@ -70,7 +70,7 @@ __FBSDID("$FreeBSD$"); #define IRQUNK -1 #endif -#define TPM_ACCESS 0x0000 /* acess register */ +#define TPM_ACCESS 0x0000 /* access register */ #define TPM_ACCESS_ESTABLISHMENT 0x01 /* establishment */ #define TPM_ACCESS_REQUEST_USE 0x02 /* request using locality */ #define TPM_ACCESS_REQUEST_PENDING 0x04 /* pending request */ @@ -820,7 +820,7 @@ tpm_waitfor(struct tpm_softc *sc, u_int8_t b0, int tmo, void *c) b = b0; /* - * Wait for data ready. This interrupt only occures + * Wait for data ready. This interrupt only occurs * when both TPM_STS_VALID and TPM_STS_DATA_AVAIL are asserted. * Thus we don't have to bother with TPM_STS_VALID * separately and can just return. diff --git a/sys/dev/tpm/tpm_acpi.c b/sys/dev/tpm/tpm_acpi.c index 5d83477ec4d4..b16dd234b3df 100644 --- a/sys/dev/tpm/tpm_acpi.c +++ b/sys/dev/tpm/tpm_acpi.c @@ -62,7 +62,7 @@ tpm_acpi_probe(device_t dev) static device_method_t tpm_acpi_methods[] = { #if 0 - /*In some case, TPM existance is found only in TPCA header*/ + /*In some case, TPM existence is found only in TPCA header*/ DEVMETHOD(device_identify, tpm_acpi_identify), #endif |
