/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcitool/cli.c

  • Committer: nicolas.zilio at hotmail
  • Date: 2015-09-15 18:11:02 UTC
  • mto: This revision was merged to the branch mainline in revision 307.
  • Revision ID: nicolas.zilio@hotmail.fr-20150915181102-e64mwgcm0e618xoy
bof....

Show diffs side-by-side

added added

removed removed

Lines of Context:
1320
1320
        
1321
1321
        format = "0x%lx";
1322
1322
    } else if((data) && !(regname)){
1323
 
      err = pcilib_write_view(handle,bank,reg,*data,0,NULL);
 
1323
      err = pcilib_write_view(handle,bank,reg,"name",0,*data);
1324
1324
      if(err) Error("can't write to the register using an enum view");
1325
1325
      else return 0;
1326
1326
    }