* [PATCH] Load tifm_sd and tifm_ms when tifm subsystem is found
@ 2007-07-28 19:13 Otavio Salvador
2007-07-30 13:13 ` Otavio Salvador
2007-07-30 13:20 ` Marco d'Itri
0 siblings, 2 replies; 3+ messages in thread
From: Otavio Salvador @ 2007-07-28 19:13 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] Load tifm_sd and tifm_ms when tifm subsystem is found
2007-07-28 19:13 [PATCH] Load tifm_sd and tifm_ms when tifm subsystem is found Otavio Salvador
@ 2007-07-30 13:13 ` Otavio Salvador
2007-07-30 13:20 ` Marco d'Itri
1 sibling, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2007-07-30 13:13 UTC (permalink / raw)
To: linux-hotplug
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..898d273 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", ENV{TIFM_CARD_TYPE}="SD", RUN+="/sbin/modprobe tifm_sd"
+SUBSYSTEM="tifm", ENV{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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Load tifm_sd and tifm_ms when tifm subsystem is found
2007-07-28 19:13 [PATCH] Load tifm_sd and tifm_ms when tifm subsystem is found Otavio Salvador
2007-07-30 13:13 ` Otavio Salvador
@ 2007-07-30 13:20 ` Marco d'Itri
1 sibling, 0 replies; 3+ messages in thread
From: Marco d'Itri @ 2007-07-30 13:20 UTC (permalink / raw)
To: linux-hotplug
On Jul 30, Otavio Salvador <otavio@ossystems.com.br> wrote:
> diff --git a/etc/udev/debian/hotplug.rules b/etc/udev/debian/hotplug.rules
I will provide later a diff with up to date debian rules files.
--
ciao,
Marco
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-30 13:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-28 19:13 [PATCH] Load tifm_sd and tifm_ms when tifm subsystem is found Otavio Salvador
2007-07-30 13:13 ` Otavio Salvador
2007-07-30 13:20 ` Marco d'Itri
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).