(*read_mmd)(struct phy_device *dev, int devnum, u16 regnum); int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum, u16 val); int (*read_page)(struct phy_device *dev); int (*write_page)(struct phy_device *dev, int page) int (*module_info)(struct phy_device *...
#defineMII_STAT1000 0x0a/* 1000BASE-T status */ #defineMII_MMD_CTRL 0x0d/* MMD Access Control Register */ #defineMII_MMD_DATA 0x0e/* MMD Access Data Register */ #defineMII_ESTATUS 0x0f/* Extended Status */ #defineMII_DCOUNTER 0x12/* Disconnect counter */ #defineMII_FCSCOUNTER 0...
void(*link_change_notify)(struct phy_device *dev); int(*read_mmd)(struct phy_device *dev,intdevnum, u16 regnum); int(*write_mmd)(struct phy_device *dev,intdevnum, u16 regnum, u16 val); int(*read_page)(struct phy_device *dev); int(*write_page)(struct phy_device *dev,intpage)...
(struct phy_device*dev,struct ethtool_wolinfo*wol);void(*link_change_notify)(struct phy_device*dev);int(*read_mmd)(struct phy_device*dev,int devnum,u16 regnum);int(*write_mmd)(struct phy_device*dev,int devnum,u16 regnum,u16 val);int(*read_page)(struct phy_device*dev);int(*write_...
phy_set_bits_mmd(phydev, MDIO_MMD_VEND2, MTK_PHY_LED1_ON_CTRL, MTK_PHY_LED1_ON_FDX | MTK_PHY_LED1_ON_HDX);@@ -116,10 +151,20 @@ static int mt798x_2p5ge_phy_config_init(struct phy_device *phydev) return PTR_ERR(pinctrl); }phy_modify_mmd(phydev, MDIO_MMD_VEND1, ...
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it...
err = phy_modify(phydev, MII_DP83867_PHYCTRL, DP83867_PHYCR_FORCE_LINK_GOOD, 0); if (err < 0) return err; /* Configure the DSP Feedforward Equalizer Configuration register to * improve short cable (< 1 meter) performance. This will not affect * long cable performance. */ err...
If I replace the default Atheros AR8035 PHY by a Micrel KSZ9031 can it work flawlessly as "Generic" PHY or, in some cases, I may need to find a way to modify the driver files? Usually, for the KSZ9031 PHY device connected directly to PFE_MAC2 via RGMII, I can ...
* This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. ...
PHY芯片at803x驱动 /* *drivers/net/phy/at803x.c * *DriverforAtheros803xPHY * *Author:MatusUjhelyi<ujhelyi.m@gmail.com> * *Thisprogramisfreesoftware;youcanredistributeitand/ormodifyit *underthetermsoftheGNUGeneralPublicLicenseaspublishedbythe *FreeSoftwareFoundation;eitherversion2oftheLicense,or(at...