Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26119
b: refs/heads/master
c: b09d530
h: refs/heads/master
i:
  26117: da77a64
  26115: b02f09d
  26111: ef1a864
v: v3
  • Loading branch information
Kylene Jo Hall authored and Linus Torvalds committed Apr 22, 2006
1 parent 4b649a5 commit 2cdbb9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e496f540540f0a0bffcc3f83785f9954dacf1b83
refs/heads/master: b09d53009db21228adde29b468eb4583e66cbe7c
7 changes: 7 additions & 0 deletions trunk/drivers/char/tpm/tpm_tis.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ enum tis_int_flags {
};

enum tis_defaults {
TIS_MEM_BASE = 0xFED4000,
TIS_MEM_LEN = 0x5000,
TIS_SHORT_TIMEOUT = 750, /* ms */
TIS_LONG_TIMEOUT = 2000, /* 2 sec */
};
Expand Down Expand Up @@ -437,6 +439,11 @@ static int __devinit tpm_tis_pnp_init(struct pnp_dev
start = pnp_mem_start(pnp_dev, 0);
len = pnp_mem_len(pnp_dev, 0);

if (!start)
start = TIS_MEM_BASE;
if (!len)
len = TIS_MEM_LEN;

if (!(chip = tpm_register_hardware(&pnp_dev->dev, &tpm_tis)))
return -ENODEV;

Expand Down

0 comments on commit 2cdbb9c

Please sign in to comment.