2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/include/kernel.mk
9 define KernelPackage
/ide-core
10 TITLE
:=Kernel support for IDE
11 DESCRIPTION
:=Kernel modules for IDE support
\\\
12 useful for usb mass storage devices
(e.g. on WL-HDD
)\\\
20 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/ide
/*.
$(LINUX_KMOD_SUFFIX
)
21 MODULES
:=$(call AutoLoad
,20,ide-core
) $(call AutoLoad
,90,ide-detect ide-disk
)
23 $(eval
$(call KernelPackage
,ide-core
))
25 define KernelPackage
/ide-pdc202xx
26 TITLE
:=PDC202xx IDE driver
27 DESCRIPTION
:=PDC202xx IDE driver
28 KCONFIG
:=CONFIG_BLK_DEV_PDC202XX_OLD
29 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/ide
/pci
/pdc202xx_old.
$(LINUX_KMOD_SUFFIX
)
30 MODULES
:=$(call AutoLoad
,30,pdc202xx_old
)
32 $(eval
$(call KernelPackage
,ide-pdc202xx
))