]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: use vendor it from identify
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Nov 2015 08:59:44 +0000 (09:59 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:34 +0000 (13:40 -0700)
commitaf3ab29a309686debc44835e10a76864404a73a8
treea59cf37e0fc4544b468e7a72f768bc48f114995c
parent85c1509eb64bb3e8941b852845020ce4a7cd12cc
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>
(cherry picked from commit 01fec28a6f3ba96d4f46a538eae089dd92189fd1)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/scsi.c