split out scsi module support and add ata piix support
[openwrt/svn-archive/archive.git] / package / kernel / modules / block.mk
1 BLMENU:=Block Devices
2
3 define KernelPackage/libata
4 TITLE:=libata
5 DESCRIPTION:=libata
6 KCONFIG:=$(CONFIG_ATA)
7 SUBMENU:=$(BLMENU)
8 FILES:=$(MODULES_DIR)/kernel/drivers/ata/libata.$(LINUX_KMOD_SUFFIX)
9 endef
10 $(eval $(call KernelPackage,libata))
11
12 define KernelPackage/ata-piix
13 TITLE:=ata-piix
14 DESCRIPTION:=Kernel module for Intel PIIX SATA controller
15 KCONFIG:=$(CONFIG_ATA_PIIX)
16 SUBMENU:=$(BLMENU)
17 AUTOLOAD:=$(call AutoLoad,30,scsi_mod libata sd_mod ata_piix)
18 FILES:=$(MODULES_DIR)/kernel/drivers/ata/ata_piix.$(LINUX_KMOD_SUFFIX)
19 DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core
20 endef
21 $(eval $(call KernelPackage,ata-piix))