Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ixgb_hw.c File Reference
#include <linux/pci_ids.h>
#include "ixgb_hw.h"
#include "ixgb_ids.h"
#include <linux/etherdevice.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define IXGB_BCM8704_USER_PMD_TX_CTRL_REG   0xC803
 
#define IXGB_BCM8704_USER_PMD_TX_CTRL_REG_VAL   0x0164
 
#define IXGB_BCM8704_USER_CTRL_REG   0xC800
 
#define IXGB_BCM8704_USER_CTRL_REG_VAL   0x7FBF
 
#define IXGB_BCM8704_USER_DEV3_ADDR   0x0003
 
#define IXGB_SUN_PHY_ADDRESS   0x0000
 
#define IXGB_SUN_PHY_RESET_DELAY   305
 

Functions

bool ixgb_adapter_stop (struct ixgb_hw *hw)
 
bool ixgb_init_hw (struct ixgb_hw *hw)
 
void ixgb_mc_addr_list_update (struct ixgb_hw *hw, u8 *mc_addr_list, u32 mc_addr_count, u32 pad)
 
void ixgb_rar_set (struct ixgb_hw *hw, u8 *addr, u32 index)
 
void ixgb_write_vfta (struct ixgb_hw *hw, u32 offset, u32 value)
 
void ixgb_check_for_link (struct ixgb_hw *hw)
 
bool ixgb_check_for_bad_link (struct ixgb_hw *hw)
 
void ixgb_led_on (struct ixgb_hw *hw)
 
void ixgb_led_off (struct ixgb_hw *hw)
 

Macro Definition Documentation

#define IXGB_BCM8704_USER_CTRL_REG   0xC800

Definition at line 1212 of file ixgb_hw.c.

#define IXGB_BCM8704_USER_CTRL_REG_VAL   0x7FBF

Definition at line 1213 of file ixgb_hw.c.

#define IXGB_BCM8704_USER_DEV3_ADDR   0x0003

Definition at line 1214 of file ixgb_hw.c.

#define IXGB_BCM8704_USER_PMD_TX_CTRL_REG   0xC803

Definition at line 1210 of file ixgb_hw.c.

#define IXGB_BCM8704_USER_PMD_TX_CTRL_REG_VAL   0x0164

Definition at line 1211 of file ixgb_hw.c.

#define IXGB_SUN_PHY_ADDRESS   0x0000

Definition at line 1215 of file ixgb_hw.c.

#define IXGB_SUN_PHY_RESET_DELAY   305

Definition at line 1216 of file ixgb_hw.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 33 of file ixgb_hw.c.

Function Documentation

bool ixgb_adapter_stop ( struct ixgb_hw hw)

Definition at line 123 of file ixgb_hw.c.

bool ixgb_check_for_bad_link ( struct ixgb_hw hw)

Definition at line 949 of file ixgb_hw.c.

void ixgb_check_for_link ( struct ixgb_hw hw)

Definition at line 913 of file ixgb_hw.c.

bool ixgb_init_hw ( struct ixgb_hw hw)

Definition at line 299 of file ixgb_hw.c.

void ixgb_led_off ( struct ixgb_hw hw)

Definition at line 1070 of file ixgb_hw.c.

void ixgb_led_on ( struct ixgb_hw hw)

Definition at line 1055 of file ixgb_hw.c.

void ixgb_mc_addr_list_update ( struct ixgb_hw hw,
u8 mc_addr_list,
u32  mc_addr_count,
u32  pad 
)

Definition at line 434 of file ixgb_hw.c.

void ixgb_rar_set ( struct ixgb_hw hw,
u8 addr,
u32  index 
)

Definition at line 578 of file ixgb_hw.c.

void ixgb_write_vfta ( struct ixgb_hw hw,
u32  offset,
u32  value 
)

Definition at line 610 of file ixgb_hw.c.