net: lan743x: Add support to SGMII 1G and 2.5G
Add SGMII access read and write functions Add support to SGMII 1G and 2.5G for PCI11010/PCI11414 chips Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microchip.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
6b3768ac8e
commit
46b777ad9a
@ -155,8 +155,8 @@ static int lan743x_otp_write(struct lan743x_adapter *adapter, u32 offset,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int lan743x_hs_syslock_acquire(struct lan743x_adapter *adapter,
|
||||
u16 timeout)
|
||||
int lan743x_hs_syslock_acquire(struct lan743x_adapter *adapter,
|
||||
u16 timeout)
|
||||
{
|
||||
u16 timeout_cnt = 0;
|
||||
u32 val;
|
||||
@ -192,7 +192,7 @@ static int lan743x_hs_syslock_acquire(struct lan743x_adapter *adapter,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void lan743x_hs_syslock_release(struct lan743x_adapter *adapter)
|
||||
void lan743x_hs_syslock_release(struct lan743x_adapter *adapter)
|
||||
{
|
||||
u32 val;
|
||||
|
||||
|
Reference in New Issue
Block a user