We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dd3e23 commit 1d2a8a1Copy full SHA for 1d2a8a1
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
@@ -161,6 +161,20 @@ static int aq_nic_update_link_status(struct aq_nic_s *self)
161
return 0;
162
}
163
164
+static irqreturn_t aq_linkstate_threaded_isr(int irq, void *private)
165
+{
166
+ struct aq_nic_s *self = private;
167
+
168
+ if (!self)
169
+ return IRQ_NONE;
170
171
+ aq_nic_update_link_status(self);
172
173
+ self->aq_hw_ops->hw_irq_enable(self->aq_hw,
174
+ BIT(self->aq_nic_cfg.link_irq_vec));
175
+ return IRQ_HANDLED;
176
+}
177
178
static void aq_nic_service_timer_cb(struct timer_list *t)
179
{
180
struct aq_nic_s *self = from_timer(self, t, service_timer);
0 commit comments