diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-07-29 13:48:28 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-09-17 13:31:08 -0400 |
commit | a1b3206b362335f7986d1fab294c16148a8c50ab (patch) | |
tree | 6b8c95df1cc380ba04adbb814058f2f6cd6afa57 | |
parent | 8df4083c5291b3647e0381d3c69ab2196f5dd3b7 (diff) |
the scheduled removal of drivers/ieee1394/sbp2.c:force_inquiry_hack
This patch contains the scheduled removal of the force_inquiry_hack
module parameter.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 9 | ||||
-rw-r--r-- | drivers/ieee1394/sbp2.c | 10 |
2 files changed, 0 insertions, 19 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index d1cd5f93e028..d0e7917b30fb 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -31,15 +31,6 @@ Who: Jody McIntyre <scjody@modernduck.com> | |||
31 | 31 | ||
32 | --------------------------- | 32 | --------------------------- |
33 | 33 | ||
34 | What: sbp2: module parameter "force_inquiry_hack" | ||
35 | When: July 2006 | ||
36 | Why: Superceded by parameter "workarounds". Both parameters are meant to be | ||
37 | used ad-hoc and for single devices only, i.e. not in modprobe.conf, | ||
38 | therefore the impact of this feature replacement should be low. | ||
39 | Who: Stefan Richter <stefanr@s5r6.in-berlin.de> | ||
40 | |||
41 | --------------------------- | ||
42 | |||
43 | What: Video4Linux API 1 ioctls and video_decoder.h from Video devices. | 34 | What: Video4Linux API 1 ioctls and video_decoder.h from Video devices. |
44 | When: July 2006 | 35 | When: July 2006 |
45 | Why: V4L1 AP1 was replaced by V4L2 API. during migration from 2.4 to 2.6 | 36 | Why: V4L1 AP1 was replaced by V4L2 API. during migration from 2.4 to 2.6 |
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c index 6adbe1c796c2..1c8ce7acba82 100644 --- a/drivers/ieee1394/sbp2.c +++ b/drivers/ieee1394/sbp2.c | |||
@@ -173,11 +173,6 @@ MODULE_PARM_DESC(workarounds, "Work around device bugs (default = 0" | |||
173 | ", override internal blacklist = " __stringify(SBP2_WORKAROUND_OVERRIDE) | 173 | ", override internal blacklist = " __stringify(SBP2_WORKAROUND_OVERRIDE) |
174 | ", or a combination)"); | 174 | ", or a combination)"); |
175 | 175 | ||
176 | /* legacy parameter */ | ||
177 | static int force_inquiry_hack; | ||
178 | module_param(force_inquiry_hack, int, 0644); | ||
179 | MODULE_PARM_DESC(force_inquiry_hack, "Deprecated, use 'workarounds'"); | ||
180 | |||
181 | /* | 176 | /* |
182 | * Export information about protocols/devices supported by this driver. | 177 | * Export information about protocols/devices supported by this driver. |
183 | */ | 178 | */ |
@@ -1554,11 +1549,6 @@ static void sbp2_parse_unit_directory(struct scsi_id_instance_data *scsi_id, | |||
1554 | } | 1549 | } |
1555 | 1550 | ||
1556 | workarounds = sbp2_default_workarounds; | 1551 | workarounds = sbp2_default_workarounds; |
1557 | if (force_inquiry_hack) { | ||
1558 | SBP2_WARN("force_inquiry_hack is deprecated. " | ||
1559 | "Use parameter 'workarounds' instead."); | ||
1560 | workarounds |= SBP2_WORKAROUND_INQUIRY_36; | ||
1561 | } | ||
1562 | 1552 | ||
1563 | if (!(workarounds & SBP2_WORKAROUND_OVERRIDE)) | 1553 | if (!(workarounds & SBP2_WORKAROUND_OVERRIDE)) |
1564 | for (i = 0; i < ARRAY_SIZE(sbp2_workarounds_table); i++) { | 1554 | for (i = 0; i < ARRAY_SIZE(sbp2_workarounds_table); i++) { |