cciss: change to discover first memory BAR
authorMike Miller <mike.miller@hp.com>
Thu, 2 Apr 2009 19:50:56 +0000 (12:50 -0700)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 7 Apr 2009 06:12:38 +0000 (08:12 +0200)
commite143858104e318263689c551543dfc3f186cea12
tree96d2bf9cc01931c9f8e4f93d5f200ad1b05cb890
parent0a9279cc7cbe726e995c44a1acae81d446775816
cciss: change to discover first memory BAR

Add a method for discovering the first memory BAR.  All Smart Array
controllers to date have always had the the memory BAR as the first BAR.
A new controller to be released later this year breaks that model.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss.c