diff options
Diffstat (limited to 'drivers/net/e1000/e1000.h')
-rw-r--r-- | drivers/net/e1000/e1000.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h index 3b840283a9c3..d73a6c1fbcff 100644 --- a/drivers/net/e1000/e1000.h +++ b/drivers/net/e1000/e1000.h | |||
@@ -188,7 +188,7 @@ struct e1000_tx_ring { | |||
188 | spinlock_t tx_lock; | 188 | spinlock_t tx_lock; |
189 | uint16_t tdh; | 189 | uint16_t tdh; |
190 | uint16_t tdt; | 190 | uint16_t tdt; |
191 | boolean_t last_tx_tso; | 191 | bool last_tx_tso; |
192 | }; | 192 | }; |
193 | 193 | ||
194 | struct e1000_rx_ring { | 194 | struct e1000_rx_ring { |
@@ -283,17 +283,17 @@ struct e1000_adapter { | |||
283 | uint32_t tx_fifo_size; | 283 | uint32_t tx_fifo_size; |
284 | uint8_t tx_timeout_factor; | 284 | uint8_t tx_timeout_factor; |
285 | atomic_t tx_fifo_stall; | 285 | atomic_t tx_fifo_stall; |
286 | boolean_t pcix_82544; | 286 | bool pcix_82544; |
287 | boolean_t detect_tx_hung; | 287 | bool detect_tx_hung; |
288 | 288 | ||
289 | /* RX */ | 289 | /* RX */ |
290 | #ifdef CONFIG_E1000_NAPI | 290 | #ifdef CONFIG_E1000_NAPI |
291 | boolean_t (*clean_rx) (struct e1000_adapter *adapter, | 291 | bool (*clean_rx) (struct e1000_adapter *adapter, |
292 | struct e1000_rx_ring *rx_ring, | 292 | struct e1000_rx_ring *rx_ring, |
293 | int *work_done, int work_to_do); | 293 | int *work_done, int work_to_do); |
294 | #else | 294 | #else |
295 | boolean_t (*clean_rx) (struct e1000_adapter *adapter, | 295 | bool (*clean_rx) (struct e1000_adapter *adapter, |
296 | struct e1000_rx_ring *rx_ring); | 296 | struct e1000_rx_ring *rx_ring); |
297 | #endif | 297 | #endif |
298 | void (*alloc_rx_buf) (struct e1000_adapter *adapter, | 298 | void (*alloc_rx_buf) (struct e1000_adapter *adapter, |
299 | struct e1000_rx_ring *rx_ring, | 299 | struct e1000_rx_ring *rx_ring, |
@@ -312,7 +312,7 @@ struct e1000_adapter { | |||
312 | uint32_t alloc_rx_buff_failed; | 312 | uint32_t alloc_rx_buff_failed; |
313 | uint32_t rx_int_delay; | 313 | uint32_t rx_int_delay; |
314 | uint32_t rx_abs_int_delay; | 314 | uint32_t rx_abs_int_delay; |
315 | boolean_t rx_csum; | 315 | bool rx_csum; |
316 | unsigned int rx_ps_pages; | 316 | unsigned int rx_ps_pages; |
317 | uint32_t gorcl; | 317 | uint32_t gorcl; |
318 | uint64_t gorcl_old; | 318 | uint64_t gorcl_old; |
@@ -335,12 +335,12 @@ struct e1000_adapter { | |||
335 | struct e1000_rx_ring test_rx_ring; | 335 | struct e1000_rx_ring test_rx_ring; |
336 | 336 | ||
337 | int msg_enable; | 337 | int msg_enable; |
338 | boolean_t have_msi; | 338 | bool have_msi; |
339 | 339 | ||
340 | /* to not mess up cache alignment, always add to the bottom */ | 340 | /* to not mess up cache alignment, always add to the bottom */ |
341 | boolean_t tso_force; | 341 | bool tso_force; |
342 | boolean_t smart_power_down; /* phy smart power down */ | 342 | bool smart_power_down; /* phy smart power down */ |
343 | boolean_t quad_port_a; | 343 | bool quad_port_a; |
344 | unsigned long flags; | 344 | unsigned long flags; |
345 | uint32_t eeprom_wol; | 345 | uint32_t eeprom_wol; |
346 | }; | 346 | }; |