1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2015-2020 Beijing WangXun Technology Co., Ltd.
5 #ifndef _TXGBE_TYPE_DUMMY_H_
6 #define _TXGBE_TYPE_DUMMY_H_
9 #elif defined(__GNUC__)
10 #define TUP(x) x##_unused txgbe_unused
11 #elif defined(__LCLINT__)
12 #define TUP(x) x /*@unused@*/
27 /* struct txgbe_bus_operations */
28 static inline s32 txgbe_bus_get_bus_info_dummy(struct txgbe_hw *TUP0)
30 return TXGBE_ERR_OPS_DUMMY;
32 static inline void txgbe_bus_set_lan_id_dummy(struct txgbe_hw *TUP0)
35 /* struct txgbe_rom_operations */
36 static inline s32 txgbe_rom_init_params_dummy(struct txgbe_hw *TUP0)
38 return TXGBE_ERR_OPS_DUMMY;
40 static inline s32 txgbe_rom_read16_dummy(struct txgbe_hw *TUP0, u32 TUP1,
43 return TXGBE_ERR_OPS_DUMMY;
45 static inline s32 txgbe_rom_readw_buffer_dummy(struct txgbe_hw *TUP0, u32 TUP1,
48 return TXGBE_ERR_OPS_DUMMY;
50 static inline s32 txgbe_rom_readw_sw_dummy(struct txgbe_hw *TUP0, u32 TUP1,
53 return TXGBE_ERR_OPS_DUMMY;
55 static inline s32 txgbe_rom_read32_dummy(struct txgbe_hw *TUP0, u32 TUP1,
58 return TXGBE_ERR_OPS_DUMMY;
60 static inline s32 txgbe_rom_read_buffer_dummy(struct txgbe_hw *TUP0, u32 TUP1,
63 return TXGBE_ERR_OPS_DUMMY;
65 static inline s32 txgbe_rom_write16_dummy(struct txgbe_hw *TUP0, u32 TUP1,
68 return TXGBE_ERR_OPS_DUMMY;
70 static inline s32 txgbe_rom_writew_buffer_dummy(struct txgbe_hw *TUP0, u32 TUP1,
73 return TXGBE_ERR_OPS_DUMMY;
75 static inline s32 txgbe_rom_writew_sw_dummy(struct txgbe_hw *TUP0, u32 TUP1,
78 return TXGBE_ERR_OPS_DUMMY;
80 static inline s32 txgbe_rom_write32_dummy(struct txgbe_hw *TUP0, u32 TUP1,
83 return TXGBE_ERR_OPS_DUMMY;
85 static inline s32 txgbe_rom_write_buffer_dummy(struct txgbe_hw *TUP0, u32 TUP1,
88 return TXGBE_ERR_OPS_DUMMY;
90 static inline s32 txgbe_rom_validate_checksum_dummy(struct txgbe_hw *TUP0,
93 return TXGBE_ERR_OPS_DUMMY;
95 static inline s32 txgbe_rom_update_checksum_dummy(struct txgbe_hw *TUP0)
97 return TXGBE_ERR_OPS_DUMMY;
99 static inline s32 txgbe_rom_calc_checksum_dummy(struct txgbe_hw *TUP0)
101 return TXGBE_ERR_OPS_DUMMY;
104 /* struct txgbe_mac_operations */
105 static inline s32 txgbe_mac_init_hw_dummy(struct txgbe_hw *TUP0)
107 return TXGBE_ERR_OPS_DUMMY;
109 static inline s32 txgbe_mac_reset_hw_dummy(struct txgbe_hw *TUP0)
111 return TXGBE_ERR_OPS_DUMMY;
113 static inline s32 txgbe_mac_start_hw_dummy(struct txgbe_hw *TUP0)
115 return TXGBE_ERR_OPS_DUMMY;
117 static inline s32 txgbe_mac_stop_hw_dummy(struct txgbe_hw *TUP0)
119 return TXGBE_ERR_OPS_DUMMY;
121 static inline s32 txgbe_mac_clear_hw_cntrs_dummy(struct txgbe_hw *TUP0)
123 return TXGBE_ERR_OPS_DUMMY;
125 static inline s32 txgbe_mac_get_mac_addr_dummy(struct txgbe_hw *TUP0, u8 *TUP1)
127 return TXGBE_ERR_OPS_DUMMY;
129 static inline s32 txgbe_mac_get_san_mac_addr_dummy(struct txgbe_hw *TUP0,
132 return TXGBE_ERR_OPS_DUMMY;
134 static inline s32 txgbe_mac_set_san_mac_addr_dummy(struct txgbe_hw *TUP0,
137 return TXGBE_ERR_OPS_DUMMY;
139 static inline s32 txgbe_mac_get_device_caps_dummy(struct txgbe_hw *TUP0,
142 return TXGBE_ERR_OPS_DUMMY;
144 static inline s32 txgbe_mac_get_wwn_prefix_dummy(struct txgbe_hw *TUP0,
145 u16 *TUP1, u16 *TUP2)
147 return TXGBE_ERR_OPS_DUMMY;
149 static inline s32 txgbe_mac_setup_sfp_dummy(struct txgbe_hw *TUP0)
151 return TXGBE_ERR_OPS_DUMMY;
153 static inline s32 txgbe_mac_enable_rx_dma_dummy(struct txgbe_hw *TUP0, u32 TUP1)
155 return TXGBE_ERR_OPS_DUMMY;
157 static inline s32 txgbe_mac_disable_sec_rx_path_dummy(struct txgbe_hw *TUP0)
159 return TXGBE_ERR_OPS_DUMMY;
161 static inline s32 txgbe_mac_enable_sec_rx_path_dummy(struct txgbe_hw *TUP0)
163 return TXGBE_ERR_OPS_DUMMY;
165 static inline s32 txgbe_mac_disable_sec_tx_path_dummy(struct txgbe_hw *TUP0)
167 return TXGBE_ERR_OPS_DUMMY;
169 static inline s32 txgbe_mac_enable_sec_tx_path_dummy(struct txgbe_hw *TUP0)
171 return TXGBE_ERR_OPS_DUMMY;
173 static inline s32 txgbe_mac_acquire_swfw_sync_dummy(struct txgbe_hw *TUP0,
176 return TXGBE_ERR_OPS_DUMMY;
178 static inline void txgbe_mac_release_swfw_sync_dummy(struct txgbe_hw *TUP0,
182 static inline u64 txgbe_mac_autoc_read_dummy(struct txgbe_hw *TUP0)
186 static inline void txgbe_mac_autoc_write_dummy(struct txgbe_hw *TUP0, u64 TUP1)
189 static inline s32 txgbe_mac_prot_autoc_read_dummy(struct txgbe_hw *TUP0,
190 bool *TUP1, u64 *TUP2)
192 return TXGBE_ERR_OPS_DUMMY;
194 static inline s32 txgbe_mac_prot_autoc_write_dummy(struct txgbe_hw *TUP0,
197 return TXGBE_ERR_OPS_DUMMY;
199 static inline s32 txgbe_mac_negotiate_api_version_dummy(struct txgbe_hw *TUP0,
202 return TXGBE_ERR_OPS_DUMMY;
204 static inline void txgbe_mac_disable_tx_laser_dummy(struct txgbe_hw *TUP0)
207 static inline void txgbe_mac_enable_tx_laser_dummy(struct txgbe_hw *TUP0)
210 static inline void txgbe_mac_flap_tx_laser_dummy(struct txgbe_hw *TUP0)
213 static inline s32 txgbe_mac_setup_link_dummy(struct txgbe_hw *TUP0, u32 TUP1,
216 return TXGBE_ERR_OPS_DUMMY;
218 static inline s32 txgbe_mac_setup_mac_link_dummy(struct txgbe_hw *TUP0,
221 return TXGBE_ERR_OPS_DUMMY;
223 static inline s32 txgbe_mac_check_link_dummy(struct txgbe_hw *TUP0, u32 *TUP1,
224 bool *TUP3, bool TUP4)
226 return TXGBE_ERR_OPS_DUMMY;
228 static inline s32 txgbe_mac_get_link_capabilities_dummy(struct txgbe_hw *TUP0,
229 u32 *TUP1, bool *TUP2)
231 return TXGBE_ERR_OPS_DUMMY;
233 static inline void txgbe_mac_set_rate_select_speed_dummy(struct txgbe_hw *TUP0,
237 static inline void txgbe_mac_setup_pba_dummy(struct txgbe_hw *TUP0, int TUP1,
241 static inline s32 txgbe_mac_led_on_dummy(struct txgbe_hw *TUP0, u32 TUP1)
243 return TXGBE_ERR_OPS_DUMMY;
245 static inline s32 txgbe_mac_led_off_dummy(struct txgbe_hw *TUP0, u32 TUP1)
247 return TXGBE_ERR_OPS_DUMMY;
249 static inline s32 txgbe_mac_set_rar_dummy(struct txgbe_hw *TUP0, u32 TUP1,
250 u8 *TUP2, u32 TUP3, u32 TUP4)
252 return TXGBE_ERR_OPS_DUMMY;
254 static inline s32 txgbe_mac_set_uc_addr_dummy(struct txgbe_hw *TUP0, u32 TUP1,
257 return TXGBE_ERR_OPS_DUMMY;
259 static inline s32 txgbe_mac_clear_rar_dummy(struct txgbe_hw *TUP0, u32 TUP1)
261 return TXGBE_ERR_OPS_DUMMY;
263 static inline s32 txgbe_mac_set_vmdq_dummy(struct txgbe_hw *TUP0, u32 TUP1,
266 return TXGBE_ERR_OPS_DUMMY;
268 static inline s32 txgbe_mac_clear_vmdq_dummy(struct txgbe_hw *TUP0, u32 TUP1,
271 return TXGBE_ERR_OPS_DUMMY;
273 static inline s32 txgbe_mac_init_rx_addrs_dummy(struct txgbe_hw *TUP0)
275 return TXGBE_ERR_OPS_DUMMY;
277 static inline s32 txgbe_mac_update_mc_addr_list_dummy(struct txgbe_hw *TUP0,
278 u8 *TUP1, u32 TUP2, txgbe_mc_addr_itr TUP3, bool TUP4)
280 return TXGBE_ERR_OPS_DUMMY;
282 static inline s32 txgbe_mac_clear_vfta_dummy(struct txgbe_hw *TUP0)
284 return TXGBE_ERR_OPS_DUMMY;
286 static inline s32 txgbe_mac_set_vfta_dummy(struct txgbe_hw *TUP0, u32 TUP1,
287 u32 TUP2, bool TUP3, bool TUP4)
289 return TXGBE_ERR_OPS_DUMMY;
291 static inline s32 txgbe_mac_set_vlvf_dummy(struct txgbe_hw *TUP0, u32 TUP1,
292 u32 TUP2, bool TUP3, u32 *TUP4, u32 TUP5, bool TUP6)
294 return TXGBE_ERR_OPS_DUMMY;
296 static inline s32 txgbe_mac_init_uta_tables_dummy(struct txgbe_hw *TUP0)
298 return TXGBE_ERR_OPS_DUMMY;
300 static inline void txgbe_mac_set_mac_anti_spoofing_dummy(struct txgbe_hw *TUP0,
304 static inline void txgbe_mac_set_vlan_anti_spoofing_dummy(struct txgbe_hw *TUP0,
308 static inline s32 txgbe_mac_update_xcast_mode_dummy(struct txgbe_hw *TUP0,
311 return TXGBE_ERR_OPS_DUMMY;
313 static inline s32 txgbe_mac_set_rlpml_dummy(struct txgbe_hw *TUP0, u16 TUP1)
315 return TXGBE_ERR_OPS_DUMMY;
317 static inline s32 txgbe_mac_fc_enable_dummy(struct txgbe_hw *TUP0)
319 return TXGBE_ERR_OPS_DUMMY;
321 static inline s32 txgbe_mac_setup_fc_dummy(struct txgbe_hw *TUP0)
323 return TXGBE_ERR_OPS_DUMMY;
325 static inline void txgbe_mac_fc_autoneg_dummy(struct txgbe_hw *TUP0)
328 static inline s32 txgbe_mac_set_fw_drv_ver_dummy(struct txgbe_hw *TUP0, u8 TUP1,
329 u8 TUP2, u8 TUP3, u8 TUP4, u16 TUP5, const char *TUP6)
331 return TXGBE_ERR_OPS_DUMMY;
333 static inline s32 txgbe_mac_get_thermal_sensor_data_dummy(struct txgbe_hw *TUP0)
335 return TXGBE_ERR_OPS_DUMMY;
337 static inline s32 txgbe_mac_init_thermal_ssth_dummy(struct txgbe_hw *TUP0)
339 return TXGBE_ERR_OPS_DUMMY;
341 static inline void txgbe_mac_get_rtrup2tc_dummy(struct txgbe_hw *TUP0, u8 *TUP1)
344 static inline void txgbe_mac_disable_rx_dummy(struct txgbe_hw *TUP0)
347 static inline void txgbe_mac_enable_rx_dummy(struct txgbe_hw *TUP0)
351 txgbe_mac_set_ethertype_anti_spoofing_dummy(struct txgbe_hw *TUP0, bool TUP1,
355 static inline s32 txgbe_mac_dmac_update_tcs_dummy(struct txgbe_hw *TUP0)
357 return TXGBE_ERR_OPS_DUMMY;
359 static inline s32 txgbe_mac_dmac_config_tcs_dummy(struct txgbe_hw *TUP0)
361 return TXGBE_ERR_OPS_DUMMY;
363 static inline s32 txgbe_mac_dmac_config_dummy(struct txgbe_hw *TUP0)
365 return TXGBE_ERR_OPS_DUMMY;
367 static inline s32 txgbe_mac_setup_eee_dummy(struct txgbe_hw *TUP0, bool TUP1)
369 return TXGBE_ERR_OPS_DUMMY;
372 /* struct txgbe_phy_operations */
373 static inline u32 txgbe_phy_get_media_type_dummy(struct txgbe_hw *TUP0)
375 return TXGBE_ERR_OPS_DUMMY;
377 static inline s32 txgbe_phy_identify_dummy(struct txgbe_hw *TUP0)
379 return TXGBE_ERR_OPS_DUMMY;
381 static inline s32 txgbe_phy_identify_sfp_dummy(struct txgbe_hw *TUP0)
383 return TXGBE_ERR_OPS_DUMMY;
385 static inline s32 txgbe_phy_init_dummy(struct txgbe_hw *TUP0)
387 return TXGBE_ERR_OPS_DUMMY;
389 static inline s32 txgbe_phy_reset_dummy(struct txgbe_hw *TUP0)
391 return TXGBE_ERR_OPS_DUMMY;
393 static inline s32 txgbe_phy_read_reg_dummy(struct txgbe_hw *TUP0, u32 TUP1,
396 return TXGBE_ERR_OPS_DUMMY;
398 static inline s32 txgbe_phy_write_reg_dummy(struct txgbe_hw *TUP0, u32 TUP1,
401 return TXGBE_ERR_OPS_DUMMY;
403 static inline s32 txgbe_phy_read_reg_mdi_dummy(struct txgbe_hw *TUP0, u32 TUP1,
406 return TXGBE_ERR_OPS_DUMMY;
408 static inline s32 txgbe_phy_write_reg_mdi_dummy(struct txgbe_hw *TUP0, u32 TUP1,
411 return TXGBE_ERR_OPS_DUMMY;
413 static inline s32 txgbe_phy_setup_link_dummy(struct txgbe_hw *TUP0)
415 return TXGBE_ERR_OPS_DUMMY;
417 static inline s32 txgbe_phy_setup_link_speed_dummy(struct txgbe_hw *TUP0,
420 return TXGBE_ERR_OPS_DUMMY;
422 static inline s32 txgbe_phy_check_link_dummy(struct txgbe_hw *TUP0, u32 *TUP1,
425 return TXGBE_ERR_OPS_DUMMY;
427 static inline s32 txgbe_get_phy_fw_version_dummy(struct txgbe_hw *TUP0,
430 return TXGBE_ERR_OPS_DUMMY;
432 static inline s32 txgbe_phy_read_i2c_byte_dummy(struct txgbe_hw *TUP0, u8 TUP1,
435 return TXGBE_ERR_OPS_DUMMY;
437 static inline s32 txgbe_phy_write_i2c_byte_dummy(struct txgbe_hw *TUP0, u8 TUP1,
440 return TXGBE_ERR_OPS_DUMMY;
442 static inline s32 txgbe_phy_read_i2c_sff8472_dummy(struct txgbe_hw *TUP0,
445 return TXGBE_ERR_OPS_DUMMY;
447 static inline s32 txgbe_phy_read_i2c_eeprom_dummy(struct txgbe_hw *TUP0,
450 return TXGBE_ERR_OPS_DUMMY;
452 static inline s32 txgbe_phy_write_i2c_eeprom_dummy(struct txgbe_hw *TUP0,
455 return TXGBE_ERR_OPS_DUMMY;
457 static inline s32 txgbe_phy_check_overtemp_dummy(struct txgbe_hw *TUP0)
459 return TXGBE_ERR_OPS_DUMMY;
461 static inline s32 txgbe_phy_set_phy_power_dummy(struct txgbe_hw *TUP0,
464 return TXGBE_ERR_OPS_DUMMY;
466 static inline s32 txgbe_phy_handle_lasi_dummy(struct txgbe_hw *TUP0)
468 return TXGBE_ERR_OPS_DUMMY;
470 static inline s32 txgbe_phy_read_i2c_byte_unlocked_dummy(struct txgbe_hw *TUP0,
471 u8 TUP1, u8 TUP2, u8 *TUP3)
473 return TXGBE_ERR_OPS_DUMMY;
475 static inline s32 txgbe_phy_write_i2c_byte_unlocked_dummy(struct txgbe_hw *TUP0,
476 u8 TUP1, u8 TUP2, u8 TUP3)
478 return TXGBE_ERR_OPS_DUMMY;
481 /* struct txgbe_link_operations */
482 static inline s32 txgbe_link_read_link_dummy(struct txgbe_hw *TUP0, u8 TUP1,
485 return TXGBE_ERR_OPS_DUMMY;
487 static inline s32 txgbe_link_read_link_unlocked_dummy(struct txgbe_hw *TUP0,
488 u8 TUP1, u16 TUP2, u16 *TUP3)
490 return TXGBE_ERR_OPS_DUMMY;
492 static inline s32 txgbe_link_write_link_dummy(struct txgbe_hw *TUP0, u8 TUP1,
495 return TXGBE_ERR_OPS_DUMMY;
497 static inline s32 txgbe_link_write_link_unlocked_dummy(struct txgbe_hw *TUP0,
498 u8 TUP1, u16 TUP2, u16 TUP3)
500 return TXGBE_ERR_OPS_DUMMY;
503 /* struct txgbe_mbx_operations */
504 static inline void txgbe_mbx_init_params_dummy(struct txgbe_hw *TUP0)
507 static inline s32 txgbe_mbx_read_dummy(struct txgbe_hw *TUP0, u32 *TUP1,
510 return TXGBE_ERR_OPS_DUMMY;
512 static inline s32 txgbe_mbx_write_dummy(struct txgbe_hw *TUP0, u32 *TUP1,
515 return TXGBE_ERR_OPS_DUMMY;
517 static inline s32 txgbe_mbx_read_posted_dummy(struct txgbe_hw *TUP0, u32 *TUP1,
520 return TXGBE_ERR_OPS_DUMMY;
522 static inline s32 txgbe_mbx_write_posted_dummy(struct txgbe_hw *TUP0, u32 *TUP1,
525 return TXGBE_ERR_OPS_DUMMY;
527 static inline s32 txgbe_mbx_check_for_msg_dummy(struct txgbe_hw *TUP0, u16 TUP1)
529 return TXGBE_ERR_OPS_DUMMY;
531 static inline s32 txgbe_mbx_check_for_ack_dummy(struct txgbe_hw *TUP0, u16 TUP1)
533 return TXGBE_ERR_OPS_DUMMY;
535 static inline s32 txgbe_mbx_check_for_rst_dummy(struct txgbe_hw *TUP0, u16 TUP1)
537 return TXGBE_ERR_OPS_DUMMY;
541 static inline void txgbe_init_ops_dummy(struct txgbe_hw *hw)
543 hw->bus.get_bus_info = txgbe_bus_get_bus_info_dummy;
544 hw->bus.set_lan_id = txgbe_bus_set_lan_id_dummy;
545 hw->rom.init_params = txgbe_rom_init_params_dummy;
546 hw->rom.read16 = txgbe_rom_read16_dummy;
547 hw->rom.readw_buffer = txgbe_rom_readw_buffer_dummy;
548 hw->rom.readw_sw = txgbe_rom_readw_sw_dummy;
549 hw->rom.read32 = txgbe_rom_read32_dummy;
550 hw->rom.read_buffer = txgbe_rom_read_buffer_dummy;
551 hw->rom.write16 = txgbe_rom_write16_dummy;
552 hw->rom.writew_buffer = txgbe_rom_writew_buffer_dummy;
553 hw->rom.writew_sw = txgbe_rom_writew_sw_dummy;
554 hw->rom.write32 = txgbe_rom_write32_dummy;
555 hw->rom.write_buffer = txgbe_rom_write_buffer_dummy;
556 hw->rom.validate_checksum = txgbe_rom_validate_checksum_dummy;
557 hw->rom.update_checksum = txgbe_rom_update_checksum_dummy;
558 hw->rom.calc_checksum = txgbe_rom_calc_checksum_dummy;
559 hw->mac.init_hw = txgbe_mac_init_hw_dummy;
560 hw->mac.reset_hw = txgbe_mac_reset_hw_dummy;
561 hw->mac.start_hw = txgbe_mac_start_hw_dummy;
562 hw->mac.stop_hw = txgbe_mac_stop_hw_dummy;
563 hw->mac.clear_hw_cntrs = txgbe_mac_clear_hw_cntrs_dummy;
564 hw->mac.get_mac_addr = txgbe_mac_get_mac_addr_dummy;
565 hw->mac.get_san_mac_addr = txgbe_mac_get_san_mac_addr_dummy;
566 hw->mac.set_san_mac_addr = txgbe_mac_set_san_mac_addr_dummy;
567 hw->mac.get_device_caps = txgbe_mac_get_device_caps_dummy;
568 hw->mac.get_wwn_prefix = txgbe_mac_get_wwn_prefix_dummy;
569 hw->mac.setup_sfp = txgbe_mac_setup_sfp_dummy;
570 hw->mac.enable_rx_dma = txgbe_mac_enable_rx_dma_dummy;
571 hw->mac.disable_sec_rx_path = txgbe_mac_disable_sec_rx_path_dummy;
572 hw->mac.enable_sec_rx_path = txgbe_mac_enable_sec_rx_path_dummy;
573 hw->mac.disable_sec_tx_path = txgbe_mac_disable_sec_tx_path_dummy;
574 hw->mac.enable_sec_tx_path = txgbe_mac_enable_sec_tx_path_dummy;
575 hw->mac.acquire_swfw_sync = txgbe_mac_acquire_swfw_sync_dummy;
576 hw->mac.release_swfw_sync = txgbe_mac_release_swfw_sync_dummy;
577 hw->mac.autoc_read = txgbe_mac_autoc_read_dummy;
578 hw->mac.autoc_write = txgbe_mac_autoc_write_dummy;
579 hw->mac.prot_autoc_read = txgbe_mac_prot_autoc_read_dummy;
580 hw->mac.prot_autoc_write = txgbe_mac_prot_autoc_write_dummy;
581 hw->mac.negotiate_api_version = txgbe_mac_negotiate_api_version_dummy;
582 hw->mac.disable_tx_laser = txgbe_mac_disable_tx_laser_dummy;
583 hw->mac.enable_tx_laser = txgbe_mac_enable_tx_laser_dummy;
584 hw->mac.flap_tx_laser = txgbe_mac_flap_tx_laser_dummy;
585 hw->mac.setup_link = txgbe_mac_setup_link_dummy;
586 hw->mac.setup_mac_link = txgbe_mac_setup_mac_link_dummy;
587 hw->mac.check_link = txgbe_mac_check_link_dummy;
588 hw->mac.get_link_capabilities = txgbe_mac_get_link_capabilities_dummy;
589 hw->mac.set_rate_select_speed = txgbe_mac_set_rate_select_speed_dummy;
590 hw->mac.setup_pba = txgbe_mac_setup_pba_dummy;
591 hw->mac.led_on = txgbe_mac_led_on_dummy;
592 hw->mac.led_off = txgbe_mac_led_off_dummy;
593 hw->mac.set_rar = txgbe_mac_set_rar_dummy;
594 hw->mac.set_uc_addr = txgbe_mac_set_uc_addr_dummy;
595 hw->mac.clear_rar = txgbe_mac_clear_rar_dummy;
596 hw->mac.set_vmdq = txgbe_mac_set_vmdq_dummy;
597 hw->mac.clear_vmdq = txgbe_mac_clear_vmdq_dummy;
598 hw->mac.init_rx_addrs = txgbe_mac_init_rx_addrs_dummy;
599 hw->mac.update_mc_addr_list = txgbe_mac_update_mc_addr_list_dummy;
600 hw->mac.clear_vfta = txgbe_mac_clear_vfta_dummy;
601 hw->mac.set_vfta = txgbe_mac_set_vfta_dummy;
602 hw->mac.set_vlvf = txgbe_mac_set_vlvf_dummy;
603 hw->mac.init_uta_tables = txgbe_mac_init_uta_tables_dummy;
604 hw->mac.set_mac_anti_spoofing = txgbe_mac_set_mac_anti_spoofing_dummy;
605 hw->mac.set_vlan_anti_spoofing = txgbe_mac_set_vlan_anti_spoofing_dummy;
606 hw->mac.update_xcast_mode = txgbe_mac_update_xcast_mode_dummy;
607 hw->mac.set_rlpml = txgbe_mac_set_rlpml_dummy;
608 hw->mac.fc_enable = txgbe_mac_fc_enable_dummy;
609 hw->mac.setup_fc = txgbe_mac_setup_fc_dummy;
610 hw->mac.fc_autoneg = txgbe_mac_fc_autoneg_dummy;
611 hw->mac.set_fw_drv_ver = txgbe_mac_set_fw_drv_ver_dummy;
612 hw->mac.get_thermal_sensor_data =
613 txgbe_mac_get_thermal_sensor_data_dummy;
614 hw->mac.init_thermal_sensor_thresh = txgbe_mac_init_thermal_ssth_dummy;
615 hw->mac.get_rtrup2tc = txgbe_mac_get_rtrup2tc_dummy;
616 hw->mac.disable_rx = txgbe_mac_disable_rx_dummy;
617 hw->mac.enable_rx = txgbe_mac_enable_rx_dummy;
618 hw->mac.set_ethertype_anti_spoofing =
619 txgbe_mac_set_ethertype_anti_spoofing_dummy;
620 hw->mac.dmac_update_tcs = txgbe_mac_dmac_update_tcs_dummy;
621 hw->mac.dmac_config_tcs = txgbe_mac_dmac_config_tcs_dummy;
622 hw->mac.dmac_config = txgbe_mac_dmac_config_dummy;
623 hw->mac.setup_eee = txgbe_mac_setup_eee_dummy;
624 hw->phy.get_media_type = txgbe_phy_get_media_type_dummy;
625 hw->phy.identify = txgbe_phy_identify_dummy;
626 hw->phy.identify_sfp = txgbe_phy_identify_sfp_dummy;
627 hw->phy.init = txgbe_phy_init_dummy;
628 hw->phy.reset = txgbe_phy_reset_dummy;
629 hw->phy.read_reg = txgbe_phy_read_reg_dummy;
630 hw->phy.write_reg = txgbe_phy_write_reg_dummy;
631 hw->phy.read_reg_mdi = txgbe_phy_read_reg_mdi_dummy;
632 hw->phy.write_reg_mdi = txgbe_phy_write_reg_mdi_dummy;
633 hw->phy.setup_link = txgbe_phy_setup_link_dummy;
634 hw->phy.setup_link_speed = txgbe_phy_setup_link_speed_dummy;
635 hw->phy.check_link = txgbe_phy_check_link_dummy;
636 hw->phy.get_fw_version = txgbe_get_phy_fw_version_dummy;
637 hw->phy.read_i2c_byte = txgbe_phy_read_i2c_byte_dummy;
638 hw->phy.write_i2c_byte = txgbe_phy_write_i2c_byte_dummy;
639 hw->phy.read_i2c_sff8472 = txgbe_phy_read_i2c_sff8472_dummy;
640 hw->phy.read_i2c_eeprom = txgbe_phy_read_i2c_eeprom_dummy;
641 hw->phy.write_i2c_eeprom = txgbe_phy_write_i2c_eeprom_dummy;
642 hw->phy.check_overtemp = txgbe_phy_check_overtemp_dummy;
643 hw->phy.set_phy_power = txgbe_phy_set_phy_power_dummy;
644 hw->phy.handle_lasi = txgbe_phy_handle_lasi_dummy;
645 hw->phy.read_i2c_byte_unlocked = txgbe_phy_read_i2c_byte_unlocked_dummy;
646 hw->phy.write_i2c_byte_unlocked =
647 txgbe_phy_write_i2c_byte_unlocked_dummy;
648 hw->link.read_link = txgbe_link_read_link_dummy;
649 hw->link.read_link_unlocked = txgbe_link_read_link_unlocked_dummy;
650 hw->link.write_link = txgbe_link_write_link_dummy;
651 hw->link.write_link_unlocked = txgbe_link_write_link_unlocked_dummy;
652 hw->mbx.init_params = txgbe_mbx_init_params_dummy;
653 hw->mbx.read = txgbe_mbx_read_dummy;
654 hw->mbx.write = txgbe_mbx_write_dummy;
655 hw->mbx.read_posted = txgbe_mbx_read_posted_dummy;
656 hw->mbx.write_posted = txgbe_mbx_write_posted_dummy;
657 hw->mbx.check_for_msg = txgbe_mbx_check_for_msg_dummy;
658 hw->mbx.check_for_ack = txgbe_mbx_check_for_ack_dummy;
659 hw->mbx.check_for_rst = txgbe_mbx_check_for_rst_dummy;
662 #endif /* _TXGBE_TYPE_DUMMY_H_ */