summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-04-29 05:25:08 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-04-29 05:25:08 +0200
commita740fcee56bd456a759e03526df476e1791fb2bd (patch)
tree150af9b0b67abee77ae304b6d20516d8673bf52a /tests
parent0f8c3ffba654a5b05fa509f412c0b9d9de931c69 (diff)
downloadpcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.gz
pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.bz2
pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.xz
pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.zip
Create dummy register context
Diffstat (limited to 'tests')
-rwxr-xr-xtests/new_device.sh5
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