public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Scott James Remnant <scott@canonical.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org
Subject: [PATCH 00/31] *** SUBJECT HERE ***
Date: Tue, 10 Mar 2009 16:23:48 +0000	[thread overview]
Message-ID: <cover.1236702228.git.scott@canonical.com> (raw)

module-init-tools on most distributions ships with a file that contains a
large list of aliases to auto-load modules on demand, either by matching
a MODALIAS string from the kernel uevent, or by the {block,char}-major-*
aliases requested by the kernel when device nodes are opened.

There are convenient macros for defining these inside the kernel modules
themselves, so they are exported by file2alias and put into the files
created by depmod.  This is far preferable to a file in another package
that has to be parsed every time modprobe is called (many, many times
on a typical boot) and may get out of date.

The majority of these are of the type that cause modules to be loaded
when devices are opened, which are not generally needed in a udev system.
If the maintainers feel they aren't warranted, so be it.

Some match network protocols instead, it'd be nice if they could be merged.

And one (sg) is a missing match from a device driver to a MODALIAS,
we'd definitely like that one to be merged.

Thanks!

Scott

Scott James Remnant (30):
  bridge: Auto-load bridge module when socket opened.
  netlink: Auto-load af_netlink module when socket opened.
  wanrouter: Auto-load wanrouter module when socket opened.
  netfilter: Auto-load ip_queue module when socket opened.
  netfilter: Auto-load ip6_queue module when socket opened.
  connector: Auto-load cn module when socket opened.
  scsi: Auto-load scsi_transport_iscsi module when socket opened.
  mtd: Auto-load ftl module when device opened.
  paride: Auto-load pcd module when device opened.
  paride: Auto-load pf module when device opened.
  mtd: Auto-load nftl module when device opened.
  input: Auto-load mousedev module when psaux device opened.
  input: Auto-load mousedev module when /dev/input/mice opened.
  hw_random: Auto-load rng-core module when device opened.
  sbus: Auto-load openprom module when device opened.
  applicom: Auto-load applicom module when device opened.
  toshiba: Auto-load toshiba module when device opened.
  cyclades: Auto-load cyclades module when device opened.
  riscom8: Auto-load riscom8 module when device opened.
  specialix: Auto-load specialix module when device opened.
  video: Auto-load videodev module when device opened.
  i2c: Auto-load i2c_dev module when device opened.
  mtd: Auto-load mtdchar module when device opened.
  paride: Auto-load pt module when device opened.
  paride: Auto-load pg module when device opened.
  usb: Auto-load cdc_acm module when device opened.
  x86: Auto-load msr module when device opened.
  x86: Auto-load cpuid module when device opened.
  mwave: Auto-load mwave module when device opened.
  scsi: Add scsi type modalias to ch.

