]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] Fix simscsi for new SCSI midlayer
authorPeter Chubb <peterc@gelato.unsw.edu.au>
Sun, 18 Sep 2005 23:36:12 +0000 (09:36 +1000)
committerTony Luck <tony.luck@intel.com>
Thu, 22 Sep 2005 17:42:39 +0000 (10:42 -0700)
commitf749f971f857aed6f635457e7fd931bfa5426ed4
treebdacedc3e5bdf6a638975d8e7a52f81e1e23abc9
parent1a554c42d70cff0eaed7434e464c2948e6d1dc38
[IA64] Fix simscsi for new SCSI midlayer

The sd driver now uses scsi_execute_req() for almost everything.
scsi_execute_req() converts requests into scatterlists.

Fix the HP SCSI disk simulator to understand scatterlists for
more commands.

Without this patch the current kernel will not boot on the simulator
(the disks are always detected as having no sectors, and so cannot be
mounted).

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/hp/sim/simscsi.c