[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)
commit83a78d9ba792660418d692fd6737871aefdbff36
treebdacedc3e5bdf6a638975d8e7a52f81e1e23abc9
parent0fc084eaffe0a9a82a0c94da9ee9f7060ade8b04
[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