ath79: rename Ubiquiti PowerBeam M (XW) to PowerBeam M5 (XW)
The commit [1] added support for Ubiquiti PowerBeam M (XW), tested
on the PBE-M5-400. But, it turns out the PBE-M2-400 has a different
ethernet configuration, so make the support specific to the m5 version
in anticipation of adding specific support for the m2 in a separate
commit.
[1] 12eb5b2384 ("ath79: add support for Ubiquiti PowerBeam M (XW)")
Signed-off-by: Russell Senior <russell@personaltelco.net>
[fix model name in DTS, format commit reference in commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Adrian Schmutzler
					
				
			
			
				
	
			
			
			
						parent
						
							57807f50de
						
					
				
				
					commit
					96db7d2a73
				
			@@ -3,8 +3,8 @@
 | 
				
			|||||||
#include "ar9342_ubnt_xw.dtsi"
 | 
					#include "ar9342_ubnt_xw.dtsi"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/ {
 | 
					/ {
 | 
				
			||||||
	compatible = "ubnt,powerbeam-m-xw", "ubnt,xw", "qca,ar9342";
 | 
						compatible = "ubnt,powerbeam-m5-xw", "ubnt,xw", "qca,ar9342";
 | 
				
			||||||
	model = "Ubiquiti PowerBeam M (XW)";
 | 
						model = "Ubiquiti PowerBeam M5 (XW)";
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
&mdio0 {
 | 
					&mdio0 {
 | 
				
			||||||
@@ -406,7 +406,7 @@ ubnt,nanostation-loco-m-xw|\
 | 
				
			|||||||
ubnt,nanostation-m|\
 | 
					ubnt,nanostation-m|\
 | 
				
			||||||
ubnt,nanostation-m-xw|\
 | 
					ubnt,nanostation-m-xw|\
 | 
				
			||||||
ubnt,picostation-m|\
 | 
					ubnt,picostation-m|\
 | 
				
			||||||
ubnt,powerbeam-m-xw|\
 | 
					ubnt,powerbeam-m5-xw|\
 | 
				
			||||||
ubnt,powerbridge-m|\
 | 
					ubnt,powerbridge-m|\
 | 
				
			||||||
ubnt,rocket-m)
 | 
					ubnt,rocket-m)
 | 
				
			||||||
	ucidef_set_rssimon "wlan0" "200000" "1"
 | 
						ucidef_set_rssimon "wlan0" "200000" "1"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -86,7 +86,7 @@ ath79_setup_interfaces()
 | 
				
			|||||||
	ubnt,picostation-m|\
 | 
						ubnt,picostation-m|\
 | 
				
			||||||
	ubnt,powerbeam-5ac-500|\
 | 
						ubnt,powerbeam-5ac-500|\
 | 
				
			||||||
	ubnt,powerbeam-5ac-gen2|\
 | 
						ubnt,powerbeam-5ac-gen2|\
 | 
				
			||||||
	ubnt,powerbeam-m-xw|\
 | 
						ubnt,powerbeam-m5-xw|\
 | 
				
			||||||
	ubnt,powerbridge-m|\
 | 
						ubnt,powerbridge-m|\
 | 
				
			||||||
	ubnt,rocket-5ac-lite|\
 | 
						ubnt,rocket-5ac-lite|\
 | 
				
			||||||
	ubnt,rocket-m|\
 | 
						ubnt,rocket-m|\
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -328,13 +328,13 @@ define Device/ubnt_powerbeam-5ac-gen2
 | 
				
			|||||||
endef
 | 
					endef
 | 
				
			||||||
TARGET_DEVICES += ubnt_powerbeam-5ac-gen2
 | 
					TARGET_DEVICES += ubnt_powerbeam-5ac-gen2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define Device/ubnt_powerbeam-m-xw
 | 
					define Device/ubnt_powerbeam-m5-xw
 | 
				
			||||||
  $(Device/ubnt-xw)
 | 
					  $(Device/ubnt-xw)
 | 
				
			||||||
  DEVICE_MODEL := PowerBeam M
 | 
					  DEVICE_MODEL := PowerBeam M5
 | 
				
			||||||
  DEVICE_PACKAGES += rssileds
 | 
					  DEVICE_PACKAGES += rssileds
 | 
				
			||||||
  SUPPORTED_DEVICES += loco-m-xw
 | 
					  SUPPORTED_DEVICES += loco-m-xw
 | 
				
			||||||
endef
 | 
					endef
 | 
				
			||||||
TARGET_DEVICES += ubnt_powerbeam-m-xw
 | 
					TARGET_DEVICES += ubnt_powerbeam-m5-xw
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define Device/ubnt_powerbridge-m
 | 
					define Device/ubnt_powerbridge-m
 | 
				
			||||||
  $(Device/ubnt-xm)
 | 
					  $(Device/ubnt-xm)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user