e1000_api.h (169248) | e1000_api.h (169589) |
---|---|
1/******************************************************************************* 2 3 Copyright (c) 2001-2007, Intel Corporation 4 All rights reserved. 5 6 Redistribution and use in source and binary forms, with or without 7 modification, are permitted provided that the following conditions are met: 8 --- 16 unchanged lines hidden (view full) --- 25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 POSSIBILITY OF SUCH DAMAGE. 31 32*******************************************************************************/ | 1/******************************************************************************* 2 3 Copyright (c) 2001-2007, Intel Corporation 4 All rights reserved. 5 6 Redistribution and use in source and binary forms, with or without 7 modification, are permitted provided that the following conditions are met: 8 --- 16 unchanged lines hidden (view full) --- 25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 POSSIBILITY OF SUCH DAMAGE. 31 32*******************************************************************************/ |
33/*$FreeBSD: head/sys/dev/em/e1000_api.h 169589 2007-05-16 00:14:23Z jfv $*/ |
|
33 | 34 |
34/* 35 * $FreeBSD: head/sys/dev/em/e1000_api.h 169248 2007-05-04 13:30:44Z rwatson $ 36 */ | |
37 | 35 |
38 | |
39#ifndef _E1000_API_H_ 40#define _E1000_API_H_ 41 42#include "e1000_hw.h" 43 44s32 e1000_set_mac_type(struct e1000_hw *hw); 45s32 e1000_setup_init_funcs(struct e1000_hw *hw, boolean_t init_device); 46s32 e1000_init_mac_params(struct e1000_hw *hw); --- 69 unchanged lines hidden (view full) --- 116#endif 117void e1000_init_script_state_82541(struct e1000_hw *hw, boolean_t state); 118boolean_t e1000_get_laa_state_82571(struct e1000_hw *hw); 119void e1000_set_laa_state_82571(struct e1000_hw *hw, boolean_t state); 120void e1000_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw, 121 boolean_t state); 122void e1000_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw); 123void e1000_gig_downshift_workaround_ich8lan(struct e1000_hw *hw); | 36#ifndef _E1000_API_H_ 37#define _E1000_API_H_ 38 39#include "e1000_hw.h" 40 41s32 e1000_set_mac_type(struct e1000_hw *hw); 42s32 e1000_setup_init_funcs(struct e1000_hw *hw, boolean_t init_device); 43s32 e1000_init_mac_params(struct e1000_hw *hw); --- 69 unchanged lines hidden (view full) --- 113#endif 114void e1000_init_script_state_82541(struct e1000_hw *hw, boolean_t state); 115boolean_t e1000_get_laa_state_82571(struct e1000_hw *hw); 116void e1000_set_laa_state_82571(struct e1000_hw *hw, boolean_t state); 117void e1000_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw, 118 boolean_t state); 119void e1000_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw); 120void e1000_gig_downshift_workaround_ich8lan(struct e1000_hw *hw); |
124u32 e1000_translate_register_adoram(u32 reg); | |
125 | 121 |
122 |
|
126/* TBI_ACCEPT macro definition: 127 * 128 * This macro requires: 129 * adapter = a pointer to struct e1000_hw 130 * status = the 8 bit status field of the RX descriptor with EOP set 131 * error = the 8 bit error field of the RX descriptor with EOP set 132 * length = the sum of all the length fields of the RX descriptors that 133 * make up the current frame --- 33 unchanged lines hidden --- | 123/* TBI_ACCEPT macro definition: 124 * 125 * This macro requires: 126 * adapter = a pointer to struct e1000_hw 127 * status = the 8 bit status field of the RX descriptor with EOP set 128 * error = the 8 bit error field of the RX descriptor with EOP set 129 * length = the sum of all the length fields of the RX descriptors that 130 * make up the current frame --- 33 unchanged lines hidden --- |