Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/e1000/e1000_hw.h
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | |||||
#define E1000_DEV_ID_PCH_LPT_I217_LM 0x153A | #define E1000_DEV_ID_PCH_LPT_I217_LM 0x153A | ||||
#define E1000_DEV_ID_PCH_LPT_I217_V 0x153B | #define E1000_DEV_ID_PCH_LPT_I217_V 0x153B | ||||
#define E1000_DEV_ID_PCH_LPTLP_I218_LM 0x155A | #define E1000_DEV_ID_PCH_LPTLP_I218_LM 0x155A | ||||
#define E1000_DEV_ID_PCH_LPTLP_I218_V 0x1559 | #define E1000_DEV_ID_PCH_LPTLP_I218_V 0x1559 | ||||
#define E1000_DEV_ID_PCH_I218_LM2 0x15A0 | #define E1000_DEV_ID_PCH_I218_LM2 0x15A0 | ||||
#define E1000_DEV_ID_PCH_I218_V2 0x15A1 | #define E1000_DEV_ID_PCH_I218_V2 0x15A1 | ||||
#define E1000_DEV_ID_PCH_I218_LM3 0x15A2 /* Wildcat Point PCH */ | #define E1000_DEV_ID_PCH_I218_LM3 0x15A2 /* Wildcat Point PCH */ | ||||
#define E1000_DEV_ID_PCH_I218_V3 0x15A3 /* Wildcat Point PCH */ | #define E1000_DEV_ID_PCH_I218_V3 0x15A3 /* Wildcat Point PCH */ | ||||
#define E1000_DEV_ID_PCH_SPT_I219_LM 0x156F /* Sunrise Point PCH */ | |||||
#define E1000_DEV_ID_PCH_SPT_I219_V 0x1570 /* Sunrise Point PCH */ | |||||
#define E1000_DEV_ID_PCH_SPT_I219_LM2 0x15B7 /* Sunrise Point-H PCH */ | |||||
#define E1000_DEV_ID_PCH_SPT_I219_V2 0x15B8 /* Sunrise Point-H PCH */ | |||||
#define E1000_DEV_ID_82576 0x10C9 | #define E1000_DEV_ID_82576 0x10C9 | ||||
#define E1000_DEV_ID_82576_FIBER 0x10E6 | #define E1000_DEV_ID_82576_FIBER 0x10E6 | ||||
#define E1000_DEV_ID_82576_SERDES 0x10E7 | #define E1000_DEV_ID_82576_SERDES 0x10E7 | ||||
#define E1000_DEV_ID_82576_QUAD_COPPER 0x10E8 | #define E1000_DEV_ID_82576_QUAD_COPPER 0x10E8 | ||||
#define E1000_DEV_ID_82576_QUAD_COPPER_ET2 0x1526 | #define E1000_DEV_ID_82576_QUAD_COPPER_ET2 0x1526 | ||||
#define E1000_DEV_ID_82576_NS 0x150A | #define E1000_DEV_ID_82576_NS 0x150A | ||||
#define E1000_DEV_ID_82576_NS_SERDES 0x1518 | #define E1000_DEV_ID_82576_NS_SERDES 0x1518 | ||||
#define E1000_DEV_ID_82576_SERDES_QUAD 0x150D | #define E1000_DEV_ID_82576_SERDES_QUAD 0x150D | ||||
▲ Show 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | enum e1000_mac_type { | ||||
e1000_82583, | e1000_82583, | ||||
e1000_80003es2lan, | e1000_80003es2lan, | ||||
e1000_ich8lan, | e1000_ich8lan, | ||||
e1000_ich9lan, | e1000_ich9lan, | ||||
e1000_ich10lan, | e1000_ich10lan, | ||||
e1000_pchlan, | e1000_pchlan, | ||||
e1000_pch2lan, | e1000_pch2lan, | ||||
e1000_pch_lpt, | e1000_pch_lpt, | ||||
e1000_pch_spt, | |||||
e1000_82575, | e1000_82575, | ||||
e1000_82576, | e1000_82576, | ||||
e1000_82580, | e1000_82580, | ||||
e1000_i350, | e1000_i350, | ||||
e1000_i354, | e1000_i354, | ||||
e1000_i210, | e1000_i210, | ||||
e1000_i211, | e1000_i211, | ||||
e1000_vfadapt, | e1000_vfadapt, | ||||
▲ Show 20 Lines • Show All 465 Lines • ▼ Show 20 Lines | struct e1000_mac_operations { | ||||
s32 (*setup_link)(struct e1000_hw *); | s32 (*setup_link)(struct e1000_hw *); | ||||
s32 (*setup_physical_interface)(struct e1000_hw *); | s32 (*setup_physical_interface)(struct e1000_hw *); | ||||
s32 (*setup_led)(struct e1000_hw *); | s32 (*setup_led)(struct e1000_hw *); | ||||
void (*write_vfta)(struct e1000_hw *, u32, u32); | void (*write_vfta)(struct e1000_hw *, u32, u32); | ||||
void (*config_collision_dist)(struct e1000_hw *); | void (*config_collision_dist)(struct e1000_hw *); | ||||
int (*rar_set)(struct e1000_hw *, u8*, u32); | int (*rar_set)(struct e1000_hw *, u8*, u32); | ||||
s32 (*read_mac_addr)(struct e1000_hw *); | s32 (*read_mac_addr)(struct e1000_hw *); | ||||
s32 (*validate_mdi_setting)(struct e1000_hw *); | s32 (*validate_mdi_setting)(struct e1000_hw *); | ||||
s32 (*set_obff_timer)(struct e1000_hw *, u32); | |||||
s32 (*acquire_swfw_sync)(struct e1000_hw *, u16); | s32 (*acquire_swfw_sync)(struct e1000_hw *, u16); | ||||
void (*release_swfw_sync)(struct e1000_hw *, u16); | void (*release_swfw_sync)(struct e1000_hw *, u16); | ||||
}; | }; | ||||
/* When to use various PHY register access functions: | /* When to use various PHY register access functions: | ||||
* | * | ||||
* Func Caller | * Func Caller | ||||
* Function Does Does When to use | * Function Does Does When to use | ||||
▲ Show 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | #define MAX_MTA_REG 128 | ||||
bool autoneg; | bool autoneg; | ||||
bool autoneg_failed; | bool autoneg_failed; | ||||
bool get_link_status; | bool get_link_status; | ||||
bool in_ifs_mode; | bool in_ifs_mode; | ||||
bool report_tx_early; | bool report_tx_early; | ||||
enum e1000_serdes_link_state serdes_link_state; | enum e1000_serdes_link_state serdes_link_state; | ||||
bool serdes_has_link; | bool serdes_has_link; | ||||
bool tx_pkt_filtering; | bool tx_pkt_filtering; | ||||
u32 max_frame_size; | u32 max_frame_size; | ||||
}; | }; | ||||
struct e1000_phy_info { | struct e1000_phy_info { | ||||
struct e1000_phy_operations ops; | struct e1000_phy_operations ops; | ||||
enum e1000_phy_type type; | enum e1000_phy_type type; | ||||
enum e1000_1000t_rx_status local_rx; | enum e1000_1000t_rx_status local_rx; | ||||
enum e1000_1000t_rx_status remote_rx; | enum e1000_1000t_rx_status remote_rx; | ||||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |