]>
git.proxmox.com Git - ceph.git/blob - ceph/src/seastar/dpdk/kernel/linux/kni/ethtool/ixgbe/ixgbe_x540.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*******************************************************************************
4 Intel 10 Gigabit PCI Express Linux driver
5 Copyright(c) 1999 - 2012 Intel Corporation.
8 e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
9 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
11 *******************************************************************************/
13 #ifndef _IXGBE_X540_H_
14 #define _IXGBE_X540_H_
16 #include "ixgbe_type.h"
18 s32
ixgbe_get_link_capabilities_X540(struct ixgbe_hw
*hw
,
19 ixgbe_link_speed
*speed
, bool *autoneg
);
20 enum ixgbe_media_type
ixgbe_get_media_type_X540(struct ixgbe_hw
*hw
);
21 s32
ixgbe_setup_mac_link_X540(struct ixgbe_hw
*hw
, ixgbe_link_speed speed
,
22 bool autoneg
, bool link_up_wait_to_complete
);
23 s32
ixgbe_reset_hw_X540(struct ixgbe_hw
*hw
);
24 s32
ixgbe_start_hw_X540(struct ixgbe_hw
*hw
);
25 u32
ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw
*hw
);
27 s32
ixgbe_init_eeprom_params_X540(struct ixgbe_hw
*hw
);
28 s32
ixgbe_read_eerd_X540(struct ixgbe_hw
*hw
, u16 offset
, u16
*data
);
29 s32
ixgbe_read_eerd_buffer_X540(struct ixgbe_hw
*hw
, u16 offset
, u16 words
,
31 s32
ixgbe_write_eewr_X540(struct ixgbe_hw
*hw
, u16 offset
, u16 data
);
32 s32
ixgbe_write_eewr_buffer_X540(struct ixgbe_hw
*hw
, u16 offset
, u16 words
,
34 s32
ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw
*hw
);
35 s32
ixgbe_validate_eeprom_checksum_X540(struct ixgbe_hw
*hw
, u16
*checksum_val
);
36 u16
ixgbe_calc_eeprom_checksum_X540(struct ixgbe_hw
*hw
);
38 s32
ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw
*hw
, u16 mask
);
39 void ixgbe_release_swfw_sync_X540(struct ixgbe_hw
*hw
, u16 mask
);
41 s32
ixgbe_blink_led_start_X540(struct ixgbe_hw
*hw
, u32 index
);
42 s32
ixgbe_blink_led_stop_X540(struct ixgbe_hw
*hw
, u32 index
);
43 #endif /* _IXGBE_X540_H_ */