1. 17 10月, 2011 1 次提交
    • O
      ARM: 7130/1: dev_archdata: add private iommu extension · cfb470b3
      Ohad Ben-Cohen 提交于
      Add a private iommu pointer to the ARM-specific arch data in the
      device struct, which will be used to attach iommu-specific data
      to devices which require iommu support.
      
      Different iommu implementations (on different platforms) will attach
      different types of data to this pointer, so 'void *' is currently used
      (the downside is reduced typesafety).
      
      Note: ia64, x86 and sparc have this exact iommu extension as well, and
      if others are likely to adopt it too, we might want to consider
      adding this to the device struct itself directly.
      Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      cfb470b3
  2. 22 9月, 2011 1 次提交
  3. 22 7月, 2009 1 次提交
    • M
      Driver Core: Add platform device arch data V3 · d7aacadd
      Magnus Damm 提交于
      Allow architecture specific data in struct platform_device V3.
      
      With this patch struct pdev_archdata is added to struct
      platform_device, similar to struct dev_archdata in found in
      struct device. Useful for architecture code that needs to
      keep extra data associated with each platform device.
      
      Struct pdev_archdata is different from dev.platform_data, the
      convention is that dev.platform_data points to driver-specific
      data. It may or may not be required by the driver. The format
      of this depends on driver but is the same across architectures.
      
      The structure pdev_archdata is a place for architecture specific
      data. This data is handled by architecture specific code (for
      example runtime PM), and since it is architecture specific it
      should _never_ be touched by device driver code. Exactly like
      struct dev_archdata but for platform devices.
      
      [rjw: This change is for power management mostly and that's why it
       goes through the suspend tree.]
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Acked-by: NKevin Hilman <khilman@deeprootsystems.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      d7aacadd
  4. 03 8月, 2008 1 次提交
  5. 12 2月, 2007 1 次提交
  6. 02 12月, 2006 1 次提交