a1cf597b99
Add mdio bus register for ngbe. The internal phy and external phy need to be handled separately. Add phy changed event detection. Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20230111111718.40745-1-mengyuanlou@net-swift.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
14 lines
365 B
C
14 lines
365 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* WangXun Gigabit PCI Express Linux driver
|
|
* Copyright (c) 2019 - 2022 Beijing WangXun Technology Co., Ltd.
|
|
*/
|
|
|
|
#ifndef _NGBE_HW_H_
|
|
#define _NGBE_HW_H_
|
|
|
|
int ngbe_eeprom_chksum_hostif(struct wx *wx);
|
|
void ngbe_sfp_modules_txrx_powerctl(struct wx *wx, bool swi);
|
|
int ngbe_reset_hw(struct wx *wx);
|
|
#endif /* _NGBE_HW_H_ */
|