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 <daniel.verkamp@intel.com>
This commit is contained in:
parent
94a2bec4a8
commit
8d24e2da5b
@ -7,7 +7,7 @@ rootdir=$(readlink -f $testdir/../../..)
|
|||||||
source $rootdir/scripts/autotest_common.sh
|
source $rootdir/scripts/autotest_common.sh
|
||||||
|
|
||||||
function linux_iter_pci {
|
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
|
timing_enter nvme
|
||||||
|
Loading…
x
Reference in New Issue
Block a user