irq.h 392 B

1234567891011121314151617181920
  1. #ifndef _irq_h
  2. #define _irq_h
  3. struct irq_s {
  4. int irq;
  5. char *desc; /* IRQ text description */
  6. };
  7. typedef struct irq_s irq_t;
  8. #define SYSFS_PCI_PATH "/sys/bus/pci/devices"
  9. /* Compare function for global IRQ list */
  10. int irq_list_compare(const void *first, const void *second);
  11. /* IRQ list functions */
  12. int irq_list_populate(lub_list_t *irqs);
  13. int irq_list_free(lub_list_t *irqs);
  14. #endif