Tim Gardner (1):
  esp: Auto-load esp module when device opened.

 arch/x86/kernel/cpuid.c             |    1 +
 arch/x86/kernel/msr.c               |    1 +
 drivers/block/paride/pcd.c          |    1 +
 drivers/block/paride/pf.c           |    1 +
 drivers/block/paride/pg.c           |    1 +
 drivers/block/paride/pt.c           |    1 +
 drivers/char/applicom.c             |    1 +
 drivers/char/cyclades.c             |    2 ++
 drivers/char/esp.c                  |    3 +++
 drivers/char/hw_random/core.c       |    1 +
 drivers/char/mwave/mwavedd.c        |    1 +
 drivers/char/riscom8.c              |    2 ++
 drivers/char/specialix.c            |    1 +
 drivers/char/toshiba.c              |    1 +
 drivers/connector/connector.c       |    2 ++
 drivers/i2c/i2c-dev.c               |    1 +
 drivers/input/mousedev.c            |    3 +++
 drivers/media/video/v4l2-dev.c      |    1 +
 drivers/mtd/ftl.c                   |    2 ++
 drivers/mtd/mtdchar.c               |    1 +
 drivers/mtd/nftlcore.c              |    2 ++
 drivers/sbus/char/openprom.c        |    1 +
 drivers/scsi/ch.c                   |    1 +
 drivers/scsi/scsi_transport_iscsi.c |    3 +++
 drivers/usb/class/cdc-acm.c         |    2 +-
 net/bridge/br.c                     |    2 ++
 net/ipv4/netfilter/ip_queue.c       |    2 ++
 net/ipv6/netfilter/ip6_queue.c      |    1 +
 net/netlink/af_netlink.c            |    2 ++
 net/wanrouter/wanmain.c             |    1 +
 30 files changed, 44 insertions(+), 1 deletions(-)


             reply	other threads:[~2009-03-10 16:53 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10 16:23 Scott James Remnant [this message]
2009-03-02 16:40 ` [PATCH 01/31] bridge: Auto-load bridge module when socket opened Scott James Remnant
2009-03-10 17:26   ` Stephen Hemminger
2009-03-13 21:27   ` David Miller
2009-03-13 22:12     ` Stephen Hemminger
2009-03-13 22:28       ` David Miller
2009-03-14 10:36     ` Scott James Remnant
2009-03-02 16:44 ` [PATCH 02/31] netlink: Auto-load af_netlink " Scott James Remnant
2009-03-13 21:26   ` David Miller
2009-03-02 16:47 ` [PATCH 03/31] wanrouter: Auto-load wanrouter " Scott James Remnant
2009-03-13 21:28   ` David Miller
2009-03-02 17:03 ` [PATCH 04/31] netfilter: Auto-load ip_queue " Scott James Remnant
2009-03-16 14:31   ` Patrick McHardy
2009-03-02 17:05 ` [PATCH 05/31] netfilter: Auto-load ip6_queue " Scott James Remnant
2009-03-16 14:30   ` Patrick McHardy
2009-03-02 17:06 ` [PATCH 06/31] connector: Auto-load cn " Scott James Remnant
2009-03-02 17:09 ` [PATCH 07/31] scsi: Auto-load scsi_transport_iscsi " Scott James Remnant
2009-03-02 17:38 ` [PATCH 08/31] mtd: Auto-load ftl module when device opened Scott James Remnant
2009-03-02 17:40 ` [PATCH 09/31] paride: Auto-load pcd " Scott James Remnant
2009-03-02 17:40 ` [PATCH 10/31] paride: Auto-load pf " Scott James Remnant
2009-03-02 17:43 ` [PATCH 11/31] mtd: Auto-load nftl " Scott James Remnant
2009-03-02 18:16 ` [PATCH 13/31] input: Auto-load mousedev module when /dev/input/mice opened Scott James Remnant
2009-03-02 18:20 ` [PATCH 14/31] hw_random: Auto-load rng-core module when device opened Scott James Remnant
2009-03-02 18:23 ` [PATCH 15/31] sbus: Auto-load openprom " Scott James Remnant
2009-03-13 21:30   ` David Miller
2009-03-02 18:24 ` [PATCH 16/31] applicom: Auto-load applicom " Scott James Remnant
2009-03-02 18:25 ` [PATCH 17/31] toshiba: Auto-load toshiba " Scott James Remnant
2009-03-02 18:32 ` [PATCH 18/31] cyclades: Auto-load cyclades " Scott James Remnant
2009-03-02 18:39 ` [PATCH 20/31] specialix: Auto-load specialix " Scott James Remnant
2009-03-10 16:58   ` Rogier Wolff
2009-03-02 18:40 ` [PATCH 21/31] video: Auto-load videodev " Scott James Remnant
2009-03-10 17:03   ` Matthias Schwarzott
2009-03-02 18:41 ` [PATCH 22/31] i2c: Auto-load i2c_dev " Scott James Remnant
2009-03-10 16:56   ` Jean Delvare
2009-03-10 17:00     ` Scott James Remnant
2009-03-02 18:42 ` [PATCH 23/31] mtd: Auto-load mtdchar " Scott James Remnant
2009-03-02 18:43 ` [PATCH 24/31] paride: Auto-load pt " Scott James Remnant
2009-03-02 18:45 ` [PATCH 25/31] paride: Auto-load pg " Scott James Remnant
2009-03-02 18:46 ` [PATCH 26/31] usb: Auto-load cdc_acm " Scott James Remnant
2009-03-10 17:08   ` Greg KH
2009-03-10 17:18     ` Scott James Remnant
2009-03-10 18:34       ` Kay Sievers
2009-03-02 18:48 ` [PATCH 27/31] x86: Auto-load msr " Scott James Remnant
2009-03-02 18:49 ` [PATCH 28/31] x86: Auto-load cpuid " Scott James Remnant
2009-03-03 15:32 ` [PATCH 12/31] input: Auto-load mousedev module when psaux " Scott James Remnant
2009-03-21  5:46   ` Dmitry Torokhov
2009-03-03 15:37 ` [PATCH 19/31] riscom8: Auto-load riscom8 module when " Scott James Remnant
2009-03-05  3:55 ` [PATCH 29/31] esp: Auto-load esp " Tim Gardner
2009-03-11 13:46   ` Alan Cox
2009-03-11 17:01     ` Tim Gardner
2009-03-05 15:31 ` [PATCH 30/31] mwave: Auto-load mwave " Scott James Remnant
2009-03-11 13:50   ` Alan Cox
2009-03-10 16:19 ` [PATCH 31/31] scsi: Add scsi type modalias to ch Scott James Remnant
2009-03-10 17:46 ` [PATCH 00/31] *** SUBJECT HERE *** Jean Delvare
2009-03-10 17:49   ` Scott James Remnant
2009-03-10 17:55     ` [PATCH 00/31] Add a lot of module alias statements Jean Delvare
2009-03-10 18:13       ` Scott James Remnant
2009-03-10 18:22         ` Kay Sievers
2009-03-10 20:38           ` Jean Delvare
2009-03-10 20:53             ` Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1236702228.git.scott@canonical.com \
    --to=scott@canonical.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox