1. 28 2月, 2013 1 次提交
  2. 13 10月, 2012 1 次提交
  3. 16 3月, 2012 1 次提交
    • P
      device.h: audit and cleanup users in main include dir · 313162d0
      Paul Gortmaker 提交于
      The <linux/device.h> header includes a lot of stuff, and
      it in turn gets a lot of use just for the basic "struct device"
      which appears so often.
      
      Clean up the users as follows:
      
      1) For those headers only needing "struct device" as a pointer
      in fcn args, replace the include with exactly that.
      
      2) For headers not really using anything from device.h, simply
      delete the include altogether.
      
      3) For headers relying on getting device.h implicitly before
      being included themselves, now explicitly include device.h
      
      4) For files in which doing #1 or #2 uncovers an implicit
      dependency on some other header, fix by explicitly adding
      the required header(s).
      
      Any C files that were implicitly relying on device.h to be
      present have already been dealt with in advance.
      
      Total removals from #1 and #2: 51.  Total additions coming
      from #3: 9.  Total other implicit dependencies from #4: 7.
      
      As of 3.3-rc1, there were 110, so a net removal of 42 gives
      about a 38% reduction in device.h presence in include/*
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      313162d0
  4. 01 11月, 2011 1 次提交
    • P
      include: replace linux/module.h with "struct module" wherever possible · de477254
      Paul Gortmaker 提交于
      The <linux/module.h> pretty much brings in the kitchen sink along
      with it, so it should be avoided wherever reasonably possible in
      terms of being included from other commonly used <linux/something.h>
      files, as it results in a measureable increase on compile times.
      
      The worst culprit was probably device.h since it is used everywhere.
      This file also had an implicit dependency/usage of mutex.h which was
      masked by module.h, and is also fixed here at the same time.
      
      There are over a dozen other headers that simply declare the
      struct instead of pulling in the whole file, so follow their lead
      and simply make it a few more.
      
      Most of the implicit dependencies on module.h being present by
      these headers pulling it in have been now weeded out, so we can
      finally make this change with hopefully minimal breakage.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      de477254
  5. 31 3月, 2011 1 次提交
  6. 14 12月, 2010 1 次提交
    • Z
      IPMI: Add one interface to get more info of low-level IPMI device · 16f4232c
      Zhao Yakui 提交于
      The IPMI smi_watcher will be used to catch the IPMI interface as they
      come or go.  In order to communicate with the correct IPMI device, it
      should be confirmed whether it is what we wanted especially on the
      system with multiple IPMI devices. But the new_smi callback function
      of smi_watcher provides very limited info(only the interface number
      and dev pointer) and there is no detailed info about the low level
      interface. For example: which mechansim registers the IPMI
      interface(ACPI, PCI, DMI and so on).
      
      This is to add one interface that can get more info of low-level IPMI
      device. For example: the ACPI device handle will be returned for the
      pnp_acpi IPMI device.
      Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NCorey Minyard <cminyard@mvista.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      16f4232c
  7. 22 4月, 2009 1 次提交
  8. 29 4月, 2008 3 次提交
  9. 19 10月, 2007 1 次提交
  10. 08 12月, 2006 1 次提交
    • C
      [PATCH] IPMI: Add maintenance mode · b9675136
      Corey Minyard 提交于
      Some commands and operations on a BMC can cause the BMC to "go away" for a
      while.  This can cause the automatic flag processing and other things of that
      nature to timeout and generate annoying logs, or possibly cause other bad
      things to happen when in firmware update mode.
      
      Add detection of those commands (cold reset, warm reset, and any firmware
      command) and turns off automatic processing for 30 seconds.  It also add a
      manual override either way.
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b9675136
  11. 01 10月, 2006 1 次提交
  12. 28 6月, 2006 1 次提交
  13. 25 4月, 2006 1 次提交
  14. 27 3月, 2006 1 次提交
    • C
      [PATCH] ipmi: add full sysfs support · 50c812b2
      Corey Minyard 提交于
      Add full driver model support for the IPMI driver.  It links in the proper
      bus and device support.
      
      It adds an "ipmi" driver interface that has each BMC discovered by the
      driver (as a device).  These BMCs appear in the devices/platform directory.
       If there are multiple interfaces to the same BMC, the driver should
      discover this and will only have one BMC entry.  The BMC entry will have
      pointers to each interface device that connects to it.
      
      The device information (statistics and config information) has not yet been
      ported over to the driver model from proc, that will come later.
      
      This work was based on work by Yani Ioannou.  I basically rewrote it using
      that code as a guide, but he still deserves credit :).
      
      [bunk@stusta.de: make ipmi_find_bmc_guid() static]
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Signed-off-by: NYani Ioannou <yani.ioannou@gmail.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      50c812b2
  15. 07 11月, 2005 1 次提交
    • C
      [PATCH] ipmi: use refcount in message handler · 393d2cc3
      Corey Minyard 提交于
      This patch is rather large, but it really can't be done in smaller chunks
      easily and I believe it is an important change.  This has been out and tested
      for a while in the latest IPMI driver release.  There are no functional
      changes, just changes as necessary to convert the locking over (and a few
      minor style updates).
      
      The IPMI driver uses read/write locks to ensure that things exist while they
      are in use.  This is bad from a number of points of view.  This patch removes
      the rwlocks and uses refcounts and RCU lists to manage what the locks did.
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Cc: Matt Domsch <Matt_Domsch@dell.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      393d2cc3
  16. 08 9月, 2005 3 次提交
  17. 24 6月, 2005 1 次提交
    • C
      [PATCH] ipmi: add power cycle capability · 3b625943
      Corey Minyard 提交于
      This patch to adds "power cycle" functionality to the IPMI power off module
      ipmi_poweroff.  It also contains changes to support procfs control of the
      feature.
      
      The power cycle action is considered an optional chassis control in the IPMI
      specification.  However, it is definitely useful when the hardware supports
      it.  A power cycle is usually required in order to reset a firmware in a bad
      state.  This action is critical to allow remote management of servers.
      
      The implementation adds power cycle as optional to the ipmi_poweroff module.
      It can be modified dynamically through the proc entry mentioned above.  During
      a power down and enabled, the power cycle command is sent to the BMC firmware.
       If it fails either due to non-support or some error, it will retry to send
      the command as power off.
      Signed-off-by: NChristopher A. Poblete <Chris_Poblete@dell.com>
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3b625943
  18. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4