Fixed required KCONFIG symbols for block IDE modules
[openwrt/svn-archive/archive.git] / package / kernel / modules / block.mk
1 BLMENU:=Block Devices
2
3 define KernelPackage/ide-core
4 TITLE:=Kernel support for IDE
5 DESCRIPTION:=\
6 Useful for usb mass storage devices (e.g. on WL-HDD)\\\
7 \\\
8 Includes: \\\
9 - ide-core \\\
10 - ide-detect \\\
11 - ide-disk
12 KCONFIG:=CONFIG_IDE CONFIG_BLK_DEV_IDE CONFIG_IDE_GENERIC CONFIG_BLK_DEV_IDEDISK
13 SUBMENU:=$(BLMENU)
14 endef
15 define KernelPackage/ide-core/2.4
16 FILES:= \
17 $(LINUX_DIR)/drivers/ide/ide-core.$(LINUX_KMOD_SUFFIX) \
18 $(LINUX_DIR)/drivers/ide/ide-detect.$(LINUX_KMOD_SUFFIX) \
19 $(LINUX_DIR)/drivers/ide/ide-disk.$(LINUX_KMOD_SUFFIX)
20 AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-detect ide-disk)
21 endef
22 define KernelPackage/ide-core/2.6
23 FILES:= \
24 $(LINUX_DIR)/drivers/ide/ide-core.$(LINUX_KMOD_SUFFIX) \
25 $(LINUX_DIR)/drivers/ide/ide-generic.$(LINUX_KMOD_SUFFIX) \
26 $(LINUX_DIR)/drivers/ide/ide-disk.$(LINUX_KMOD_SUFFIX)
27 AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-generic ide-disk)
28 endef
29 $(eval $(call KernelPackage,ide-core))
30
31 define KernelPackage/ide-pdc202xx
32 TITLE:=PDC202xx IDE driver
33 SUBMENU:=$(BLMENU)
34 DEPENDS:=@LINUX_2_4
35 KCONFIG:=CONFIG_BLK_DEV_PDC202XX_OLD
36 FILES:=$(LINUX_DIR)/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
37 AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
38 endef
39 $(eval $(call KernelPackage,ide-pdc202xx))
40
41 define KernelPackage/ide-aec62xx
42 TITLE:=AEC62xx IDE driver
43 SUBMENU:=$(BLMENU)
44 KCONFIG:=CONFIG_BLK_DEV_AEC62XX
45 FILES:=$(LINUX_DIR)/drivers/ide/pci/aec62xx.$(LINUX_KMOD_SUFFIX)
46 AUTOLOAD:=$(call AutoLoad,30,aec62xx)
47 endef
48 $(eval $(call KernelPackage,ide-aec62xx))
49
50 define KernelPackage/scsi-core
51 TITLE:=Kernel support for SCSI
52 SUBMENU:=$(BLMENU)
53 KCONFIG:=CONFIG_SCSI CONFIG_BLK_DEV_SD
54 FILES:= \
55 $(LINUX_DIR)/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX) \
56 $(LINUX_DIR)/drivers/scsi/sd_mod.$(LINUX_KMOD_SUFFIX)
57 endef
58 $(eval $(call KernelPackage,scsi-core))
59
60 define KernelPackage/libata
61 TITLE:=libata
62 DESCRIPTION:=libata
63 KCONFIG:=CONFIG_ATA
64 SUBMENU:=$(BLMENU)
65 FILES:=$(LINUX_DIR)/drivers/ata/libata.$(LINUX_KMOD_SUFFIX)
66 DEPENDS:=@PCI_SUPPORT @LINUX_2_6
67 endef
68 $(eval $(call KernelPackage,libata))
69
70 define KernelPackage/ata-piix
71 TITLE:=ata-piix
72 DESCRIPTION:=Kernel module for Intel PIIX SATA controller
73 KCONFIG:=CONFIG_ATA_PIIX
74 SUBMENU:=$(BLMENU)
75 AUTOLOAD:=$(call AutoLoad,30,scsi_mod libata sd_mod ata_piix)
76 FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.$(LINUX_KMOD_SUFFIX)
77 DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core
78 endef
79 $(eval $(call KernelPackage,ata-piix))
80
81 define KernelPackage/pata-artop
82 TITLE:=pata-artop
83 DESCRIPTION:=Kernel module for ARTOP PATA controller
84 KCONFIG:=CONFIG_PATA_ARTOP
85 SUBMENU:=$(BLMENU)
86 AUTOLOAD:=$(call AutoLoad,30,scsi_mod libata sd_mod pata_artop)
87 FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.$(LINUX_KMOD_SUFFIX)
88 DEPENDS:=kmod-libata +kmod-scsi-core
89 endef
90 $(eval $(call KernelPackage,pata-artop))
91
92