aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/storage/sierra_ms.h
diff options
context:
space:
mode:
authorKevin Lloyd <klloyd@sierrawireless.com>2008-07-10 14:14:57 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-13 17:32:51 -0700
commit32fe5e393455d87db4988af03915634304870fb4 (patch)
tree79040d3b0f6d6adcf0fa764b4d935d1d77c7a80c /drivers/usb/storage/sierra_ms.h
parent0585e4dfe5670d3ccb77bf86551a657699e9e52e (diff)
USB Storage Sierra: TRU-Install feature update
This patch upgrades the support for the Sierra Wireless TRU-Install feature (i.e. zeroCD) to allow for future support of Linux enabled TRU-Install devices. By default all devices that do not have a Linux enabled TRU-Install device (i.e. the device does not have a Linux package on the virtual CD partition) will be switched into "modem mode." Devices that do contain a Linux package in the TRU-Install virtual CD will be allowed to enumerate as a CD-Rom so that either (a) a user can install the packaged software or (b) a user-space application (e.g. udev) can switch it to modem mode. This patch does allow for manual override by adding a usb-storage module parameter 'swi_tru_install' which can force the modem into either mode regardless of what packages it contains. Signed-off-by: Kevin Lloyd <klloyd@sierrawireless.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/sierra_ms.h')
-rw-r--r--drivers/usb/storage/sierra_ms.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/storage/sierra_ms.h b/drivers/usb/storage/sierra_ms.h
new file mode 100644
index 00000000000..bb48634ac1f
--- /dev/null
+++ b/drivers/usb/storage/sierra_ms.h
@@ -0,0 +1,4 @@
+#ifndef _SIERRA_MS_H_
+#define _SIERRA_MS_H_
+extern int sierra_ms_init(struct us_data *us);
+#endif