diff options
author | zilio nicolas <nicolas.zilio@kit.edu> | 2015-07-01 16:18:45 +0200 |
---|---|---|
committer | zilio nicolas <nicolas.zilio@kit.edu> | 2015-07-01 16:18:45 +0200 |
commit | f82813bfa40193aec07e013b029eec6dc092ecdd (patch) | |
tree | 4f6b814177a0750b2c2c37aa2b2e47ffefc27255 /pcilib/bank.h | |
parent | e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55 (diff) | |
download | pcitool-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/bank.h')
-rw-r--r-- | pcilib/bank.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pcilib/bank.h b/pcilib/bank.h index a0ba9fe..e2174e9 100644 --- a/pcilib/bank.h +++ b/pcilib/bank.h @@ -62,6 +62,7 @@ typedef struct { const char *format; /**< printf format for the registers, either %lu for decimal output or 0x%lx for hexdecimal */ const char *name; /**< short bank name */ const char *description; /**< longer bank description */ + /* use it or not?*/ /*xmlNodePtr xmlNode;*/ /**<pointer to xmlNode of the bank in the file*/ } pcilib_register_bank_description_t; /** @@ -84,6 +85,7 @@ typedef struct { struct pcilib_register_bank_context_s { const pcilib_register_bank_description_t *bank; /**< Corresponding bank description */ const pcilib_register_protocol_api_description_t *api; /**< API functions */ + /*use it or not?*/ /*xmlNodeSetPtr banks_nodes;*/ }; #ifdef __cplusplus |