diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-04-29 05:25:08 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-04-29 05:25:08 +0200 |
commit | a740fcee56bd456a759e03526df476e1791fb2bd (patch) | |
tree | 150af9b0b67abee77ae304b6d20516d8673bf52a /tests | |
parent | 0f8c3ffba654a5b05fa509f412c0b9d9de931c69 (diff) | |
download | pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.gz pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.bz2 pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.xz pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.zip |
Create dummy register context
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/new_device.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/new_device.sh b/tests/new_device.sh index 3545321..e3f8f8a 100755 --- a/tests/new_device.sh +++ b/tests/new_device.sh @@ -1,3 +1,6 @@ #! /bin/bash -echo "10ee 6028" > /sys/bus/pci/drivers/pciDriver/new_id +#Add new device to the driver +#echo "10ee 6028" > /sys/bus/pci/drivers/pciDriver/new_id +#Enable bus mastering +#setpci -s 03:00.0 4.w=0x07 |