UserFaq changed

Updated PCI-back-to-dom0 instructions
This commit is contained in:
Axon 2014-05-30 05:13:23 +00:00
parent 9d454f061b
commit 60e116086c

View File

@ -152,12 +152,13 @@ This is an intended feature. A device which was previously assigned to a less tr
or or
1. Go to the sysfs (`/sys/bus/pci`), find the right device, detach it from the pciback driver and attach back to the `ehci-pci`/`ehci-hcd` (`ehci-pci` on newer kernels). Assume that `00:1c.2` is your device: 1. Go to the sysfs (`/sys/bus/pci`), find the right device, detach it from the pciback driver and attach back to the original driver. Replace `<BDF>` with your device, for example `00:1c.2`:
``` {.wiki} ``` {.wiki}
cd /sys/bus/pci/devices/0000:00:1c.2 echo 0000:<BDF> > /sys/bus/pci/drivers/pciback/unbind
echo 0000:00:1c.2 > driver/unbind MODALIAS=`cat /sys/bus/pci/devices/0000:<BDF>/modalias`
echo 0000:00:1c.2 > ../../drivers/ehci-pci/bind MOD=`modprobe -R $MODALIAS | head -n 1`
echo <BDF> > /sys/bus/pci/drivers/$MOD/bind
``` ```