aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000/e1000.h')
-rw-r--r--drivers/net/e1000/e1000.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h
index 20188af0ccdd..a1f4a764bfb5 100644
--- a/drivers/net/e1000/e1000.h
+++ b/drivers/net/e1000/e1000.h
@@ -287,16 +287,16 @@ struct e1000_adapter {
287 287
288 /* RX */ 288 /* RX */
289#ifdef CONFIG_E1000_NAPI 289#ifdef CONFIG_E1000_NAPI
290 bool (*clean_rx) (struct e1000_adapter *adapter, 290 bool (*clean_rx)(struct e1000_adapter *adapter,
291 struct e1000_rx_ring *rx_ring, 291 struct e1000_rx_ring *rx_ring,
292 int *work_done, int work_to_do); 292 int *work_done, int work_to_do);
293#else 293#else
294 bool (*clean_rx) (struct e1000_adapter *adapter, 294 bool (*clean_rx)(struct e1000_adapter *adapter,
295 struct e1000_rx_ring *rx_ring); 295 struct e1000_rx_ring *rx_ring);
296#endif 296#endif
297 void (*alloc_rx_buf) (struct e1000_adapter *adapter, 297 void (*alloc_rx_buf)(struct e1000_adapter *adapter,
298 struct e1000_rx_ring *rx_ring, 298 struct e1000_rx_ring *rx_ring,
299 int cleaned_count); 299 int cleaned_count);
300 struct e1000_rx_ring *rx_ring; /* One per active queue */ 300 struct e1000_rx_ring *rx_ring; /* One per active queue */
301#ifdef CONFIG_E1000_NAPI 301#ifdef CONFIG_E1000_NAPI
302 struct napi_struct napi; 302 struct napi_struct napi;