]> asedeno.scripts.mit.edu Git - linux.git/commit
nvme: use vendor it from identify
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Nov 2015 08:59:44 +0000 (09:59 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 17:59:38 +0000 (10:59 -0700)
commit01fec28a6f3ba96d4f46a538eae089dd92189fd1
tree727c0cf65913b62484ca8fe0502cd173b6d1b953
parentbf7d3ebbd219d8ad948e812d03e1decfd96c97d0
nvme: use vendor it from identify

Use the vendor ID from the identify data instead of the PCI device to
make the SCSI translation layer independent from the PCI driver.  The NVMe
spec defines them as having the same value for current PCIe devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/scsi.c