1. 02 6月, 2008 1 次提交
  2. 13 10月, 2007 1 次提交
    • K
      platform: prefix MODALIAS with "platform:" · 43cc71ee
      Kay Sievers 提交于
      Prefix platform modalias strings with "platform:", which
      modprobe config to blacklist alias resolving if userspace
      configures it.
      
      Send uevents for all platform devices.
      
      Add MODULE_ALIAS's to: pxa2xx_pcmcia, ds1742 and pcspkr to trigger
      module autoloading by userspace.
      
        $ modinfo pcspkr
        alias:          platform:pcspkr
        license:        GPL
        description:    PC Speaker beeper driver
        ...
      
        $ modprobe -n -v platform:pcspkr
        insmod /lib/modules/2.6.23-rc3-g28e8351a-dirty/kernel/drivers/input/misc/pcspkr.ko
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      43cc71ee
  3. 09 5月, 2007 1 次提交
    • D
      fix hotplug for legacy platform drivers · 49a4ec18
      David Brownell 提交于
      We've had various reports of some legacy "probe the hardware" style
      platform drivers having nasty problems with hotplug support.
      
      The core issue is that those legacy drivers don't fully conform to the
      driver model.  They assume a role that should be the responsibility of
      infrastructure code: creating device nodes.
      
      The "modprobe" step in hotplugging relies on drivers to have split those
      roles into different modules.  The lack of this split causes the problems.
      When a driver creates nodes for devices that don't exist (sending a hotplug
      event), then exits (aborting one modprobe) before the "modprobe $MODALIAS"
      step completes (by failing, since it's in the middle of a modprobe), the
      result can be an endless loop of modprobe invocations ...  badness.
      
      This fix uses the newish per-device flag controlling issuance of "add"
      events.  (A previous version of this patch used a per-device "driver can
      hotplug" flag, which only scrubbed $MODALIAS from the environment rather
      than suppressing the entire hotplug event.) It also shrinks that flag to
      one bit, saving a word in "struct device".
      
      So the net of this patch is removing some nasty failures with legacy
      drivers, while retaining hotplug capability for the majority of platform
      drivers.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Greg KH <gregkh@suse.de>
      Cc: Andres Salomon <dilinger@debian.org>
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      49a4ec18
  4. 19 4月, 2006 1 次提交
  5. 11 1月, 2006 1 次提交
  6. 06 1月, 2006 2 次提交
  7. 09 11月, 2005 1 次提交
    • R
      [ARM] 3093/1: SharpSL PCMCIA Updates for Cxx00 models · a63ae442
      Richard Purdie 提交于
      Patch from Richard Purdie
      
      The Sharp SL-Cxx00 models have a combined power control for the SD
      and CF slot 0. This patch adds hooks to the scoop driver to allow
      machines to provide a custom control function for this and such a
      function is added for spitz/akita/borzoi.
      
      It also moves the gpio init code into the machine files as this
      is machine dependent and differs between some models. A couple of
      warnings when compiling for collie are also fixed.
      
      Signed-off-by: Richard Purdie
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a63ae442
  8. 31 10月, 2005 1 次提交
  9. 30 10月, 2005 1 次提交
  10. 06 9月, 2005 1 次提交
  11. 04 9月, 2005 1 次提交
  12. 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