1. 08 1月, 2009 2 次提交
    • B
      PCI: pcie port driver: remove extra printks · 0e331bf1
      Bjorn Helgaas 提交于
      These printks don't contain enough information to be useful.  I think it
      would be more useful to have a message when a service driver binds to a
      root port.  That could contain the service type, the interrupt mode and
      IRQ, etc.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      0e331bf1
    • K
      PCI: struct device - replace bus_id with dev_name(), dev_set_name() · 1a927133
      Kay Sievers 提交于
      This patch is part of a larger patch series which will remove
      the "char bus_id[20]" name string from struct device. The device
      name is managed in the kobject anyway, and without any size
      limitation, and just needlessly copied into "struct device".
      
      To set and read the device name dev_name(dev) and dev_set_name(dev)
      must be used. If your code uses static kobjects, which it shouldn't
      do, "const char *init_name" can be used to statically provide the
      name the registered device should have. At registration time, the
      init_name field is cleared, to enforce the use of dev_name(dev) to
      access the device name at a later time.
      
      We need to get rid of all occurrences of bus_id in the entire tree
      to be able to enable the new interface. Please apply this patch,
      and possibly convert any remaining remaining occurrences of bus_id.
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-Off-By: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      1a927133
  2. 21 10月, 2008 1 次提交
  3. 26 6月, 2008 1 次提交
  4. 21 4月, 2008 1 次提交
  5. 02 2月, 2008 1 次提交
  6. 19 10月, 2006 1 次提交
  7. 27 9月, 2006 2 次提交
  8. 24 3月, 2006 1 次提交
  9. 10 1月, 2006 1 次提交
  10. 31 10月, 2005 1 次提交
    • T
      [PATCH] fix missing includes · 4e57b681
      Tim Schmielau 提交于
      I recently picked up my older work to remove unnecessary #includes of
      sched.h, starting from a patch by Dave Jones to not include sched.h
      from module.h. This reduces the number of indirect includes of sched.h
      by ~300. Another ~400 pointless direct includes can be removed after
      this disentangling (patch to follow later).
      However, quite a few indirect includes need to be fixed up for this.
      
      In order to feed the patches through -mm with as little disturbance as
      possible, I've split out the fixes I accumulated up to now (complete for
      i386 and x86_64, more archs to follow later) and post them before the real
      patch.  This way this large part of the patch is kept simple with only
      adding #includes, and all hunks are independent of each other.  So if any
      hunk rejects or gets in the way of other patches, just drop it.  My scripts
      will pick it up again in the next round.
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4e57b681
  11. 29 10月, 2005 1 次提交
  12. 08 7月, 2005 1 次提交
  13. 02 7月, 2005 1 次提交
  14. 21 6月, 2005 1 次提交
    • L
      [PATCH] use device_for_each_child() to properly access child devices. · d0e2b4a0
      long 提交于
      On Friday, March 25, 2005 8:47 PM Greg KH wrote:
      >Here's a fix for pci express.  For some reason I don't think they are
      >using the driver model properly here, but I could be wrong...
      
      Thanks for making the changes. However, changes in functions:
      void pcie_port_device_remove(struct pci_dev *dev) and
      static int remove_iter(struct device *dev, void *data)
      are not correct. Please use the patch, which is based on kernel
      2.6.12-rc1, below for a fix for these.
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d0e2b4a0
  15. 17 4月, 2005 2 次提交