mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-30 21:44:27 -04:00 
			
		
		
		
	Build system: x86_64 Build-tested: generic, nand Run-tested: generic/AR-5387un, nand/VR-3032u Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			301 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			301 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/drivers/net/dsa/b53/b53_mmap.c
 | |
| +++ b/drivers/net/dsa/b53/b53_mmap.c
 | |
| @@ -263,7 +263,7 @@ static int b53_mmap_probe_of(struct plat
 | |
|  		if (of_property_read_u32(of_port, "reg", ®))
 | |
|  			continue;
 | |
|  
 | |
| -		if (reg < B53_CPU_PORT)
 | |
| +		if (reg <= B53_CPU_PORT)
 | |
|  			pdata->enabled_ports |= BIT(reg);
 | |
|  	}
 | |
|  
 |