mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-13 21:40:07 +00:00
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>
13 lines
301 B
C
13 lines
301 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_MDIO_H_
|
|
#define _NGBE_MDIO_H_
|
|
|
|
int ngbe_phy_connect(struct wx *wx);
|
|
int ngbe_mdio_init(struct wx *wx);
|
|
#endif /* _NGBE_MDIO_H_ */
|