ipq40xx: ar40xx: reset port status register
This resolves incosnsitencies of the configured RX / TX flow control
modes between different boards or bootloaders.
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 4d81f08771)
			
			
This commit is contained in:
		 David Bauer
					David Bauer
				
			
				
					committed by
					
						 Christian Lamparter
						Christian Lamparter
					
				
			
			
				
	
			
			
			 Christian Lamparter
						Christian Lamparter
					
				
			
						parent
						
							23778f067a
						
					
				
				
					commit
					88151b8303
				
			| @@ -1198,8 +1198,7 @@ ar40xx_init_port(struct ar40xx_priv *priv, int port) | |||||||
| { | { | ||||||
| 	u32 t; | 	u32 t; | ||||||
|  |  | ||||||
| 	ar40xx_rmw(priv, AR40XX_REG_PORT_STATUS(port), | 	ar40xx_write(priv, AR40XX_REG_PORT_STATUS(port), 0); | ||||||
| 			AR40XX_PORT_AUTO_LINK_EN, 0); |  | ||||||
|  |  | ||||||
| 	ar40xx_write(priv, AR40XX_REG_PORT_HEADER(port), 0); | 	ar40xx_write(priv, AR40XX_REG_PORT_HEADER(port), 0); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user