1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* r8169.h: RealTek 8169/8168/8101 ethernet driver.
4 * Copyright (c) 2002 ShuChen <shuchen@realtek.com.tw>
5 * Copyright (c) 2003 - 2007 Francois Romieu <romieu@fr.zoreil.com>
6 * Copyright (c) a lot of people too. Please respect their work.
8 * See MAINTAINERS file for support contact information.
11 #include <linux/types.h>
12 #include <linux/phy.h>
15 /* support for ancient RTL_GIGA_MAC_VER_01 has been removed */
72 struct rtl8169_private
;
74 void r8169_apply_firmware(struct rtl8169_private
*tp
);
75 u16
rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private
*tp
);
76 u8
rtl8168d_efuse_read(struct rtl8169_private
*tp
, int reg_addr
);
77 void r8169_hw_phy_config(struct rtl8169_private
*tp
, struct phy_device
*phydev
,
78 enum mac_version ver
);