summaryrefslogtreecommitdiffstats
path: root/pcilib/register.h
diff options
context:
space:
mode:
authorzilio nicolas <nicolas.zilio@kit.edu>2015-07-01 16:18:45 +0200
committerzilio nicolas <nicolas.zilio@kit.edu>2015-07-01 16:18:45 +0200
commitf82813bfa40193aec07e013b029eec6dc092ecdd (patch)
tree4f6b814177a0750b2c2c37aa2b2e47ffefc27255 /pcilib/register.h
parente2515f6e1a7b17addda4c558a0a6ca05b4ec6e55 (diff)
downloadpcitool-f82813bfa40193aec07e013b029eec6dc092ecdd.tar.gz
pcitool-f82813bfa40193aec07e013b029eec6dc092ecdd.tar.bz2
pcitool-f82813bfa40193aec07e013b029eec6dc092ecdd.tar.xz
pcitool-f82813bfa40193aec07e013b029eec6dc092ecdd.zip
registers and banks support in xml v1. pci -ll works fine, but got segfault on pci -r name and pci -r name gives 0 always. might be due to the order in pci.c ------> ask suren
Diffstat (limited to 'pcilib/register.h')
-rw-r--r--pcilib/register.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pcilib/register.h b/pcilib/register.h
index 535e9d0..fc13e6a 100644
--- a/pcilib/register.h
+++ b/pcilib/register.h
@@ -40,11 +40,13 @@ typedef struct {
const char *name; /**< The access name of the register */
const char *description; /**< Brief description of the register */
+ /* use it or not? */ /*xmlNodePtr xmlNode;*/ /**<pointer to the corresponding node in the xml file*/
} pcilib_register_description_t;
typedef struct {
pcilib_register_bank_t bank;
+ /* use it or not?*/ /*xmlNodeSetPtr registers_nodes;*/
} pcilib_register_context_t;