X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fpatches-3.18%2F610-MIPS-ath79-openwrt-machines.patch;h=d3749666e367ad012e78f964403158346cfe152c;hb=8399be545a01b05549902a96778b9b3983a6b4ec;hp=dfbc766c28feabf57db5031ff221c0c7c73938e9;hpb=e04e6230092fc03215685d820abb25cc503c3357;p=lede.git diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch index dfbc766c28..d3749666e3 100644 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ath79/machtypes.h +++ b/arch/mips/ath79/machtypes.h -@@ -16,22 +16,190 @@ +@@ -16,22 +16,192 @@ enum ath79_mach_type { ATH79_MACH_GENERIC = 0, @@ -178,6 +178,8 @@ + ATH79_MACH_WNR1000_V2, /* NETGEAR WNR1000 v2 */ + ATH79_MACH_WP543, /* Compex WP543 */ + ATH79_MACH_WPE72, /* Compex WPE72 */ ++ ATH79_MACH_WPJ344, /* Compex WPJ344 */ ++ ATH79_MACH_WPJ531, /* Compex WPJ531 */ + ATH79_MACH_WPJ558, /* Compex WPJ558 */ + ATH79_MACH_WRT160NL, /* Linksys WRT160NL */ + ATH79_MACH_WRT400N, /* Linksys WRT400N */ @@ -264,7 +266,7 @@ config ATH79_MACH_AP121 bool "Atheros AP121 reference board" select SOC_AR933X -@@ -11,62 +75,980 @@ config ATH79_MACH_AP121 +@@ -11,62 +75,996 @@ config ATH79_MACH_AP121 select ATH79_DEV_M25P80 select ATH79_DEV_USB select ATH79_DEV_WMAC @@ -499,6 +501,26 @@ + select ATH79_DEV_USB + select MYLOADER + ++config ATH79_MACH_WPJ344 ++ bool "Compex WPJ344 board support" ++ select SOC_AS934X ++ select ATH79_DEV_ETH ++ select ATH79_DEV_GPIO_BUTTONS ++ select ATH79_DEV_LEDS_GPIO ++ select ATH79_DEV_M25P80 ++ select ATH79_DEV_USB ++ select ATH79_DEV_WMAC ++ ++config ATH79_MACH_WPJ531 ++ bool "Compex WPJ531 board support" ++ select SOC_QCA953X ++ select ATH79_DEV_ETH ++ select ATH79_DEV_GPIO_BUTTONS ++ select ATH79_DEV_LEDS_GPIO ++ select ATH79_DEV_M25P80 ++ select ATH79_DEV_USB ++ select ATH79_DEV_WMAC ++ +config ATH79_MACH_WPJ558 + bool "Compex WPJ558 board support" + select SOC_QCA955X @@ -735,7 +757,6 @@ + select ATH79_DEV_ETH + select ATH79_DEV_USB + select ATH79_ROUTERBOOT -+ select RLE_DECOMPRESS + +config ATH79_MACH_RB91X + bool "MikroTik RouterBOARD 91X support" @@ -745,7 +766,6 @@ + select ATH79_DEV_WMAC + select ATH79_DEV_USB + select ATH79_ROUTERBOOT -+ select RLE_DECOMPRESS + +config ATH79_MACH_RB95X + bool "MikroTik RouterBOARD 95X support" @@ -755,7 +775,6 @@ + select ATH79_DEV_WMAC + select ATH79_DEV_USB + select ATH79_ROUTERBOOT -+ select RLE_DECOMPRESS + +config ATH79_MACH_RB2011 + bool "MikroTik RouterBOARD 2011 support" @@ -766,7 +785,6 @@ + select ATH79_DEV_USB + select ATH79_DEV_WMAC + select ATH79_ROUTERBOOT -+ select RLE_DECOMPRESS + +config ATH79_MACH_RBSXTLITE + bool "MikroTik RouterBOARD SXT Lite" @@ -1273,7 +1291,7 @@ config ATH79_MACH_UBNT_XM bool "Ubiquiti Networks XM/UniFi boards" -@@ -83,6 +1056,97 @@ config ATH79_MACH_UBNT_XM +@@ -83,6 +1081,97 @@ config ATH79_MACH_UBNT_XM Say 'Y' here if you want your kernel to support the Ubiquiti Networks XM (rev 1.0) board. @@ -1371,7 +1389,7 @@ endmenu config SOC_AR71XX -@@ -124,7 +1188,10 @@ config ATH79_DEV_DSA +@@ -124,7 +1213,10 @@ config ATH79_DEV_DSA config ATH79_DEV_ETH def_bool n @@ -1383,17 +1401,21 @@ def_bool n config ATH79_DEV_GPIO_BUTTONS -@@ -156,4 +1223,7 @@ config ATH79_PCI_ATH9K_FIXUP - config ATH79_ROUTERBOOT +@@ -154,6 +1246,11 @@ config ATH79_PCI_ATH9K_FIXUP def_bool n -+config PCI_AR724X + config ATH79_ROUTERBOOT ++ select RLE_DECOMPRESS ++ select LZO_DECOMPRESS + def_bool n + ++config PCI_AR724X + def_bool n + endif --- a/arch/mips/ath79/Makefile +++ b/arch/mips/ath79/Makefile -@@ -38,9 +38,119 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route +@@ -38,9 +48,121 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route # # Machines # @@ -1502,7 +1524,9 @@ +obj-$(CONFIG_ATH79_MACH_WNR2200) += mach-wnr2200.o +obj-$(CONFIG_ATH79_MACH_WP543) += mach-wp543.o +obj-$(CONFIG_ATH79_MACH_WPE72) += mach-wpe72.o -+obj-$(CONFIG_ATH79_MACH_WPJ558) += mach-wpj558.o ++obj-$(CONFIG_ATH79_MACH_WPJ344) += mach-wpj344.o ++obj-$(CONFIG_ATH79_MACH_WPJ531) += mach-wpj531.o ++obj-$(CONFIG_ATH79_MACH_WPJ558) += mach-wpj558.o +obj-$(CONFIG_ATH79_MACH_WRT160NL) += mach-wrt160nl.o +obj-$(CONFIG_ATH79_MACH_WRT400N) += mach-wrt400n.o +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH) += mach-wzr-hp-g300nh.o