+$(eval $(call KernelPackage,ata-sunxi))
+
+define KernelPackage/sun4i-emac
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=AllWinner EMAC Ethernet support
+ DEPENDS:=@TARGET_sunxi +kmod-of-mdio +kmod-libphy
+ KCONFIG:=CONFIG_SUN4I_EMAC
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/allwinner/sun4i-emac.ko
+ AUTOLOAD:=$(call AutoProbe,sun4i-emac)
+endef
+
+$(eval $(call KernelPackage,sun4i-emac))
+
+
+define KernelPackage/sound-soc-sunxi
+ TITLE:=AllWinner built-in SoC sound support
+ KCONFIG:=CONFIG_SND_SUN4I_CODEC
+ FILES:=$(LINUX_DIR)/sound/soc/sunxi/sun4i-codec.ko
+ AUTOLOAD:=$(call AutoLoad,65,sun4i-codec)
+ DEPENDS:=@TARGET_sunxi +kmod-sound-soc-core
+ $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-sunxi/description
+ Kernel support for AllWinner built-in SoC audio
+endef