dracut: fix assigning devices to xen-pciback

This commit is contained in:
Marek Marczykowski-Górecki 2015-07-01 07:16:59 +02:00
parent 8acd40905d
commit 4ce5e04d7e

View File

@ -20,6 +20,6 @@ for dev in $HIDE_PCI; do
if [ -e /sys/bus/pci/devices/$BDF/driver ]; then if [ -e /sys/bus/pci/devices/$BDF/driver ]; then
echo -n $BDF > /sys/bus/pci/devices/$BDF/driver/unbind echo -n $BDF > /sys/bus/pci/devices/$BDF/driver/unbind
fi fi
echo -n $BDF > /sys/bus/pci/drivers/pciback/new_id echo -n $BDF > /sys/bus/pci/drivers/pciback/new_slot
echo -n $BDF > /sys/bus/pci/drivers/pciback/bind echo -n $BDF > /sys/bus/pci/drivers/pciback/bind
done done