phyxehg.h (685B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 6 * 7 * File: phyxehg.h 8 * Purpose: Defines common PHY driver routines for Broadcom 10G PHY. 9 */ 10 #ifndef _PHY_XEHG_H 11 #define _PHY_XEHG_H 12 13 extern int 14 phy_xehg_speed_set(int unit, soc_port_t port, int speed); 15 16 extern int 17 phy_xehg_speed_get(int unit, soc_port_t port, int *speed); 18 19 extern int 20 phy_xehg_interface_get(int unit, soc_port_t port, soc_port_if_t *pif); 21 22 extern int 23 phy_xehg_ability_get(int unit, soc_port_t port, soc_port_mode_t *mode); 24 25 #endif /* _PHY_XEHG_H */ 26