105 DEBUGFUNC(
"e1000_init_mac_params_82542");
162 DEBUGFUNC(
"e1000_init_function_pointers_82542");
202 DEBUGOUT(
"Disabling MWI on 82542 rev 2\n");
206 DEBUGOUT(
"Masking off all interrupts\n");
221 DEBUGOUT(
"Issuing a global reset to 82542/82543 MAC\n");
260 DEBUGOUT(
"Disabling MWI on 82542 rev 2.0\n");
340 DEBUGOUT1(
"After fix-ups FlowControl is now = %x\n",
354 DEBUGOUT(
"Initializing Flow Control address, type and timer regs\n");
399 ctrl &= ~E1000_CTRL_SWDPIN0;
417 u32 rar_low, rar_high;
431 if (rar_low || rar_high)
572 u16 offset, nvm_data, i;
576 for (i = 0; i < ETHER_ADDR_LEN; i += 2) {
578 ret_val = hw->
nvm.
ops.
read(hw, offset, 1, &nvm_data);
587 for (i = 0; i < ETHER_ADDR_LEN; i++)
static s32 e1000_get_bus_info_82542(struct e1000_hw *hw)
static s32 e1000_init_phy_params_82542(struct e1000_hw *hw)
static s32 e1000_read_mac_addr_82542(struct e1000_hw *hw)
static s32 e1000_setup_link_82542(struct e1000_hw *hw)
static s32 e1000_reset_hw_82542(struct e1000_hw *hw)
static s32 e1000_init_mac_params_82542(struct e1000_hw *hw)
static void e1000_clear_hw_cntrs_82542(struct e1000_hw *hw)
static s32 e1000_led_on_82542(struct e1000_hw *hw)
static int e1000_rar_set_82542(struct e1000_hw *hw, u8 *addr, u32 index)
static s32 e1000_init_nvm_params_82542(struct e1000_hw *hw)
static s32 e1000_init_hw_82542(struct e1000_hw *hw)
u32 e1000_translate_register_82542(u32 reg)
static s32 e1000_led_off_82542(struct e1000_hw *hw)
void e1000_init_function_pointers_82542(struct e1000_hw *hw)
#define FLOW_CONTROL_ADDRESS_LOW
#define FLOW_CONTROL_ADDRESS_HIGH
#define FLOW_CONTROL_TYPE
#define E1000_CTRL_SWDPIO0
#define E1000_RAR_ENTRIES
#define E1000_CTRL_SWDPIN0
void e1000_pci_set_mwi(struct e1000_hw *hw)
@ e1000_bus_width_unknown
@ e1000_bus_speed_unknown
@ e1000_nvm_eeprom_microwire
void e1000_pci_clear_mwi(struct e1000_hw *hw)
s32 e1000_set_fc_watermarks_generic(struct e1000_hw *hw)
void e1000_set_lan_id_multi_port_pci(struct e1000_hw *hw)
void e1000_clear_hw_cntrs_base_generic(struct e1000_hw *hw)
void e1000_update_mc_addr_list_generic(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count)
s32 e1000_setup_fiber_serdes_link_generic(struct e1000_hw *hw)
void e1000_clear_vfta_generic(struct e1000_hw *hw)
s32 e1000_check_for_fiber_link_generic(struct e1000_hw *hw)
void e1000_init_rx_addrs_generic(struct e1000_hw *hw, u16 rar_count)
void e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value)
s32 e1000_get_speed_and_duplex_fiber_serdes_generic(struct e1000_hw E1000_UNUSEDARG *hw, u16 *speed, u16 *duplex)
s32 e1000_set_default_fc_generic(struct e1000_hw *hw)
void e1000_stop_nvm(struct e1000_hw *hw)
s32 e1000_update_nvm_checksum_generic(struct e1000_hw *hw)
s32 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)
s32 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)
s32 e1000_validate_nvm_checksum_generic(struct e1000_hw *hw)
#define CMD_MEM_WRT_INVALIDATE
#define E1000_WRITE_REG_ARRAY(hw, reg, index, value)
#define E1000_WRITE_FLUSH(a)
#define E1000_WRITE_REG(hw, reg, value)
#define E1000_READ_REG(hw, reg)
enum e1000_bus_speed speed
enum e1000_bus_width width
enum e1000_fc_mode current_mode
enum e1000_fc_mode requested_mode
union e1000_hw::@46 dev_spec
struct e1000_bus_info bus
struct e1000_mac_info mac
struct e1000_nvm_info nvm
struct e1000_dev_spec_82542 _82542
struct e1000_phy_info phy
struct e1000_mac_operations ops
u8 perm_addr[ETHER_ADDR_LEN]
s32(* get_link_up_info)(struct e1000_hw *, u16 *, u16 *)
s32(* setup_physical_interface)(struct e1000_hw *)
s32(* check_for_link)(struct e1000_hw *)
void(* clear_vfta)(struct e1000_hw *)
s32(* reset_hw)(struct e1000_hw *)
s32(* led_on)(struct e1000_hw *)
s32(* read_mac_addr)(struct e1000_hw *)
void(* write_vfta)(struct e1000_hw *, u32, u32)
int(* rar_set)(struct e1000_hw *, u8 *, u32)
s32(* init_hw)(struct e1000_hw *)
s32(* setup_link)(struct e1000_hw *)
void(* clear_hw_cntrs)(struct e1000_hw *)
void(* set_lan_id)(struct e1000_hw *)
void(* update_mc_addr_list)(struct e1000_hw *, u8 *, u32)
s32(* led_off)(struct e1000_hw *)
s32(* get_bus_info)(struct e1000_hw *)
s32(* init_params)(struct e1000_hw *)
struct e1000_nvm_operations ops
void(* release)(struct e1000_hw *)
s32(* init_params)(struct e1000_hw *)
s32(* write)(struct e1000_hw *, u16, u16, u16 *)
void(* reload)(struct e1000_hw *)
s32(* validate)(struct e1000_hw *)
s32(* update)(struct e1000_hw *)
s32(* read)(struct e1000_hw *, u16, u16, u16 *)
enum e1000_media_type media_type
struct e1000_phy_operations ops
s32(* init_params)(struct e1000_hw *)