From 8d24e2da5b8c8345e35f0b16fc75211ff47e0b70 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 10 May 2017 16:39:36 -0700 Subject: [PATCH] test/nvme: support systems with non-0 PCI domains Fix up a second copy of linux_iter_pci in the same manner as commit 6562e9509291af684eeafc1a17d3dfc6ce4fda65 (scripts/setup.sh: support systems where more than one domain is used). Change-Id: I3d9b842891d70c2960de8287e3b11c1a11b02d1f Signed-off-by: Daniel Verkamp --- test/lib/nvme/nvme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/nvme/nvme.sh b/test/lib/nvme/nvme.sh index 7c9cf64f6..dd6336604 100755 --- a/test/lib/nvme/nvme.sh +++ b/test/lib/nvme/nvme.sh @@ -7,7 +7,7 @@ rootdir=$(readlink -f $testdir/../../..) source $rootdir/scripts/autotest_common.sh function linux_iter_pci { - lspci -mm -n | grep $1 | tr -d '"' | awk -F " " '{print "0000:"$1}' + lspci -mm -n -D | grep $1 | tr -d '"' | awk -F " " '{print $1}' } timing_enter nvme