diff options
Diffstat (limited to 'drivers/net/enic/vnic_intr.h')
-rw-r--r-- | drivers/net/enic/vnic_intr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/enic/vnic_intr.h b/drivers/net/enic/vnic_intr.h index 9a53604edce6..2fe6c6339e3c 100644 --- a/drivers/net/enic/vnic_intr.h +++ b/drivers/net/enic/vnic_intr.h | |||
@@ -61,6 +61,7 @@ static inline void vnic_intr_unmask(struct vnic_intr *intr) | |||
61 | static inline void vnic_intr_mask(struct vnic_intr *intr) | 61 | static inline void vnic_intr_mask(struct vnic_intr *intr) |
62 | { | 62 | { |
63 | iowrite32(1, &intr->ctrl->mask); | 63 | iowrite32(1, &intr->ctrl->mask); |
64 | (void)ioread32(&intr->ctrl->mask); | ||
64 | } | 65 | } |
65 | 66 | ||
66 | static inline void vnic_intr_return_credits(struct vnic_intr *intr, | 67 | static inline void vnic_intr_return_credits(struct vnic_intr *intr, |
@@ -101,6 +102,8 @@ int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, | |||
101 | unsigned int index); | 102 | unsigned int index); |
102 | void vnic_intr_init(struct vnic_intr *intr, unsigned int coalescing_timer, | 103 | void vnic_intr_init(struct vnic_intr *intr, unsigned int coalescing_timer, |
103 | unsigned int coalescing_type, unsigned int mask_on_assertion); | 104 | unsigned int coalescing_type, unsigned int mask_on_assertion); |
105 | void vnic_intr_coalescing_timer_set(struct vnic_intr *intr, | ||
106 | unsigned int coalescing_timer); | ||
104 | void vnic_intr_clean(struct vnic_intr *intr); | 107 | void vnic_intr_clean(struct vnic_intr *intr); |
105 | 108 | ||
106 | #endif /* _VNIC_INTR_H_ */ | 109 | #endif /* _VNIC_INTR_H_ */ |