summaryrefslogtreecommitdiffstats
path: root/pcitool
diff options
context:
space:
mode:
authorzilio nicolas <nicolas.zilio@kit.edu>2015-07-03 12:32:07 +0200
committerzilio nicolas <nicolas.zilio@kit.edu>2015-07-03 12:32:07 +0200
commit01e63939789b7b6f195bf985dc06151cf5ee780b (patch)
treee9e504439f2bc51a809a5c65d20df71b72e18e79 /pcitool
parentf82813bfa40193aec07e013b029eec6dc092ecdd (diff)
downloadpcitool-01e63939789b7b6f195bf985dc06151cf5ee780b.tar.gz
pcitool-01e63939789b7b6f195bf985dc06151cf5ee780b.tar.bz2
pcitool-01e63939789b7b6f195bf985dc06151cf5ee780b.tar.xz
pcitool-01e63939789b7b6f195bf985dc06151cf5ee780b.zip
modified version to include future functions
Diffstat (limited to 'pcitool')
-rw-r--r--pcitool/cli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcitool/cli.c b/pcitool/cli.c
index f105349..49d13ee 100644
--- a/pcitool/cli.c
+++ b/pcitool/cli.c
@@ -3128,9 +3128,6 @@ int main(int argc, char **argv) {
// Requesting real-time priority when needed
switch (mode) {
- case MODE_VALIDATE_XML:
- validation();
- break;
case MODE_READ:
case MODE_WRITE:
if (amode != ACCESS_DMA)
@@ -3146,6 +3143,9 @@ int main(int argc, char **argv) {
}
switch (mode) {
+ case MODE_VALIDATE_XML:
+ validation();
+ break;
case MODE_INFO:
Info(handle, model_info);
break;