lantiq: add missing macaddr retrieval for Netgear DGN3500
The MAC addresses were not being set for LAN and WAN. This will now use the same MAC mechanism as the rest of the target. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
This commit is contained in:
		 Daniel Gimpelevich
					Daniel Gimpelevich
				
			
				
					committed by
					
						 Mathias Kresin
						Mathias Kresin
					
				
			
			
				
	
			
			
			 Mathias Kresin
						Mathias Kresin
					
				
			
						parent
						
							d0ef27594a
						
					
				
				
					commit
					a6e9d146f2
				
			| @@ -116,6 +116,8 @@ DGN1000B) | |||||||
| 	;; | 	;; | ||||||
|  |  | ||||||
| DGN3500*) | DGN3500*) | ||||||
|  | 	lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr) | ||||||
|  | 	wan_mac=$(macaddr_add "$lan_mac" 1) | ||||||
| 	ucidef_add_switch "switch0" \ | 	ucidef_add_switch "switch0" \ | ||||||
| 		"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0" | 		"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0" | ||||||
| 	;; | 	;; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user