]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libosd: OSDv2 auto detection
authorBoaz Harrosh <bharrosh@panasas.com>
Sun, 25 Jan 2009 15:13:38 +0000 (17:13 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:08 +0000 (12:58 -0500)
commitace6adec1537bfe6a39f09db7922ead98c7cdc28
treec0e17494a5eb8f8701d3674afff26b91ccf593b3
parente6b14fc8777248ca413275f5015cf79e93974656
[SCSI] libosd: OSDv2 auto detection

Auto detect an OSDv2 or OSDv1 target at run time. Note how none
of the OSD API calls change. The tests do not know what device
version it is.

This test now passes against both the IBM-OSD-SIM OSD1 target
as well as OSC's OSD2 target.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Reviewed-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/osd/osd_initiator.c
drivers/scsi/osd/osd_uld.c
include/scsi/osd_initiator.h