mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	Revert "ramips: explicitly disable built-in switch for lan-only devices"
This reverts commit a1693bf626.
The rt288x and rt3883 devices in question don't have switches.
Only keep the merged case for rt305x.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
			
			
This commit is contained in:
		
							parent
							
								
									8b373892d3
								
							
						
					
					
						commit
						03e742dcd8
					
				@ -26,8 +26,6 @@ ramips_setup_interfaces()
 | 
			
		||||
		;;
 | 
			
		||||
	buffalo,wli-tx4-ag300n|\
 | 
			
		||||
	dlink,dap-1522-a1)
 | 
			
		||||
		ucidef_add_switch "switch0"
 | 
			
		||||
		ucidef_add_switch_attr "switch0" "enable" "false"
 | 
			
		||||
		ucidef_set_interface_lan "eth0"
 | 
			
		||||
		;;
 | 
			
		||||
	*)
 | 
			
		||||
 | 
			
		||||
@ -27,8 +27,6 @@ ramips_setup_interfaces()
 | 
			
		||||
		;;
 | 
			
		||||
	loewe,wmdr-143n|\
 | 
			
		||||
	omnima,hpm)
 | 
			
		||||
		ucidef_add_switch "switch0"
 | 
			
		||||
		ucidef_add_switch_attr "switch0" "enable" "false"
 | 
			
		||||
		ucidef_set_interface_lan "eth0"
 | 
			
		||||
		;;
 | 
			
		||||
	samsung,cy-swr1100)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user