--- zzzz-none-000/linux-3.10.107/arch/mips/ath79/Kconfig 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/arch/mips/ath79/Kconfig 2021-11-10 11:53:53.000000000 +0000 @@ -1,118 +1,110 @@ if ATH79 -menu "Atheros AR71XX/AR724X/AR913X machine selection" +choice + prompt "Atheros AR71XX/AR724X/AR913X machine selection" + depends on ATH79 -config ATH79_MACH_AP121 - bool "Atheros AP121 reference board" - select SOC_AR933X - select ATH79_DEV_GPIO_BUTTONS - select ATH79_DEV_LEDS_GPIO +config SOC_AR933X + bool "Atheros AR933X based design" + select ATH79_DEV_SPI + select ATH79_DEV_USB + select ATH79_DEV_WMAC + help + Say 'Y' here if you want your kernel to support the Atheros AR933X + +config SOC_QCA953X + bool "Atheros QCA953X 'Honey Bee' based design" + select ATH79_DEV_SPI + select ATH79_DEV_USB + select ATH79_DEV_WMAC + help + Say 'Y' here if you want your kernel to support the Atheros QCA953X + +config SOC_QCA955X + bool "Atheros QCA955X based design" select ATH79_DEV_SPI select ATH79_DEV_USB select ATH79_DEV_WMAC help - Say 'Y' here if you want your kernel to support the - Atheros AP121 reference board. + Say 'Y' here if you want your kernel to support the Atheros QCA955X -config ATH79_MACH_AP136 - bool "Atheros AP136 reference board" - select SOC_QCA955X - select ATH79_DEV_GPIO_BUTTONS - select ATH79_DEV_LEDS_GPIO +config SOC_QCA956X + bool "Atheros QCA956X 'Dragonfly' based design" select ATH79_DEV_SPI select ATH79_DEV_USB select ATH79_DEV_WMAC help - Say 'Y' here if you want your kernel to support the - Atheros AP136 reference board. + Say 'Y' here if you want your kernel to support the Atheros QCA956X -config ATH79_MACH_AP81 - bool "Atheros AP81 reference board" - select SOC_AR913X - select ATH79_DEV_GPIO_BUTTONS - select ATH79_DEV_LEDS_GPIO +config SOC_AR913X + bool "Atheros AR913X based design" select ATH79_DEV_SPI select ATH79_DEV_USB select ATH79_DEV_WMAC help - Say 'Y' here if you want your kernel to support the - Atheros AP81 reference board. + Say 'Y' here if you want your kernel to support the Atheros AR913X -config ATH79_MACH_DB120 - bool "Atheros DB120 reference board" - select SOC_AR934X - select ATH79_DEV_GPIO_BUTTONS - select ATH79_DEV_LEDS_GPIO +config SOC_AR934X + bool "Atheros AR934X based design" select ATH79_DEV_SPI select ATH79_DEV_USB select ATH79_DEV_WMAC help - Say 'Y' here if you want your kernel to support the - Atheros DB120 reference board. + Say 'Y' here if you want your kernel to support the Atheros AR934X -config ATH79_MACH_PB44 - bool "Atheros PB44 reference board" - select SOC_AR71XX - select ATH79_DEV_GPIO_BUTTONS - select ATH79_DEV_LEDS_GPIO +config SOC_AR71XX + bool "Atheros AR71XX based design" select ATH79_DEV_SPI select ATH79_DEV_USB help - Say 'Y' here if you want your kernel to support the - Atheros PB44 reference board. + Say 'Y' here if you want your kernel to support the Atheros AR71XX -config ATH79_MACH_UBNT_XM - bool "Ubiquiti Networks XM (rev 1.0) board" - select SOC_AR724X - select ATH79_DEV_GPIO_BUTTONS - select ATH79_DEV_LEDS_GPIO +config SOC_AR724X + bool "Atheros AR724X based design" select ATH79_DEV_SPI help - Say 'Y' here if you want your kernel to support the - Ubiquiti Networks XM (rev 1.0) board. + Say 'Y' here if you want your kernel to support the Atheros AR724X -endmenu +endchoice config SOC_AR71XX select USB_ARCH_HAS_EHCI select USB_ARCH_HAS_OHCI select HW_HAS_PCI - def_bool n config SOC_AR724X select USB_ARCH_HAS_EHCI select USB_ARCH_HAS_OHCI select HW_HAS_PCI select PCI_AR724X if PCI - def_bool n config SOC_AR913X select USB_ARCH_HAS_EHCI - def_bool n config SOC_AR933X select USB_ARCH_HAS_EHCI - def_bool n config SOC_AR934X select USB_ARCH_HAS_EHCI select HW_HAS_PCI select PCI_AR724X if PCI - def_bool n -config SOC_QCA955X +config SOC_QCA953X select USB_ARCH_HAS_EHCI select HW_HAS_PCI select PCI_AR724X if PCI - def_bool n -config PCI_AR724X - def_bool n +config SOC_QCA955X + select USB_ARCH_HAS_EHCI + select HW_HAS_PCI + select PCI_AR724X if PCI -config ATH79_DEV_GPIO_BUTTONS - def_bool n +config SOC_QCA956X + select USB_ARCH_HAS_EHCI + select HW_HAS_PCI + select PCI_AR724X if PCI -config ATH79_DEV_LEDS_GPIO +config PCI_AR724X def_bool n config ATH79_DEV_SPI @@ -122,7 +114,86 @@ def_bool n config ATH79_DEV_WMAC - depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA955X) + depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X|| SOC_QCA953X || SOC_QCA955X || SOC_QCA956X) def_bool n +config NMI_ARBITER_WORKAROUND + bool "NMI-Workaround for Atheros ar934x based board" + default y + depends on SOC_AR934X + +config ATH_DDR_RELEASE_TIMER + int "Use RST Timer 2 to prevent CPU hogging the DDR" + depends on SOC_AR934X || SOC_QCA955X + default 0 if SOC_AR934X || SOC_QCA955X + help + Use the second RST Timer to prevent CPU from hogging the DDR + Set this to zero to turn off this feature + +config ATH_TURN_ON_DDR_HOG + bool "DDR Hog code [Debug helpers]" + depends on SOC_AR934X || SOC_QCA955X + default n + help + DDR Hogging code snippets. This is used while testing + to re-create USB Babble (or) SLIC/I2S failures. + +config ATH_TEST_TIMER + bool "Validate WDT and other timers" + depends on SOC_QCA955X + default n + +config INSMOD_KSEG0 + bool "Allocation of code segment when inserting module from KSEG0" + depends on SOC_AR724X || SOC_AR934X || SCO_QCA955X + +config PERICOM + bool "Pericom Switch support" + depends on SOC_AR724X || SOC_AR934X || SCO_QCA955X + +config I2S + bool "I2s support" + depends on SOC_AR724X || MACH_AR933x || SOC_AR934X || SCO_QCA955X + default n + +config KMALLOC_MINALIGN_64BYTE + bool "64 byte min alignment for kmalloc" + depends on SOC_AR724X || MACH_AR933x || SOC_AR934X || SCO_QCA955X + default n + +config PRIV_SKB_MEM + bool "Use contiguous fixed memory pool for SKBs of size less than 4KB" + depends on SOC_AR724X || MACH_AR933x || SOC_AR934X || SCO_QCA955X + default n + +config PRIV_SKB_MEM_2K + int "Size of memory pool in MB for SKBs of size 2KB - default 5MB" + depends on PRIV_SKB_MEM + default 5 + +config PRIV_SKB_MEM_4K + int "Size of memory pool in MB for SKBs of size 4KB - default 9MB" + depends on PRIV_SKB_MEM + default 9 + +config WLAN_4K_SKB_OPT + bool "Allocate 4K-SKB with separate SKB shinfo to save memory" + depends on SOC_AR724X || SOC_AR934X || SCO_QCA955X + default n + +config ATH_PERF + bool "Try to improve Performance" + depends on SOC_AR724X || SOC_AR934X || SCO_QCA955X + default n + +config ATH_HWCS + bool "Enable Atheros H/W Checksum Engine" + depends on SOC_AR934X || SCO_QCA955X + default n + +config ATH_LOW_POWER_ENABLE + bool "Enable Low-Power-Support for Atheros PCIe" + depends on SOC_AR934X + default n + endif