Skip to content

Commit a8e9d83

Browse files
JasonChenCJlijinxia
authored andcommitted
samples: change WIFI BDF to 3:0:0
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>
1 parent 00bfde3 commit a8e9d83

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

devicemodel/samples/apl-mrb/launch_uos.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,10 @@ echo "8086 5aca" > /sys/bus/pci/drivers/pci-stub/new_id
199199
echo "0000:00:1b.0" > /sys/bus/pci/devices/0000:00:1b.0/driver/unbind
200200
echo "0000:00:1b.0" > /sys/bus/pci/drivers/pci-stub/bind
201201

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

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

0 commit comments

Comments
 (0)