kernel: remove hack patch, move kirkwood specific kmods to target modules.mk
[openwrt/staging/pepe2k.git] / target / linux / kirkwood / modules.mk
1 define KernelPackage/ata-marvell-sata
2 TITLE:=Marvell Serial ATA support
3 DEPENDS:=@TARGET_kirkwood
4 KCONFIG:=CONFIG_SATA_MV CONFIG_SATA_PMP=y
5 FILES:=$(LINUX_DIR)/drivers/ata/sata_mv.ko
6 AUTOLOAD:=$(call AutoLoad,41,sata_mv,1)
7 $(call AddDepends/ata)
8 endef
9
10 define KernelPackage/ata-marvell-sata/description
11 SATA support for marvell chipsets
12 endef
13
14 $(eval $(call KernelPackage,ata-marvell-sata))
15
16 define KernelPackage/mvsdio
17 SUBMENU:=$(OTHER_MENU)
18 TITLE:=Marvell MMC/SD/SDIO host driver
19 DEPENDS:=+kmod-mmc @TARGET_kirkwood
20 KCONFIG:= CONFIG_MMC_MVSDIO
21 FILES:= \
22 $(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
23 AUTOLOAD:=$(call AutoProbe,mvsdio,1)
24 endef
25
26 define KernelPackage/mvsdio/description
27 Kernel support for the Marvell SDIO host driver.
28 endef
29
30 $(eval $(call KernelPackage,mvsdio))