1. 23 4月, 2006 4 次提交
    • K
      [PATCH] tpm: new 1.2 sysfs files · 08e96e48
      Kylene Jo Hall 提交于
      Many of the sysfs files were calling the TPM_GetCapability command with array.
       Since for 1.2 more sysfs files of this type are coming I am generalizing the
      array so there can be one array and the unique parts can be filled in just
      before the command is called.
      
      This updated version of the patch breaks the multi-value sysfs file into
      separate files pointed out by Greg.  It also addresses the code redundancy and
      ugliness in the tpm_show_* functions pointed out on another patch by Dave
      Hansen.
      Signed-off-by: NKylene Hall <kjhall@us.ibm.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      08e96e48
    • K
      [PATCH] tpm: command duration update · 9e18ee19
      Kylene Jo Hall 提交于
      With the TPM 1.2 Specification, each command is classified as short, medium or
      long and the chip tells you the maximum amount of time for a response to each
      class of command.  This patch provides and array of the classifications and a
      function to determine how long the response should be waited for.  Also, it
      uses that information in the command processing to determine how long to poll
      for.  The function is exported so the 1.2 driver can use the functionality to
      determine how long to wait for a DataAvailable interrupt if interrupts are
      being used.
      Signed-off-by: NKylene Hall <kjhall@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9e18ee19
    • K
      [PATCH] tpm: return chip from tpm_register_hardware · e0dd03ca
      Kylene Jo Hall 提交于
      Changes in the 1.2 TPM Specification make it necessary to update some fields
      of the chip structure in the initialization function after it is registered
      with tpm.c thus tpm_register_hardware was modified to return a pointer to the
      structure.  This patch makes that change and the associated changes in
      tpm_atmel and tpm_nsc.  The changes to tpm_infineon will be coming in a patch
      from Marcel Selhorst.
      Signed-off-by: NKylene Hall <kjhall@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e0dd03ca
    • K
      [PATCH] tpm: chip struct update · 90dda520
      Kylene Jo Hall 提交于
      To assist with chip management and better support the possibility of having
      multiple TPMs in the system of the same kind, the struct tpm_vendor_specific
      member of the tpm_chip was changed from a pointer to an instance.  This patch
      changes that declaration and fixes up all accesses to the structure member
      except in tpm_infineon which is coming in a patch from Marcel Selhorst.
      Signed-off-by: NKylene Hall <kjhall@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      90dda520
  2. 26 3月, 2006 1 次提交
  3. 09 1月, 2006 1 次提交
  4. 14 11月, 2005 2 次提交
  5. 09 11月, 2005 1 次提交
    • O
      [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason · 733482e4
      Olaf Hering 提交于
      This patch removes almost all inclusions of linux/version.h.  The 3
      #defines are unused in most of the touched files.
      
      A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
      unfortunatly in linux/version.h.
      
      There are also lots of #ifdef for long obsolete kernels, this was not
      touched.  In a few places, the linux/version.h include was move to where
      the LINUX_VERSION_CODE was used.
      
      quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`
      
      search pattern:
      /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h
      Signed-off-by: NOlaf Hering <olh@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      733482e4
  6. 02 11月, 2005 1 次提交
  7. 31 10月, 2005 3 次提交
  8. 26 6月, 2005 1 次提交
  9. 24 6月, 2005 6 次提交
  10. 17 4月, 2005 2 次提交