diff options
| author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-12-10 14:31:56 +0100 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-12-10 22:23:59 +0100 | 
| commit | f15ea6e1d67782a1626d4a4922b6c20e380085e5 (patch) | |
| tree | 57d78f1ee94a2060eaa591533278d2934d4f1da3 /include/phy.h | |
| parent | cb7ee1b98cac6baf244daefb1192adf5a47bc983 (diff) | |
| parent | f44483b57c49282299da0e5c10073b909cdad979 (diff) | |
| download | olio-uboot-2014.01-f15ea6e1d67782a1626d4a4922b6c20e380085e5.tar.xz olio-uboot-2014.01-f15ea6e1d67782a1626d4a4922b6c20e380085e5.zip | |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts:
	arch/arm/cpu/armv7/rmobile/Makefile
	doc/README.scrapyard
Needed manual fix:
	arch/arm/cpu/armv7/omap-common/Makefile
	board/compulab/cm_t335/u-boot.lds
Diffstat (limited to 'include/phy.h')
| -rw-r--r-- | include/phy.h | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/include/phy.h b/include/phy.h index f0f522a9c..1f22fa180 100644 --- a/include/phy.h +++ b/include/phy.h @@ -125,6 +125,9 @@ struct phy_driver {  	/* Called when bringing down the controller */  	int (*shutdown)(struct phy_device *phydev); +	int (*readext)(struct phy_device *phydev, int addr, int devad, int reg); +	int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg, +			u16 val);  	struct list_head list;  }; @@ -160,6 +163,14 @@ struct phy_device {  	u32 flags;  }; +struct fixed_link { +	int phy_id; +	int duplex; +	int link_speed; +	int pause; +	int asym_pause; +}; +  static inline int phy_read(struct phy_device *phydev, int devad, int regnum)  {  	struct mii_dev *bus = phydev->bus; |