1. 07 5月, 2008 1 次提交
  2. 27 4月, 2008 1 次提交
  3. 25 4月, 2008 1 次提交
  4. 24 4月, 2008 1 次提交
  5. 29 3月, 2008 1 次提交
    • A
      ixp4xx-beeper: add MODULE_ALIAS · 589499c0
      Alessandro Zummo 提交于
      The following patch allows ixp4xx-beeper to be loaded by udev
      automatically when compiled as a module with kernel versions 2.4.24 and
      greater.
      
      This patch is required because 43cc71ee
      ("platform: prefix MODALIAS with "platform:"") changed the modalias
      string to have the extra prefix.
      
      LKG7102D7:~# udevinfo -a -p /sys/devices/platform/ixp4xx-beeper.4
      
       looking at device '/devices/platform/ixp4xx-beeper.4':
         KERNEL=="ixp4xx-beeper.4"
         SUBSYSTEM=="platform"
         DRIVER==""
         ATTR{modalias}=="platform:ixp4xx-beeper"
      
      udev therefore tries to modprobe platform:ixp4xx-beeper instead of
      ixp4xx-beeper.
      
      LKG7102D7:~# udevtest /sys/devices/platform/ixp4xx-beeper.4
      ...
      import_uevent_var: import into environment: 'PHYSDEVBUS=platform'
      import_uevent_var: import into environment: 'MODALIAS=platform:ixp4xx-beeper'
      main: looking at device '/devices/platform/ixp4xx-beeper.4' from
      subsystem 'platform'
      wait_for_sysfs: file '/sys/devices/platform/ixp4xx-beeper.4/bus'
      appeared after 0 loops
      main: run: 'socket:/org/kernel/udev/monitor'
      main: run: '/sbin/modprobe --use-blacklist platform:ixp4xx-beeper'
      
      With this patch, depmod adds an alias line (see below) to
      modules.alias which allows modprobe to load the right module.
      
      alias platform:ixp4xx-beeper ixp4xx-beeper
      Signed-off-by: NGordon Farquharson <gordonfarquharson@gmail.com>
      Signed-off-by: NAlessandro Zummo <a.zummo@towertech.it>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: Dmitry Torokhov <dtor@mail.ru>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      589499c0
  6. 28 3月, 2008 1 次提交
    • G
      [ARM] 4875/1: Add MODULE_ALIAS to ixp4xx-beeper module · 1035d60d
      Gordon Farquharson 提交于
      The following patch allows ixp4xx-beeper to be loaded by udev
      automatically when compiled as a module with kernel versions 2.4.24
      and greater. This patch is required because commit
      43cc71ee adds "platform:" to the
      modalias string.
      
      LKG7102D7:~# udevinfo -a -p /sys/devices/platform/ixp4xx-beeper.4
      
       looking at device '/devices/platform/ixp4xx-beeper.4':
       KERNEL=="ixp4xx-beeper.4"
       SUBSYSTEM=="platform"
       DRIVER==""
       ATTR{modalias}=="platform:ixp4xx-beeper"
      
      udev therefore tries to modprobe platform:ixp4xx-beeper instead of
      ixp4xx-beeper.
      
      LKG7102D7:~# udevtest /sys/devices/platform/ixp4xx-beeper.4
      ...
      import_uevent_var: import into environment: 'PHYSDEVBUS=platform'
      import_uevent_var: import into environment: 'MODALIAS=platform:ixp4xx-beeper'
      main: looking at device '/devices/platform/ixp4xx-beeper.4' from
      subsystem 'platform'
      wait_for_sysfs: file '/sys/devices/platform/ixp4xx-beeper.4/bus'
      appeared after 0 loops
      main: run: 'socket:/org/kernel/udev/monitor'
      main: run: '/sbin/modprobe --use-blacklist platform:ixp4xx-beeper'
      
      With this patch, depmod adds an alias line (see below) to
      modules.alias which allows modprobe to load the right module.
      
      modules.alias:
      alias platform:ixp4xx-beeper ixp4xx-beeper
      Signed-off-by: NGordon Farquharson <gordonfarquharson@gmail.com>
      Signed-off-by: NAlessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1035d60d
  7. 14 3月, 2008 1 次提交
  8. 05 3月, 2008 1 次提交
  9. 07 2月, 2008 1 次提交
  10. 22 1月, 2008 1 次提交
    • S
      [SPARC64]: Fix section error in sparcspkr · 2ad913ba
      Sam Ravnborg 提交于
      With a sparc64 defconfig modified to set CONFIG_HOTPLUG=n
      the following error happened during link of vmlinux:
      
      local symbol 0: discarded in section `.devexit.text' from drivers/built-in.o
      local symbol 1: discarded in section `.devexit.text' from drivers/built-in.o
      
      (The error message above is from kbuild.git but it happens in mainline too)
      
      The error happens becase there is a reference from .text/.data to a
      function marked __devexit. With CONFIG_HOTPLUG=n all code marked
      __devexit are discarded and the linker complains.
      
      It was tracked down to sparcspkr.c which were missing __devexit_p()
      around the function pointers.
      
      Unfortunately modpost did not catch this since modpost do not warn
      about references from .data to .devexit from variables named *_driver.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2ad913ba
  11. 21 1月, 2008 5 次提交
  12. 03 11月, 2007 1 次提交
  13. 20 10月, 2007 2 次提交
  14. 13 10月, 2007 3 次提交
  15. 10 10月, 2007 1 次提交
    • J
      drivers/firmware: const-ify DMI API and internals · 1855256c
      Jeff Garzik 提交于
      Three main sets of changes:
      
      1) dmi_get_system_info() return value should have been marked const,
         since callers should not be changing that data.
      
      2) const-ify DMI internals, since DMI firmware tables should,
         whenever possible, be marked const to ensure we never ever write to
         that data area.
      
      3) const-ify DMI API, to enable marking tables const where possible
         in low-level drivers.
      
      And if we're really lucky, this might enable some additional
      optimizations on the part of the compiler.
      
      The bulk of the changes are #2 and #3, which are interrelated.  #1 could
      have been a separate patch, but it was so small compared to the others,
      it was easier to roll it into this changeset.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      1855256c
  16. 23 8月, 2007 1 次提交
  17. 24 7月, 2007 1 次提交
  18. 22 7月, 2007 1 次提交
  19. 10 7月, 2007 4 次提交
  20. 13 6月, 2007 1 次提交
  21. 23 5月, 2007 1 次提交
  22. 16 5月, 2007 1 次提交
  23. 11 5月, 2007 1 次提交
  24. 08 5月, 2007 1 次提交
  25. 03 5月, 2007 1 次提交
  26. 30 4月, 2007 3 次提交
  27. 12 4月, 2007 2 次提交