scripts/setup.sh: support systems where more than one domain is used
Change-Id: I38aab093f3d06797e0d69f75978df47c72d279f7 Signed-off-by: Cunyin Chang <cunyin.chang@intel.com>
This commit is contained in:
parent
e2bf067577
commit
6562e95092
@ -8,7 +8,7 @@ function linux_iter_pci {
|
|||||||
# Argument is the class code
|
# Argument is the class code
|
||||||
# TODO: More specifically match against only class codes in the grep
|
# TODO: More specifically match against only class codes in the grep
|
||||||
# step.
|
# 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() {
|
function linux_bind_driver() {
|
||||||
|
Loading…
Reference in New Issue
Block a user