003-adm5120_switch.patch 656 B

1234567891011121314151617181920212223
  1. --- a/drivers/net/Kconfig
  2. +++ b/drivers/net/Kconfig
  3. @@ -263,6 +263,10 @@ source "drivers/net/dsa/Kconfig"
  4. source "drivers/net/ethernet/Kconfig"
  5. +config ADM5120_ENET
  6. + tristate "ADM5120 Ethernet switch support"
  7. + depends on ADM5120
  8. +
  9. source "drivers/net/fddi/Kconfig"
  10. source "drivers/net/hippi/Kconfig"
  11. --- a/drivers/net/Makefile
  12. +++ b/drivers/net/Makefile
  13. @@ -34,6 +34,7 @@ obj-$(CONFIG_CAN) += can/
  14. obj-$(CONFIG_ETRAX_ETHERNET) += cris/
  15. obj-$(CONFIG_NET_DSA) += dsa/
  16. obj-$(CONFIG_ETHERNET) += ethernet/
  17. +obj-$(CONFIG_ADM5120_ENET) += adm5120sw.o
  18. obj-$(CONFIG_FDDI) += fddi/
  19. obj-$(CONFIG_HIPPI) += hippi/
  20. obj-$(CONFIG_HAMRADIO) += hamradio/