From mboxrd@z Thu Jan 1 00:00:00 1970 From: Otavio Salvador Date: Sat, 28 Jul 2007 19:13:02 +0000 Subject: [PATCH] Load tifm_sd and tifm_ms when tifm subsystem is found Message-Id: <11856499821293-git-send-email-otavio@ossystems.com.br> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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 Cc: Alex Dubov Cc: Marco d'Itri --- 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