|
@@ -7463,6 +7463,10 @@ static void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h)
|
|
|
if (hpsa_simple_mode)
|
|
|
return;
|
|
|
|
|
|
+ trans_support = readl(&(h->cfgtable->TransportSupport));
|
|
|
+ if (!(trans_support & PERFORMANT_MODE))
|
|
|
+ return;
|
|
|
+
|
|
|
/* Check for I/O accelerator mode support */
|
|
|
if (trans_support & CFGTBL_Trans_io_accel1) {
|
|
|
transMethod |= CFGTBL_Trans_io_accel1 |
|
|
@@ -7479,10 +7483,6 @@ static void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h)
|
|
|
}
|
|
|
|
|
|
/* TODO, check that this next line h->nreply_queues is correct */
|
|
|
- trans_support = readl(&(h->cfgtable->TransportSupport));
|
|
|
- if (!(trans_support & PERFORMANT_MODE))
|
|
|
- return;
|
|
|
-
|
|
|
h->nreply_queues = h->msix_vector > 0 ? h->msix_vector : 1;
|
|
|
hpsa_get_max_perf_mode_cmds(h);
|
|
|
/* Performant mode ring buffer and supporting data structures */
|