301-ath5k-fix-AHB-kconfig-dependency.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From: Felix Fietkau <[email protected]>
  2. Date: Sat, 27 Sep 2014 15:58:51 +0200
  3. Subject: [PATCH] ath5k: fix AHB kconfig dependency
  4. Signed-off-by: Felix Fietkau <[email protected]>
  5. ---
  6. --- a/drivers/net/wireless/ath/ath5k/Kconfig
  7. +++ b/drivers/net/wireless/ath/ath5k/Kconfig
  8. @@ -7,8 +7,8 @@ config ATH5K
  9. select BACKPORT_LEDS_CLASS
  10. select BACKPORT_NEW_LEDS
  11. select BACKPORT_AVERAGE
  12. - select ATH5K_AHB if (ATHEROS_AR231X && !PCI)
  13. - select ATH5K_PCI if (!ATHEROS_AR231X && PCI)
  14. + select ATH5K_AHB if ATHEROS_AR231X
  15. + select ATH5K_PCI if !ATHEROS_AR231X
  16. ---help---
  17. This module adds support for wireless adapters based on
  18. Atheros 5xxx chipset.
  19. @@ -55,14 +55,14 @@ config ATH5K_TRACER
  20. config ATH5K_AHB
  21. bool "Atheros 5xxx AHB bus support"
  22. - depends on (ATHEROS_AR231X && !PCI)
  23. + depends on ATHEROS_AR231X
  24. ---help---
  25. This adds support for WiSoC type chipsets of the 5xxx Atheros
  26. family.
  27. config ATH5K_PCI
  28. bool "Atheros 5xxx PCI bus support"
  29. - depends on (!ATHEROS_AR231X && PCI)
  30. + depends on !ATHEROS_AR231X
  31. ---help---
  32. This adds support for PCI type chipsets of the 5xxx Atheros
  33. family.