/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 cli.c

  • Committer: Suren A. Chilingaryan
  • Date: 2011-07-12 12:39:06 UTC
  • Revision ID: csa@dside.dyndns.org-20110712123906-4tas2h34i0b2tkp8
Provide IRQ enable/disable call

Show diffs side-by-side

added added

removed removed

Lines of Context:
906
906
    int err;
907
907
    size_t count;
908
908
    
909
 
    err = pcilib_enable_irq(handle, 0);
 
909
    err = pcilib_enable_irq(handle, PCILIB_EVENT_IRQ, 0);
910
910
    if (err) Error("Error enabling IRQs");
911
911
 
912
912
    err = pcilib_wait_irq(handle, irq_source, timeout, &count);