1 Index: linux-3.18.18/arch/mips/ath79/Kconfig
2 ===================================================================
3 --- linux-3.18.18.orig/arch/mips/ath79/Kconfig
4 +++ linux-3.18.18/arch/mips/ath79/Kconfig
5 @@ -66,6 +66,16 @@ config ATH79_MACH_ANTMINER_S1
9 +config ATH79_MACH_ANTMINER_S3
10 + bool "Bitmain Antminer S3 support"
12 + select ATH79_DEV_ETH
13 + select ATH79_DEV_GPIO_BUTTONS
14 + select ATH79_DEV_LEDS_GPIO
15 + select ATH79_DEV_M25P80
16 + select ATH79_DEV_USB
17 + select ATH79_DEV_WMAC
19 config ATH79_MACH_AP113
20 bool "Atheros AP113 board support"
22 Index: linux-3.18.18/arch/mips/ath79/Makefile
23 ===================================================================
24 --- linux-3.18.18.orig/arch/mips/ath79/Makefile
25 +++ linux-3.18.18/arch/mips/ath79/Makefile
26 @@ -43,6 +43,7 @@ obj-$(CONFIG_ATH79_MACH_ALFA_NX) += mach
27 obj-$(CONFIG_ATH79_MACH_ALL0258N) += mach-all0258n.o
28 obj-$(CONFIG_ATH79_MACH_ALL0315N) += mach-all0315n.o
29 obj-$(CONFIG_ATH79_MACH_ANTMINER_S1)+= mach-antminer-s1.o
30 +obj-$(CONFIG_ATH79_MACH_ANTMINER_S3)+= mach-antminer-s3.o
31 obj-$(CONFIG_ATH79_MACH_AP113) += mach-ap113.o
32 obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
33 obj-$(CONFIG_ATH79_MACH_AP132) += mach-ap132.o
34 Index: linux-3.18.18/arch/mips/ath79/machtypes.h
35 ===================================================================
36 --- linux-3.18.18.orig/arch/mips/ath79/machtypes.h
37 +++ linux-3.18.18/arch/mips/ath79/machtypes.h
38 @@ -22,6 +22,7 @@ enum ath79_mach_type {
39 ATH79_MACH_ALL0305, /* Allnet ALL0305 */
40 ATH79_MACH_ALL0315N, /* Allnet ALL0315N */
41 ATH79_MACH_ANTMINER_S1, /* Bitmain Antminer S1 */
42 + ATH79_MACH_ANTMINER_S3, /* Bitmain Antminer S3 */
43 ATH79_MACH_AP113, /* Atheros AP113 reference board */
44 ATH79_MACH_AP121, /* Atheros AP121 reference board */
45 ATH79_MACH_AP121_MINI, /* Atheros AP121-MINI reference board */