On Wed, Aug 04, 2010 at 07:39:41PM +0900, Takanori Watanabe wrote:
> In message <201008040347.o743leeR046013@sana.init-main.com>, wrote:
> >Quick review and hack:
> >1.How about attaching it as acpi child driver?
> >In some case, TPM may appear in ACPI namespace (with _HID) and
> >TPM spec defines ACPI method to handle TPM specific request.
> >2. Is identify method needed?
> >Writing device hint will attach isa child driver, I think.
> >3.Module build
> >I don't know it is proper in TPM nature.
With respect to using a TPM as a PKCS#11 token for eg. ssh using a module
for the driver seems ok to me.
> Update my patch. Split bus attachment from main driver file
> (need to update sys/conf/files), add detach method for convinience,
> and attach softc to cdev.si_drv1 .
many thanks for your feedback!
I will try to integrate your diff tomorrow.