Commit 6562e950 authored by Cunyin Chang's avatar Cunyin Chang Committed by Daniel Verkamp
Browse files

scripts/setup.sh: support systems where more than one domain is used



Change-Id: I38aab093f3d06797e0d69f75978df47c72d279f7
Signed-off-by: default avatarCunyin Chang <cunyin.chang@intel.com>
parent e2bf0675
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ function linux_iter_pci {
	# Argument is the class code
	# TODO: More specifically match against only class codes in the grep
	# step.
	lspci -mm -n | grep $1 | tr -d '"' | awk -F " " '{print "0000:"$1}'
	lspci -mm -n -D | grep $1 | tr -d '"' | awk -F " " '{print $1}'
}

function linux_bind_driver() {