NVMe: make setup work for devices that don't do INTx
authorJens Axboe <axboe@fb.com>
Fri, 14 Nov 2014 16:49:26 +0000 (09:49 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 19 Nov 2014 19:46:17 +0000 (12:46 -0700)
commite32efbfc35c1b06f1bfe3e6d737acdd14d27baed
tree9bf27a8af281e65bad379c641529399f300320ad
parentb3521729769ec71567a2e32a38609f87e781e41b
NVMe: make setup work for devices that don't do INTx

The setup/probe part currently relies on INTx being there and
working, that's not always the case. For devices that don't
advertise INTx, enable a single MSIx vector early on and disable
it again before we ask for our full range of queue vecs.

Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c