420-net-ar71xx_mac_driver.patch 832 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. and read the Ethernet-HOWTO, available from
  12. @@ -80,4 +80,6 @@ config ALX
  13. To compile this driver as a module, choose M here. The module
  14. will be called alx.
  15. +source drivers/net/ethernet/atheros/ag71xx/Kconfig
  16. +
  17. endif # NET_VENDOR_ATHEROS
  18. --- a/drivers/net/ethernet/atheros/Makefile
  19. +++ b/drivers/net/ethernet/atheros/Makefile
  20. @@ -2,6 +2,7 @@
  21. # Makefile for the Atheros network device drivers.
  22. #
  23. +obj-$(CONFIG_AG71XX) += ag71xx/
  24. obj-$(CONFIG_ATL1) += atlx/
  25. obj-$(CONFIG_ATL2) += atlx/
  26. obj-$(CONFIG_ATL1E) += atl1e/