420-net-ar71xx_mac_driver.patch 787 B

12345678910111213141516171819202122232425262728
  1. --- a/drivers/net/ethernet/atheros/Kconfig
  2. +++ b/drivers/net/ethernet/atheros/Kconfig
  3. @@ -5,7 +5,7 @@
  4. config NET_VENDOR_ATHEROS
  5. bool "Atheros devices"
  6. default y
  7. - depends on PCI
  8. + depends on (PCI || ATH79)
  9. ---help---
  10. If you have a network (Ethernet) card belonging to this class, say Y.
  11. @@ -78,4 +78,6 @@ config ALX
  12. To compile this driver as a module, choose M here. The module
  13. will be called alx.
  14. +source drivers/net/ethernet/atheros/ag71xx/Kconfig
  15. +
  16. endif # NET_VENDOR_ATHEROS
  17. --- a/drivers/net/ethernet/atheros/Makefile
  18. +++ b/drivers/net/ethernet/atheros/Makefile
  19. @@ -3,6 +3,7 @@
  20. # Makefile for the Atheros network device drivers.
  21. #
  22. +obj-$(CONFIG_AG71XX) += ag71xx/
  23. obj-$(CONFIG_ATL1) += atlx/
  24. obj-$(CONFIG_ATL2) += atlx/
  25. obj-$(CONFIG_ATL1E) += atl1e/