21 #include <linux/pci.h>
28 #define vnic_intr_unmask fnic_intr_unmask
29 #define vnic_intr_mask fnic_intr_mask
30 #define vnic_intr_return_credits fnic_intr_return_credits
31 #define vnic_intr_credits fnic_intr_credits
32 #define vnic_intr_return_all_credits fnic_intr_return_all_credits
33 #define vnic_intr_legacy_pba fnic_intr_legacy_pba
34 #define vnic_intr_free fnic_intr_free
35 #define vnic_intr_alloc fnic_intr_alloc
36 #define vnic_intr_init fnic_intr_init
37 #define vnic_intr_clean fnic_intr_clean
39 #define VNIC_INTR_TIMER_MAX 0xffff
41 #define VNIC_INTR_TIMER_TYPE_ABS 0
42 #define VNIC_INTR_TIMER_TYPE_QUIET 1
81 #define VNIC_INTR_UNMASK_SHIFT 16
82 #define VNIC_INTR_RESET_TIMER_SHIFT 17
85 (unmask ? (1 << VNIC_INTR_UNMASK_SHIFT) : 0) |
86 (reset_timer ? (1 << VNIC_INTR_RESET_TIMER_SHIFT) : 0);