target/ath25: offer ar231x ethernet as a module and make it a default choice
[openwrt-working-2016/.git] / target / linux / ath25 / modules.mk
1 define KernelPackage/ar231x
2   TITLE:=AR231x/531x ethernet controller
3   KCONFIG:=CONFIG_NET_AR231X \
4         CONFIG_NET_VENDOR_ATHEROS=y \
5         CONFIG_ETHERNET=y \
6         CONFIG_PHYLIB \
7         CONFIG_MII
8   DEPENDS:=+TARGET_ath25 +kmod-mii +kmod-libphy
9   SUBMENU:=$(NETWORK_DEVICES_MENU)
10   FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/ar231x/ar231x.ko
11   AUTOLOAD:=$(call AutoLoad,18,ar231x,1)
12 endef
13
14 define KernelPackage/ar231x/description
15  Kernel modules forAR231x/531x Ethernet adapter
16 endef
17
18 $(eval $(call KernelPackage,ar231x))