1. 14 1月, 2010 1 次提交
  2. 16 6月, 2009 1 次提交
  3. 25 3月, 2009 1 次提交
    • M
      Driver core: implement uevent suppress in kobject · f67f129e
      Ming Lei 提交于
      This patch implements uevent suppress in kobject and removes it
      from struct device, based on the following ideas:
      
      1,Uevent sending should be one attribute of kobject, so suppressing it
      in kobject layer is more natural than in device layer. By this way,
      we can do it for other objects embedded with kobject.
      
      2,It may save several bytes for each instance of struct device.(On my
      omap3(32bit ARM) based box, can save 8bytes per device object)
      
      This patch also introduces dev_set|get_uevent_suppress() helpers to
      set and query uevent_suppress attribute in case to help kobject
      as private part of struct device in future.
      
      [This version is against the latest driver-core patch set of Greg,please
      ignore the last version.]
      Signed-off-by: NMing Lei <tom.leiming@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f67f129e
  4. 25 12月, 2008 1 次提交
    • S
      [S390] cio: introduce cio_update_schib · cdb912a4
      Sebastian Ott 提交于
      There is the chance that we get condition code 0 for a stsch but
      the resulting schib is not vaild. In the current code there are
      2 cases:
      * we do a check for validity of the schib after stsch, but at this
        time we have already stored the invaild schib in the subchannel
        structure. This may lead to problems.
      * we don't do a check for validity, which is not that good either.
      
      The patch addresses both issues by introducing the stsch wrapper
      cio_update_schib which performs stsch on a local schib. This schib
      is only written back to the subchannel if it's valid.
      
      side note: For some functions (chp_events) the return codes are
      different now (-ENXIO vs -ENODEV) but this shouldn't do harm
      since the caller doesn't check for _specific_ errors.
      Signed-off-by: NSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      cdb912a4
  5. 11 10月, 2008 1 次提交
  6. 14 7月, 2008 1 次提交