From: Otavio Salvador <otavio@ossystems.com.br>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] Load tifm_sd and tifm_ms when tifm subsystem is found
Date: Sat, 28 Jul 2007 19:13:02 +0000 [thread overview]
Message-ID: <11856499821293-git-send-email-otavio@ossystems.com.br> (raw)
tifm subsystem do not depends on tifm_sd nor tifm_ms and then we need
to manually load them to get cards working. To workaround it, we load
both modules once tifm subsystem and the specific TIFM_CARD_TYPE are
loaded.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Cc: Alex Dubov <oakad@yahoo.com>
Cc: Marco d'Itri <md@linux.it>
---
etc/udev/debian/hotplug.rules | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/etc/udev/debian/hotplug.rules b/etc/udev/debian/hotplug.rules
index 0b2fc57..aa98a80 100644
--- a/etc/udev/debian/hotplug.rules
+++ b/etc/udev/debian/hotplug.rules
@@ -17,6 +17,9 @@ SUBSYSTEM="pcmcia_socket", RUN+="/sbin/modprobe pcmcia"
# rules for subsystems which lack proper hotplug support
SUBSYSTEM="i2o", RUN+="/sbin/modprobe i2o_block"
SUBSYSTEM="mmc", RUN+="/sbin/modprobe mmc_block"
+SUBSYSTEM="tifm", TIFM_CARD_TYPE="SD", RUN+="/sbin/modprobe tifm_sd"
+SUBSYSTEM="tifm", TIFM_CARD_TYPE="MS", RUN+="/sbin/modprobe tifm_ms"
+
SUBSYSTEM="scsi_device", ATTRS{type}="0|7|14", RUN+="/sbin/modprobe sd_mod"
SUBSYSTEM="scsi_device", ATTRS{type}="1", RUN+="/sbin/modprobe osst", \
--
1.5.3.GIT
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next reply other threads:[~2007-07-28 19:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-28 19:13 Otavio Salvador [this message]
2007-07-30 13:13 ` [PATCH] Load tifm_sd and tifm_ms when tifm subsystem is found Otavio Salvador
2007-07-30 13:20 ` Marco d'Itri
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=11856499821293-git-send-email-otavio@ossystems.com.br \
--to=otavio@ossystems.com.br \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).