diff options
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvscsi.c')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvscsi.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index 3d391dc3f11..e984951baeb 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.c +++ b/drivers/scsi/ibmvscsi/ibmvscsi.c | |||
@@ -55,13 +55,7 @@ | |||
55 | * and sends a CRQ message back to inform the client that the request has | 55 | * and sends a CRQ message back to inform the client that the request has |
56 | * completed. | 56 | * completed. |
57 | * | 57 | * |
58 | * Note that some of the underlying infrastructure is different between | 58 | * TODO: This is currently pretty tied to the IBM pSeries hypervisor |
59 | * machines conforming to the "RS/6000 Platform Architecture" (RPA) and | ||
60 | * the older iSeries hypervisor models. To support both, some low level | ||
61 | * routines have been broken out into rpa_vscsi.c and iseries_vscsi.c. | ||
62 | * The Makefile should pick one, not two, not zero, of these. | ||
63 | * | ||
64 | * TODO: This is currently pretty tied to the IBM i/pSeries hypervisor | ||
65 | * interfaces. It would be really nice to abstract this above an RDMA | 59 | * interfaces. It would be really nice to abstract this above an RDMA |
66 | * layer. | 60 | * layer. |
67 | */ | 61 | */ |
@@ -2085,9 +2079,7 @@ int __init ibmvscsi_module_init(void) | |||
2085 | driver_template.can_queue = max_requests; | 2079 | driver_template.can_queue = max_requests; |
2086 | max_events = max_requests + 2; | 2080 | max_events = max_requests + 2; |
2087 | 2081 | ||
2088 | if (firmware_has_feature(FW_FEATURE_ISERIES)) | 2082 | if (firmware_has_feature(FW_FEATURE_VIO)) |
2089 | ibmvscsi_ops = &iseriesvscsi_ops; | ||
2090 | else if (firmware_has_feature(FW_FEATURE_VIO)) | ||
2091 | ibmvscsi_ops = &rpavscsi_ops; | 2083 | ibmvscsi_ops = &rpavscsi_ops; |
2092 | else | 2084 | else |
2093 | return -ENODEV; | 2085 | return -ENODEV; |