diff options
author | Joe Perches <joe@perches.com> | 2008-03-21 14:06:25 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-26 00:17:42 -0400 |
commit | c3033b01d763aff572080db09ddcebed115b9cf5 (patch) | |
tree | b75bb33ba85185c9d6775ceafad09a103f643b35 /drivers/net/e1000/e1000_hw.h | |
parent | f89e6e3834035c6e8203042f3527931aa7f52496 (diff) |
e1000: Convert boolean_t to bool
On Thu, 2008-03-06 at 10:07 -0800, Kok, Auke wrote:
> send me a patch for e1000 and for ixgb and I'll happily apply those :)
boolean_t to bool
TRUE to true
FALSE to false
comment typo ahread to ahead
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/e1000/e1000_hw.h')
-rw-r--r-- | drivers/net/e1000/e1000_hw.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/drivers/net/e1000/e1000_hw.h b/drivers/net/e1000/e1000_hw.h index a6c3c34feb98..572a7b6dc12e 100644 --- a/drivers/net/e1000/e1000_hw.h +++ b/drivers/net/e1000/e1000_hw.h | |||
@@ -100,8 +100,8 @@ typedef enum { | |||
100 | } e1000_fc_type; | 100 | } e1000_fc_type; |
101 | 101 | ||
102 | struct e1000_shadow_ram { | 102 | struct e1000_shadow_ram { |
103 | uint16_t eeprom_word; | 103 | uint16_t eeprom_word; |
104 | boolean_t modified; | 104 | bool modified; |
105 | }; | 105 | }; |
106 | 106 | ||
107 | /* PCI bus types */ | 107 | /* PCI bus types */ |
@@ -274,8 +274,8 @@ struct e1000_eeprom_info { | |||
274 | uint16_t address_bits; | 274 | uint16_t address_bits; |
275 | uint16_t delay_usec; | 275 | uint16_t delay_usec; |
276 | uint16_t page_size; | 276 | uint16_t page_size; |
277 | boolean_t use_eerd; | 277 | bool use_eerd; |
278 | boolean_t use_eewr; | 278 | bool use_eewr; |
279 | }; | 279 | }; |
280 | 280 | ||
281 | /* Flex ASF Information */ | 281 | /* Flex ASF Information */ |
@@ -391,8 +391,8 @@ struct e1000_host_mng_dhcp_cookie{ | |||
391 | 391 | ||
392 | int32_t e1000_mng_write_dhcp_info(struct e1000_hw *hw, uint8_t *buffer, | 392 | int32_t e1000_mng_write_dhcp_info(struct e1000_hw *hw, uint8_t *buffer, |
393 | uint16_t length); | 393 | uint16_t length); |
394 | boolean_t e1000_check_mng_mode(struct e1000_hw *hw); | 394 | bool e1000_check_mng_mode(struct e1000_hw *hw); |
395 | boolean_t e1000_enable_tx_pkt_filtering(struct e1000_hw *hw); | 395 | bool e1000_enable_tx_pkt_filtering(struct e1000_hw *hw); |
396 | int32_t e1000_read_eeprom(struct e1000_hw *hw, uint16_t reg, uint16_t words, uint16_t *data); | 396 | int32_t e1000_read_eeprom(struct e1000_hw *hw, uint16_t reg, uint16_t words, uint16_t *data); |
397 | int32_t e1000_validate_eeprom_checksum(struct e1000_hw *hw); | 397 | int32_t e1000_validate_eeprom_checksum(struct e1000_hw *hw); |
398 | int32_t e1000_update_eeprom_checksum(struct e1000_hw *hw); | 398 | int32_t e1000_update_eeprom_checksum(struct e1000_hw *hw); |
@@ -1420,7 +1420,7 @@ struct e1000_hw { | |||
1420 | uint32_t ledctl_default; | 1420 | uint32_t ledctl_default; |
1421 | uint32_t ledctl_mode1; | 1421 | uint32_t ledctl_mode1; |
1422 | uint32_t ledctl_mode2; | 1422 | uint32_t ledctl_mode2; |
1423 | boolean_t tx_pkt_filtering; | 1423 | bool tx_pkt_filtering; |
1424 | struct e1000_host_mng_dhcp_cookie mng_cookie; | 1424 | struct e1000_host_mng_dhcp_cookie mng_cookie; |
1425 | uint16_t phy_spd_default; | 1425 | uint16_t phy_spd_default; |
1426 | uint16_t autoneg_advertised; | 1426 | uint16_t autoneg_advertised; |
@@ -1445,30 +1445,30 @@ struct e1000_hw { | |||
1445 | uint8_t dma_fairness; | 1445 | uint8_t dma_fairness; |
1446 | uint8_t mac_addr[NODE_ADDRESS_SIZE]; | 1446 | uint8_t mac_addr[NODE_ADDRESS_SIZE]; |
1447 | uint8_t perm_mac_addr[NODE_ADDRESS_SIZE]; | 1447 | uint8_t perm_mac_addr[NODE_ADDRESS_SIZE]; |
1448 | boolean_t disable_polarity_correction; | 1448 | bool disable_polarity_correction; |
1449 | boolean_t speed_downgraded; | 1449 | bool speed_downgraded; |
1450 | e1000_smart_speed smart_speed; | 1450 | e1000_smart_speed smart_speed; |
1451 | e1000_dsp_config dsp_config_state; | 1451 | e1000_dsp_config dsp_config_state; |
1452 | boolean_t get_link_status; | 1452 | bool get_link_status; |
1453 | boolean_t serdes_link_down; | 1453 | bool serdes_link_down; |
1454 | boolean_t tbi_compatibility_en; | 1454 | bool tbi_compatibility_en; |
1455 | boolean_t tbi_compatibility_on; | 1455 | bool tbi_compatibility_on; |
1456 | boolean_t laa_is_present; | 1456 | bool laa_is_present; |
1457 | boolean_t phy_reset_disable; | 1457 | bool phy_reset_disable; |
1458 | boolean_t initialize_hw_bits_disable; | 1458 | bool initialize_hw_bits_disable; |
1459 | boolean_t fc_send_xon; | 1459 | bool fc_send_xon; |
1460 | boolean_t fc_strict_ieee; | 1460 | bool fc_strict_ieee; |
1461 | boolean_t report_tx_early; | 1461 | bool report_tx_early; |
1462 | boolean_t adaptive_ifs; | 1462 | bool adaptive_ifs; |
1463 | boolean_t ifs_params_forced; | 1463 | bool ifs_params_forced; |
1464 | boolean_t in_ifs_mode; | 1464 | bool in_ifs_mode; |
1465 | boolean_t mng_reg_access_disabled; | 1465 | bool mng_reg_access_disabled; |
1466 | boolean_t leave_av_bit_off; | 1466 | bool leave_av_bit_off; |
1467 | boolean_t kmrn_lock_loss_workaround_disabled; | 1467 | bool kmrn_lock_loss_workaround_disabled; |
1468 | boolean_t bad_tx_carr_stats_fd; | 1468 | bool bad_tx_carr_stats_fd; |
1469 | boolean_t has_manc2h; | 1469 | bool has_manc2h; |
1470 | boolean_t rx_needs_kicking; | 1470 | bool rx_needs_kicking; |
1471 | boolean_t has_smbus; | 1471 | bool has_smbus; |
1472 | }; | 1472 | }; |
1473 | 1473 | ||
1474 | 1474 | ||
@@ -2518,11 +2518,11 @@ struct e1000_host_command_info { | |||
2518 | * Typical use: | 2518 | * Typical use: |
2519 | * ... | 2519 | * ... |
2520 | * if (TBI_ACCEPT) { | 2520 | * if (TBI_ACCEPT) { |
2521 | * accept_frame = TRUE; | 2521 | * accept_frame = true; |
2522 | * e1000_tbi_adjust_stats(adapter, MacAddress); | 2522 | * e1000_tbi_adjust_stats(adapter, MacAddress); |
2523 | * frame_length--; | 2523 | * frame_length--; |
2524 | * } else { | 2524 | * } else { |
2525 | * accept_frame = FALSE; | 2525 | * accept_frame = false; |
2526 | * } | 2526 | * } |
2527 | * ... | 2527 | * ... |
2528 | */ | 2528 | */ |