summaryrefslogtreecommitdiffstats
path: root/xml/test
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-03-08 02:15:51 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-03-08 02:15:51 +0100
commiteec7e74d2eccf811f0d25bb40fa514dc47655d67 (patch)
tree1b2c199cb356da7fd299d5b53a632cf9a535ca3e /xml/test
parent92b9df25f5bbb2f70ee2626907e410affc02bdeb (diff)
downloadpcitool-eec7e74d2eccf811f0d25bb40fa514dc47655d67.tar.gz
pcitool-eec7e74d2eccf811f0d25bb40fa514dc47655d67.tar.bz2
pcitool-eec7e74d2eccf811f0d25bb40fa514dc47655d67.tar.xz
pcitool-eec7e74d2eccf811f0d25bb40fa514dc47655d67.zip
Support XML configuration of device models
Diffstat (limited to 'xml/test')
-rw-r--r--xml/test/camera.xml2
-rw-r--r--xml/test/dma.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/xml/test/camera.xml b/xml/test/camera.xml
index 6568f17..882963c 100644
--- a/xml/test/camera.xml
+++ b/xml/test/camera.xml
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <bank bar="0" size="0x0200" protocol="software_registers" read_address="0x9000" write_address="0x9000" word_size="32" endianess="little" format="0x%lx" name="fpga" description="IPECamera Registers">
+ <bank size="0x0200" protocol="software_registers" read_address="0x9000" write_address="0x9000" word_size="32" endianess="little" format="0x%lx" name="fpga" description="IPECamera Registers">
<register address="0x00" offset="0" size="32" default="0" rwmask="0" mode="RW" name="spi_conf_input"/>
<register address="0x10" offset="0" size="32" default="0" rwmask="0" mode="R" name="spi_conf_output"/>
<register address="0x20" offset="0" size="32" default="0" rwmask="0" mode="RW" name="spi_clk_speed"/>
diff --git a/xml/test/dma.xml b/xml/test/dma.xml
index 1d20725..582a7a3 100644
--- a/xml/test/dma.xml
+++ b/xml/test/dma.xml
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <bank bar="0" size="0x0200" protocol="software_registers" read_address="0x0" write_address="0x0" word_size="32" endianess="little" format="0x%lx" name="dma" description="DMA Registers"/>
+ <bank size="0x0200" protocol="software_registers" read_address="0x0" write_address="0x0" word_size="32" endianess="little" format="0x%lx" name="dma" description="DMA Registers"/>
</model>