sbp2: update 36byte inquiry workaround (fix compatibility regression)
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 15 Feb 2006 03:04:19 +0000 (22:04 -0500)
committerJody McIntyre <scjody@modernduck.com>
Thu, 23 Feb 2006 05:29:31 +0000 (00:29 -0500)
commita80614d1adba903a1e5cb22bf14ebc640fc2ba4c
tree353e980f946f22cd49805794da70ff221981a8fb
parent35bdddb83f62978b5fad82a14fbfd78cc3a5a60c
sbp2: update 36byte inquiry workaround (fix compatibility regression)

Since about Linux 2.6.14, sbp2's inquiry workaround did not work anymore
due to changes in the SCSI layer. Update it to become effective again.
Testing one of the two known affected bridges has shown that skip_ms_page_8
is required as well.

Also, make force_inquiry_hack tunable via /sys/module/sbp2/parameters.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jody McIntyre <scjody@modernduck.com>
(cherry picked from 99496037c6744fd938ffb8ccfc8fc91762322ff8 commit)
drivers/ieee1394/sbp2.c