Commit e73b2db6 authored by Huajun Li's avatar Huajun Li Committed by Greg Kroah-Hartman

usb: Disable dynamic id of USB storage subdrivers

Storage subdrivers, like alauda, datafab and others, don't support
dynamic  id currently, and it needs lots of work but with very little
gain to enable the feature, so disable them in the patch.
Signed-off-by: default avatarHuajun Li <huajun.li.lee@gmail.com>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2851784f
...@@ -1276,6 +1276,7 @@ static struct usb_driver alauda_driver = { ...@@ -1276,6 +1276,7 @@ static struct usb_driver alauda_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = alauda_usb_ids, .id_table = alauda_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(alauda_driver); module_usb_driver(alauda_driver);
...@@ -272,6 +272,7 @@ static struct usb_driver cypress_driver = { ...@@ -272,6 +272,7 @@ static struct usb_driver cypress_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = cypress_usb_ids, .id_table = cypress_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(cypress_driver); module_usb_driver(cypress_driver);
...@@ -751,6 +751,7 @@ static struct usb_driver datafab_driver = { ...@@ -751,6 +751,7 @@ static struct usb_driver datafab_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = datafab_usb_ids, .id_table = datafab_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(datafab_driver); module_usb_driver(datafab_driver);
...@@ -2407,6 +2407,7 @@ static struct usb_driver ene_ub6250_driver = { ...@@ -2407,6 +2407,7 @@ static struct usb_driver ene_ub6250_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = ene_ub6250_usb_ids, .id_table = ene_ub6250_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(ene_ub6250_driver); module_usb_driver(ene_ub6250_driver);
...@@ -553,6 +553,7 @@ static struct usb_driver freecom_driver = { ...@@ -553,6 +553,7 @@ static struct usb_driver freecom_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = freecom_usb_ids, .id_table = freecom_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(freecom_driver); module_usb_driver(freecom_driver);
...@@ -1566,6 +1566,7 @@ static struct usb_driver isd200_driver = { ...@@ -1566,6 +1566,7 @@ static struct usb_driver isd200_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = isd200_usb_ids, .id_table = isd200_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(isd200_driver); module_usb_driver(isd200_driver);
...@@ -677,6 +677,7 @@ static struct usb_driver jumpshot_driver = { ...@@ -677,6 +677,7 @@ static struct usb_driver jumpshot_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = jumpshot_usb_ids, .id_table = jumpshot_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(jumpshot_driver); module_usb_driver(jumpshot_driver);
...@@ -230,6 +230,7 @@ static struct usb_driver karma_driver = { ...@@ -230,6 +230,7 @@ static struct usb_driver karma_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = karma_usb_ids, .id_table = karma_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(karma_driver); module_usb_driver(karma_driver);
...@@ -312,6 +312,7 @@ static struct usb_driver onetouch_driver = { ...@@ -312,6 +312,7 @@ static struct usb_driver onetouch_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = onetouch_usb_ids, .id_table = onetouch_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(onetouch_driver); module_usb_driver(onetouch_driver);
...@@ -1100,6 +1100,7 @@ static struct usb_driver realtek_cr_driver = { ...@@ -1100,6 +1100,7 @@ static struct usb_driver realtek_cr_driver = {
.id_table = realtek_cr_ids, .id_table = realtek_cr_ids,
.soft_unbind = 1, .soft_unbind = 1,
.supports_autosuspend = 1, .supports_autosuspend = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(realtek_cr_driver); module_usb_driver(realtek_cr_driver);
...@@ -1787,6 +1787,7 @@ static struct usb_driver sddr09_driver = { ...@@ -1787,6 +1787,7 @@ static struct usb_driver sddr09_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = sddr09_usb_ids, .id_table = sddr09_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(sddr09_driver); module_usb_driver(sddr09_driver);
...@@ -1006,6 +1006,7 @@ static struct usb_driver sddr55_driver = { ...@@ -1006,6 +1006,7 @@ static struct usb_driver sddr55_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = sddr55_usb_ids, .id_table = sddr55_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(sddr55_driver); module_usb_driver(sddr55_driver);
...@@ -1863,6 +1863,7 @@ static struct usb_driver usbat_driver = { ...@@ -1863,6 +1863,7 @@ static struct usb_driver usbat_driver = {
.post_reset = usb_stor_post_reset, .post_reset = usb_stor_post_reset,
.id_table = usbat_usb_ids, .id_table = usbat_usb_ids,
.soft_unbind = 1, .soft_unbind = 1,
.no_dynamic_id = 1,
}; };
module_usb_driver(usbat_driver); module_usb_driver(usbat_driver);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment