mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-30 18:05:48 +01:00 
			
		
		
		
	net: phy: realtek: make define more consistent
All internal defines in the realtek phy are with a small X, except MIIM_RTL8211X_CTRL1000T_MASTER. Make this more consistent Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
		
				
					committed by
					
						 Joe Hershberger
						Joe Hershberger
					
				
			
			
				
	
			
			
			
						parent
						
							020f67628d
						
					
				
				
					commit
					cbe40e116d
				
			| @@ -16,7 +16,7 @@ | |||||||
|  |  | ||||||
| /* RTL8211x 1000BASE-T Control Register */ | /* RTL8211x 1000BASE-T Control Register */ | ||||||
| #define MIIM_RTL8211x_CTRL1000T_MSCE BIT(12); | #define MIIM_RTL8211x_CTRL1000T_MSCE BIT(12); | ||||||
| #define MIIM_RTL8211X_CTRL1000T_MASTER BIT(11); | #define MIIM_RTL8211x_CTRL1000T_MASTER BIT(11); | ||||||
|  |  | ||||||
| /* RTL8211x PHY Status Register */ | /* RTL8211x PHY Status Register */ | ||||||
| #define MIIM_RTL8211x_PHY_STATUS       0x11 | #define MIIM_RTL8211x_PHY_STATUS       0x11 | ||||||
| @@ -64,7 +64,7 @@ static int rtl8211x_config(struct phy_device *phydev) | |||||||
| 	/* force manual master/slave configuration */ | 	/* force manual master/slave configuration */ | ||||||
| 	reg |= MIIM_RTL8211x_CTRL1000T_MSCE; | 	reg |= MIIM_RTL8211x_CTRL1000T_MSCE; | ||||||
| 	/* force master mode */ | 	/* force master mode */ | ||||||
| 	reg |= MIIM_RTL8211X_CTRL1000T_MASTER; | 	reg |= MIIM_RTL8211x_CTRL1000T_MASTER; | ||||||
| 	phy_write(phydev, MDIO_DEVAD_NONE, MII_CTRL1000, reg); | 	phy_write(phydev, MDIO_DEVAD_NONE, MII_CTRL1000, reg); | ||||||
| #endif | #endif | ||||||
| 	/* read interrupt status just to clear it */ | 	/* read interrupt status just to clear it */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user