From b39df5bb8122a46c768d0fd2117bdc92b2df68f9 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Fri, 6 Jul 2012 11:12:02 +0000
Subject: ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board

SVN-Revision: 32638
---
 .../ar71xx/patches-3.3/610-MIPS-ath79-openwrt-machines.patch | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

(limited to 'target/linux')

diff --git a/target/linux/ar71xx/patches-3.3/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.3/610-MIPS-ath79-openwrt-machines.patch
index 601a0a95d5..1644366e39 100644
--- a/target/linux/ar71xx/patches-3.3/610-MIPS-ath79-openwrt-machines.patch
+++ b/target/linux/ar71xx/patches-3.3/610-MIPS-ath79-openwrt-machines.patch
@@ -186,7 +186,7 @@
  config ATH79_MACH_PB44
  	bool "Atheros PB44 reference board"
  	select SOC_AR71XX
-@@ -66,6 +137,416 @@ config ATH79_MACH_PB44
+@@ -66,6 +137,418 @@ config ATH79_MACH_PB44
  	  Say 'Y' here if you want your kernel to support the
  	  Atheros PB44 reference board.
  
@@ -390,11 +390,13 @@
 +config ATH79_MACH_OM2P
 +	bool "OpenMesh OM2P board support"
 +	select SOC_AR724X
++	select SOC_AR933X
 +	select ATH79_DEV_AP9X_PCI if PCI
 +	select ATH79_DEV_ETH
 +	select ATH79_DEV_GPIO_BUTTONS
 +	select ATH79_DEV_LEDS_GPIO
 +	select ATH79_DEV_M25P80
++	select ATH79_DEV_WMAC
 +
 +config ATH79_MACH_MZK_W04NU
 +	bool "Planex MZK-W04NU board support"
@@ -603,7 +605,7 @@
  config ATH79_MACH_UBNT_XM
  	bool "Ubiquiti Networks XM (rev 1.0) board"
  	select SOC_AR724X
-@@ -79,6 +560,24 @@ config ATH79_MACH_UBNT_XM
+@@ -79,6 +562,24 @@ config ATH79_MACH_UBNT_XM
  	  Say 'Y' here if you want your kernel to support the
  	  Ubiquiti Networks XM (rev 1.0) board.
  
@@ -628,7 +630,7 @@
  endmenu
  
  config SOC_AR71XX
-@@ -114,10 +613,6 @@ config SOC_QCA955X
+@@ -114,10 +615,6 @@ config SOC_QCA955X
  	select PCI_AR724X if PCI
  	def_bool n
  
@@ -639,7 +641,7 @@
  config ATH79_DEV_AP9X_PCI
  	select ATH79_PCI_ATH9K_FIXUP
  	def_bool n
-@@ -128,7 +623,14 @@ config ATH79_DEV_DSA
+@@ -128,7 +625,14 @@ config ATH79_DEV_DSA
  config ATH79_DEV_ETH
  	def_bool n
  
@@ -655,7 +657,7 @@
  	def_bool n
  
  config ATH79_DEV_GPIO_BUTTONS
-@@ -153,4 +655,7 @@ config ATH79_NVRAM
+@@ -153,4 +657,7 @@ config ATH79_NVRAM
  config ATH79_PCI_ATH9K_FIXUP
  	def_bool n
  
-- 
cgit v1.2.3