Commit 8d24e2da authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

test/nvme: support systems with non-0 PCI domains



Fix up a second copy of linux_iter_pci in the same manner as commit
6562e950 (scripts/setup.sh: support
systems where more than one domain is used).

Change-Id: I3d9b842891d70c2960de8287e3b11c1a11b02d1f
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 94a2bec4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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