arcmsr: Split dma resource allocation to a new function
authorChing Huang <ching2048@areca.com.tw>
Thu, 26 Nov 2015 11:41:15 +0000 (19:41 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 30 Nov 2015 23:50:06 +0000 (18:50 -0500)
commit02040670aaa0f125259ad8f9f5f30e4d138a65ae
tree6724fc2521aa3f91af7dc4ce9252976d65737657
parentf75ab39a4be08b996ca19002bd7b54df8fdb8d10
arcmsr: Split dma resource allocation to a new function

Split dma resource allocation and io register assignment from get_config
to a new function arcmsr_alloc_io_queue.

Signed-off-by: Ching Huang <ching2048@areca.com.tw>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arcmsr/arcmsr_hba.c