aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/reg.h
diff options
context:
space:
mode:
authorSujith Manoharan <Sujith.Manoharan@atheros.com>2011-02-21 07:47:52 +0530
committerJohn W. Linville <linville@tuxdriver.com>2011-02-23 16:25:25 -0500
commit36bcce430657e6fece0e8dd91557f35dbb69ec67 (patch)
treecfd67c41f810b96b738994eb1206578ed2a880ef /drivers/net/wireless/ath/ath9k/reg.h
parentmwl8k: Invert tx queues for set_hw_spec and set_edca_params (diff)
downloadlinux-dev-36bcce430657e6fece0e8dd91557f35dbb69ec67.tar.xz
linux-dev-36bcce430657e6fece0e8dd91557f35dbb69ec67.zip
ath9k_htc: Handle storage devices
Some AR7010 based devices are recognized as storage media. Sending a CD-EJECT command to the device will 'convert' it into a WLAN device. Do this within the driver itself, removing the dependancy on an external program (usb_modeswitch). Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/reg.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h
index 64b226a78b2e..8fa8acfde62e 100644
--- a/drivers/net/wireless/ath/ath9k/reg.h
+++ b/drivers/net/wireless/ath/ath9k/reg.h
@@ -878,6 +878,7 @@
enum ath_usb_dev {
AR9280_USB = 1, /* AR7010 + AR9280, UB94 */
AR9287_USB = 2, /* AR7010 + AR9287, UB95 */
+ STORAGE_DEVICE = 3,
};
#define AR_DEVID_7010(_ah) \