Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/e1000/e1000_mac.c
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | void e1000_init_mac_ops_generic(struct e1000_hw *hw) | ||||
mac->ops.setup_led = e1000_null_ops_generic; | mac->ops.setup_led = e1000_null_ops_generic; | ||||
mac->ops.blink_led = e1000_null_ops_generic; | mac->ops.blink_led = e1000_null_ops_generic; | ||||
mac->ops.led_on = e1000_null_ops_generic; | mac->ops.led_on = e1000_null_ops_generic; | ||||
mac->ops.led_off = e1000_null_ops_generic; | mac->ops.led_off = e1000_null_ops_generic; | ||||
/* LINK */ | /* LINK */ | ||||
mac->ops.setup_link = e1000_null_ops_generic; | mac->ops.setup_link = e1000_null_ops_generic; | ||||
mac->ops.get_link_up_info = e1000_null_link_info; | mac->ops.get_link_up_info = e1000_null_link_info; | ||||
mac->ops.check_for_link = e1000_null_ops_generic; | mac->ops.check_for_link = e1000_null_ops_generic; | ||||
mac->ops.set_obff_timer = e1000_null_set_obff_timer; | |||||
/* Management */ | /* Management */ | ||||
mac->ops.check_mng_mode = e1000_null_mng_mode; | mac->ops.check_mng_mode = e1000_null_mng_mode; | ||||
/* VLAN, MC, etc. */ | /* VLAN, MC, etc. */ | ||||
mac->ops.update_mc_addr_list = e1000_null_update_mc; | mac->ops.update_mc_addr_list = e1000_null_update_mc; | ||||
mac->ops.clear_vfta = e1000_null_mac_generic; | mac->ops.clear_vfta = e1000_null_mac_generic; | ||||
mac->ops.write_vfta = e1000_null_write_vfta; | mac->ops.write_vfta = e1000_null_write_vfta; | ||||
mac->ops.rar_set = e1000_rar_set_generic; | mac->ops.rar_set = e1000_rar_set_generic; | ||||
mac->ops.validate_mdi_setting = e1000_validate_mdi_setting_generic; | mac->ops.validate_mdi_setting = e1000_validate_mdi_setting_generic; | ||||
▲ Show 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
/** | /** | ||||
* e1000_null_rar_set - No-op function, return 0 | * e1000_null_rar_set - No-op function, return 0 | ||||
* @hw: pointer to the HW structure | * @hw: pointer to the HW structure | ||||
**/ | **/ | ||||
int e1000_null_rar_set(struct e1000_hw E1000_UNUSEDARG *hw, | int e1000_null_rar_set(struct e1000_hw E1000_UNUSEDARG *hw, | ||||
u8 E1000_UNUSEDARG *h, u32 E1000_UNUSEDARG a) | u8 E1000_UNUSEDARG *h, u32 E1000_UNUSEDARG a) | ||||
{ | { | ||||
DEBUGFUNC("e1000_null_rar_set"); | DEBUGFUNC("e1000_null_rar_set"); | ||||
return E1000_SUCCESS; | |||||
} | |||||
/** | |||||
* e1000_null_set_obff_timer - No-op function, return 0 | |||||
* @hw: pointer to the HW structure | |||||
**/ | |||||
s32 e1000_null_set_obff_timer(struct e1000_hw E1000_UNUSEDARG *hw, | |||||
u32 E1000_UNUSEDARG a) | |||||
{ | |||||
DEBUGFUNC("e1000_null_set_obff_timer"); | |||||
return E1000_SUCCESS; | return E1000_SUCCESS; | ||||
} | } | ||||
/** | /** | ||||
* e1000_get_bus_info_pci_generic - Get PCI(x) bus information | * e1000_get_bus_info_pci_generic - Get PCI(x) bus information | ||||
* @hw: pointer to the HW structure | * @hw: pointer to the HW structure | ||||
* | * | ||||
* Determines and stores the system bus information for a particular | * Determines and stores the system bus information for a particular | ||||
▲ Show 20 Lines • Show All 2,080 Lines • Show Last 20 Lines |