Re: [PATCH] tpm_infineon: add support for devices in mmio space

2007-03-07 Thread Alex Williamson
On Wed, 2007-03-07 at 13:33 -0800, Andrew Morton wrote: > > tpm_inf_pnp_probe() leaks resources all over the place if something goes > wrong. Good point, here's an update that cleans up after itself a bit better. Thanks, Alex Signed-off-by: Alex Williamson <[EMAIL PROTECTED]>

Re: [PATCH] tpm_infineon: add support for devices in mmio space

2007-03-07 Thread Andrew Morton
On Wed, 07 Mar 2007 10:58:10 -0700 Alex Williamson <[EMAIL PROTECTED]> wrote: >dev->name, dev_id->id); > - if (!((TPM_INF_BASE >> 8) & 0xff)) { > + if (!((tpm_dev.data_regs >> 8) & 0xff)) { > rc = -EINVAL; >

[PATCH] tpm_infineon: add support for devices in mmio space

2007-03-07 Thread Alex Williamson
The patch below adds support for devices living in MMIO space to the Infineon TPM driver. These can be found on some of the newer HP ia64 systems. Thanks, Alex Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> --- diff -r c8e6d6d04971 -r 5e0fb1be86e6 drivers/char/tpm/tpm_infineon.