Skip to content

Commit

Permalink
samples: change WIFI BDF to 3:0:0
Browse files Browse the repository at this point in the history
SBL used to use 4:0:0 for WIFI device BDF, now it change back to 3:0:0

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
  • Loading branch information
JasonChenCJ authored and lijinxia committed Aug 1, 2018
1 parent 00bfde3 commit a8e9d83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions devicemodel/samples/apl-mrb/launch_uos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ echo "8086 5aca" > /sys/bus/pci/drivers/pci-stub/new_id
echo "0000:00:1b.0" > /sys/bus/pci/devices/0000:00:1b.0/driver/unbind
echo "0000:00:1b.0" > /sys/bus/pci/drivers/pci-stub/bind

# WIFI is 4:0.0 on SBL, and 3:0.0 on ABL
# WIFI
echo "11ab 2b38" > /sys/bus/pci/drivers/pci-stub/new_id
echo "0000:04:00.0" > /sys/bus/pci/devices/0000:04:00.0/driver/unbind
echo "0000:04:00.0" > /sys/bus/pci/drivers/pci-stub/bind
echo "0000:03:00.0" > /sys/bus/pci/devices/0000:03:00.0/driver/unbind
echo "0000:03:00.0" > /sys/bus/pci/drivers/pci-stub/bind

# Bluetooth passthrough depends on WIFI
echo "8086 5abc" > /sys/bus/pci/drivers/pci-stub/new_id
Expand Down Expand Up @@ -289,7 +289,7 @@ fi
-s 15,passthru,0/f/0 \
-s 27,passthru,0/1b/0 \
-s 24,passthru,0/18/0 \
-s 18,passthru,4/0/0,keep_gsi \
-s 18,passthru,3/0/0,keep_gsi \
$boot_ipu_option \
-i /run/acrn/ioc_$vm_name,0x20 \
-l com2,/run/acrn/ioc_$vm_name \
Expand Down

0 comments on commit a8e9d83

Please sign in to comment.