[SCSI] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 21 Sep 2007 22:29:36 +0000 (08:29 +1000)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:49:26 +0000 (14:49 -0400)
commitd3849d512fb0ca1e369e3efcaec910a949f55f62
tree52b79dd6cd4fe8835ad46b35083edf803c5180b5
parent5307b1e8b050f309901acc9c6121061206a70ba5
[SCSI] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel

If you build a multiplatform kernel for iSeries and pSeries, with
ibmvscsic support, the resulting client doesn't work on iSeries.

This fixes that, using the appropriate low-level operations
for the machine detected at runtime.

[jejb: fixed up rejections around the srp transport patch]

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ibmvscsi/Makefile
drivers/scsi/ibmvscsi/ibmvscsi.c
drivers/scsi/ibmvscsi/ibmvscsi.h
drivers/scsi/ibmvscsi/iseries_vscsi.c
drivers/scsi/ibmvscsi/rpa_vscsi.c