1. 25 May, 2010 1 commit
    • Kay Sievers's avatar
      driver core: add devname module aliases to allow module on-demand auto-loading · 578454ff
      Kay Sievers authored
      This adds:
        alias: devname:<name>
      to some common kernel modules, which will allow the on-demand loading
      of the kernel module when the device node is accessed.
      
      Ideally all these modules would be compiled-in, but distros seems too
      much in love with their modularization that we need to cover the common
      cases with this new facility. It will allow us to remove a bunch of pretty
      useless init scripts and modprobes from init scripts.
      
      The static device node aliases will be carried in the module itself. The
      program depmod will extract this information to a file in the module directory:
        $ cat /lib/modules/2.6.34-00650-g537b60d1
      
      -dirty/modules.devname
        # Device nodes to trigger on-demand module loading.
        microcode cpu/microcode c10:184
        fuse fuse c10:229
        ppp_generic ppp c108:0
        tun net/tun c10:200
        dm_mod mapper/control c10:235
      
      Udev will pick up the depmod created file on startup and create all the
      static device nodes which the kernel modules specify, so that these modules
      get automatically loaded when the device node is accessed:
        $ /sbin/udevd --debug
        ...
        static_dev_create_from_modules: mknod '/dev/cpu/microcode' c10:184
        static_dev_create_from_modules: mknod '/dev/fuse' c10:229
        static_dev_create_from_modules: mknod '/dev/ppp' c108:0
        static_dev_create_from_modules: mknod '/dev/net/tun' c10:200
        static_dev_create_from_modules: mknod '/dev/mapper/control' c10:235
        udev_rules_apply_static_dev_perms: chmod '/dev/net/tun' 0666
        udev_rules_apply_static_dev_perms: chmod '/dev/fuse' 0666
      
      A few device nodes are switched to statically allocated numbers, to allow
      the static nodes to work. This might also useful for systems which still run
      a plain static /dev, which is completely unsafe to use with any dynamic minor
      numbers.
      
      Note:
      The devname aliases must be limited to the *common* and *single*instance*
      device nodes, like the misc devices, and never be used for conceptually limited
      systems like the loop devices, which should rather get fixed properly and get a
      control node for losetup to talk to, instead of creating a random number of
      device nodes in advance, regardless if they are ever used.
      
      This facility is to hide the mess distros are creating with too modualized
      kernels, and just to hide that these modules are not compiled-in, and not to
      paper-over broken concepts. Thanks! :)
      
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Miklos Szeredi <miklos@szeredi.hu>
      Cc: Chris Mason <chris.mason@oracle.com>
      Cc: Alasdair G Kergon <agk@redhat.com>
      Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
      Cc: Ian Kent <raven@themaw.net>
      Signed-Off-By: default avatarKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      578454ff
  2. 07 Apr, 2009 1 commit
  3. 06 Apr, 2009 1 commit
  4. 03 Apr, 2009 1 commit
  5. 12 Mar, 2009 1 commit
  6. 17 Oct, 2008 1 commit
    • Greg Kroah-Hartman's avatar
      USB: add USB test and measurement class driver · 5b775f67
      Greg Kroah-Hartman authored
      
      
      This driver was originaly written by Stefan Kopp, but massively
      reworked by Greg for submission.
      
      Thanks to Felipe Balbi <me@felipebalbi.com> for lots of work in cleaning
      up this driver.
      
      Thanks to Oliver Neukum <oliver@neukum.org> for reviewing previous
      versions and pointing out problems.
      
      
      Cc: Stefan Kopp <stefan_kopp@agilent.com>
      Cc: Marcel Janssen <korgull@home.nl>
      Cc: Felipe Balbi <me@felipebalbi.com>
      Cc: Oliver Neukum <oliver@neukum.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      5b775f67
  7. 13 Aug, 2008 1 commit
    • Wolfgang Mües's avatar
      usb: auerswald: remove driver (obsolete) · 88d987d6
      Wolfgang Mües authored
      
      
      This patch removes the auerswald USB driver from the linux kernel
      2.6.26.
      
      This driver was included into the kernel mainly to connect to the ISDN
      framework. This was done in linux 2.4.x. For 2.6.x, due to the fragile
      and moving ISDN support, this connection was never realized, and the
      only use of this driver was for device configuration. In the age of DSL,
      the demand of ISDN support is getting very low.
      
      Meanwhile, with the advent of libusb, an userspace driver was done for
      the device configuration which works fine for linux and mac. (Thanks to
      the libusb developers!). The userspace driver is downloadable from the
      auerswald web site.
      
      So this driver is obsolete now and has to be removed. Many thanks to all
      developers which helped me to bring this driver up and working.
      Signed-off-by: default avatarWolfgang Muees <wolfgang@iksw-muees.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      88d987d6
  8. 19 Oct, 2007 1 commit
  9. 01 Oct, 2007 1 commit
  10. 07 Dec, 2006 1 commit
  11. 29 Nov, 2006 1 commit
  12. 03 Oct, 2006 2 commits
  13. 27 Sep, 2006 1 commit
  14. 31 Jul, 2006 1 commit
  15. 25 Jun, 2006 1 commit
  16. 23 Jun, 2006 1 commit
  17. 15 May, 2006 1 commit
  18. 17 Nov, 2005 1 commit
  19. 25 Jun, 2005 1 commit
  20. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      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