diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-06-19 17:51:56 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-06-19 17:51:56 +0200 |
commit | 954583ac2ee8ec522a0283e6e3b249345c71a3e7 (patch) | |
tree | cdcef21dc7635ae04f17f4d48355583015267692 /dma/ipe.h | |
parent | 36385f1e83c7f6dd45954033b91d1871e62005c4 (diff) | |
parent | 907559d880de032deb31aa5e648c11029bbf9cce (diff) | |
download | pcitool-954583ac2ee8ec522a0283e6e3b249345c71a3e7.tar.gz pcitool-954583ac2ee8ec522a0283e6e3b249345c71a3e7.tar.bz2 pcitool-954583ac2ee8ec522a0283e6e3b249345c71a3e7.tar.xz pcitool-954583ac2ee8ec522a0283e6e3b249345c71a3e7.zip |
Integration of software registers
Diffstat (limited to 'dma/ipe.h')
-rw-r--r-- | dma/ipe.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,6 +39,7 @@ static const pcilib_dma_engine_description_t ipe_dma_engines[] = { static const pcilib_register_bank_description_t ipe_dma_banks[] = { { PCILIB_REGISTER_BANK_DMA, PCILIB_REGISTER_PROTOCOL_DEFAULT, PCILIB_BAR0, 0, 0, 32, 0x0200, PCILIB_LITTLE_ENDIAN, PCILIB_LITTLE_ENDIAN, "0x%lx", "dma", "DMA Registers"}, + { PCILIB_REGISTER_BANK_DMACONF, PCILIB_REGISTER_PROTOCOL_SOFTWARE, PCILIB_BAR_NOBAR, 0, 0, 32, 0x1000, PCILIB_HOST_ENDIAN, PCILIB_HOST_ENDIAN, "0x%lx", "dmaconf", "DMA Software Registers"}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL } }; @@ -77,6 +78,7 @@ static const pcilib_register_description_t ipe_dma_registers[] = { {0x0058, 0, 32, 0, 0x00000000, PCILIB_REGISTER_RW , PCILIB_REGISTER_STANDARD, PCILIB_REGISTER_BANK_DMA, "last_descriptor_read", "Last descriptor read by the host"}, {0x005C, 0, 32, 0, 0x00000000, PCILIB_REGISTER_RW , PCILIB_REGISTER_STANDARD, PCILIB_REGISTER_BANK_DMA, "desc_mem_addr", "Number of descriptors configured"}, {0x0060, 0, 32, 0, 0x00000000, PCILIB_REGISTER_RW , PCILIB_REGISTER_STANDARD, PCILIB_REGISTER_BANK_DMA, "update_thresh", "Update threshold of progress register"}, + {0x0000, 0, 32, PCILIB_VERSION, 0x00000000, PCILIB_REGISTER_R , PCILIB_REGISTER_STANDARD, PCILIB_REGISTER_BANK_DMACONF, "dma_version", "Version of DMA engine"}, {0, 0, 0, 0, 0x00000000, 0, 0, 0, NULL, NULL} }; #endif /* _PCILIB_EXPORT_C */ |