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.
9 BLOCK_MENU
:=Block Devices
11 define KernelPackage
/ata-core
12 SUBMENU
:=$(BLOCK_MENU
)
13 TITLE
:=Serial and Parallel ATA support
14 DEPENDS
:=@PCI_SUPPORT @LINUX_2_6
+kmod-scsi-core
16 FILES
:=$(LINUX_DIR
)/drivers
/ata
/libata.
$(LINUX_KMOD_SUFFIX
)
17 AUTOLOAD
:=$(call AutoLoad
,21,libata
)
20 $(eval
$(call KernelPackage
,ata-core
))
23 define KernelPackage
/ata-artop
24 SUBMENU
:=$(BLOCK_MENU
)
25 TITLE
:=ARTOP
6210/6260 PATA support
26 DEPENDS
:=kmod-ata-core
27 KCONFIG
:=CONFIG_PATA_ARTOP
28 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_artop.
$(LINUX_KMOD_SUFFIX
)
29 AUTOLOAD
:=$(call AutoLoad
,41,pata_artop
)
32 define KernelPackage
/ata-artop
/description
33 PATA support for ARTOP
6210/6260 host controllers.
36 $(eval
$(call KernelPackage
,ata-artop
))
39 define KernelPackage
/ata-ixp4xx-cf
40 SUBMENU
:=$(BLOCK_MENU
)
41 TITLE
:=IXP4XX Compact Flash support
42 DEPENDS
:=kmod-ata-core
43 KCONFIG
:=CONFIG_PATA_IXP4XX_CF
44 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_ixp4xx_cf.
$(LINUX_KMOD_SUFFIX
)
45 AUTOLOAD
:=$(call AutoLoad
,41,pata_ixp4xx_cf
)
48 define KernelPackage
/ata-ixp4xx-cf
/description
49 IXP4XX Compact Flash support.
52 $(eval
$(call KernelPackage
,ata-ixp4xx-cf
))
55 define KernelPackage
/ata-piix
56 SUBMENU
:=$(BLOCK_MENU
)
57 TITLE
:=Intel PIIX PATA
/SATA support
58 DEPENDS
:=kmod-ata-core
+kmod-ide-core
59 KCONFIG
:=CONFIG_ATA_PIIX
60 FILES
:=$(LINUX_DIR
)/drivers
/ata
/ata_piix.
$(LINUX_KMOD_SUFFIX
)
61 AUTOLOAD
:=$(call AutoLoad
,41,ata_piix
)
64 define KernelPackage
/ata-piix
/description
65 SATA support for Intel ICH5
/6/7/8 series host controllers and
66 PATA support for Intel ESB
/ICH
/PIIX3
/PIIX4 series host controllers.
69 $(eval
$(call KernelPackage
,ata-piix
))
72 define KernelPackage
/ata-via-sata
73 SUBMENU
:=$(BLOCK_MENU
)
74 TITLE
:=VIA SATA support
75 DEPENDS
:=kmod-ata-core
76 KCONFIG
:=CONFIG_SATA_VIA
77 FILES
:=$(LINUX_DIR
)/drivers
/ata
/sata_via.
$(LINUX_KMOD_SUFFIX
)
78 AUTOLOAD
:=$(call AutoLoad
,41,sata_via
)
81 define KernelPackage
/ata-via-sata
/description
82 This option enables support for VIA Serial ATA.
85 $(eval
$(call KernelPackage
,ata-via-sata
))
88 define KernelPackage
/ide-core
89 SUBMENU
:=$(BLOCK_MENU
)
90 TITLE
:=IDE
(ATA
/ATAPI
) device support
96 CONFIG_BLK_DEV_IDEDISK \
97 CONFIG_BLK_DEV_IDEDMA_PCI
=y \
98 CONFIG_BLK_DEV_IDEPCI
=y
100 $(LINUX_DIR
)/drivers
/ide
/ide-core.
$(LINUX_KMOD_SUFFIX
) \
101 $(LINUX_DIR
)/drivers
/ide
/ide-disk.
$(LINUX_KMOD_SUFFIX
)
102 AUTOLOAD
:=$(call AutoLoad
,20,ide-core
) $(call AutoLoad
,40,ide-disk
)
105 define KernelPackage
/ide-core
/2.4
106 FILES
+=$(LINUX_DIR
)/drivers
/ide
/ide-detect.
$(LINUX_KMOD_SUFFIX
)
107 AUTOLOAD
+=$(call AutoLoad
,30,ide-detect
)
110 define KernelPackage
/ide-core
/2.6
111 FILES
+=$(LINUX_DIR
)/drivers
/ide
/ide-generic.
$(LINUX_KMOD_SUFFIX
)
112 AUTOLOAD
+=$(call AutoLoad
,30,ide-generic
)
115 define KernelPackage
/ide-core
/description
116 Kernel support for IDE
, useful for usb mass storage devices
(e.g. on WL-HDD
)
123 $(eval
$(call KernelPackage
,ide-core
))
126 define KernelPackage
/ide-aec62xx
127 SUBMENU
:=$(BLOCK_MENU
)
128 TITLE
:=Acard AEC62xx IDE driver
129 DEPENDS
:=@PCI_SUPPORT
+kmod-ide-core
130 KCONFIG
:=CONFIG_BLK_DEV_AEC62XX
131 FILES
:=$(LINUX_DIR
)/drivers
/ide
/pci
/aec62xx.
$(LINUX_KMOD_SUFFIX
)
132 AUTOLOAD
:=$(call AutoLoad
,30,aec62xx
)
135 define KernelPackage
/ide-aec62xx
/description
136 Support for Acard AEC62xx
(Artop ATP8xx
) IDE controllers.
139 $(eval
$(call KernelPackage
,ide-aec62xx
))
142 define KernelPackage
/ide-pdc202xx
143 SUBMENU
:=$(BLOCK_MENU
)
144 TITLE
:=Promise PDC202xx IDE driver
145 DEPENDS
:=@LINUX_2_4
+kmod-ide-core
146 KCONFIG
:=CONFIG_BLK_DEV_PDC202XX_OLD
147 FILES
:=$(LINUX_DIR
)/drivers
/ide
/pci
/pdc202xx_old.
$(LINUX_KMOD_SUFFIX
)
148 AUTOLOAD
:=$(call AutoLoad
,30,pdc202xx_old
)
151 define KernelPackage
/ide-pdc202xx
/description
152 Support for the Promise Ultra
33/66/100 (PDC202
{46|
62|
65|
67|
68}) IDE
156 $(eval
$(call KernelPackage
,ide-pdc202xx
))
159 define KernelPackage
/scsi-core
160 SUBMENU
:=$(BLOCK_MENU
)
161 TITLE
:=SCSI device support
166 $(LINUX_DIR
)/drivers
/scsi
/scsi_mod.
$(LINUX_KMOD_SUFFIX
) \
167 $(LINUX_DIR
)/drivers
/scsi
/sd_mod.
$(LINUX_KMOD_SUFFIX
)
168 AUTOLOAD
:=$(call AutoLoad
,20,scsi_mod
) $(call AutoLoad
,40,sd_mod
)
171 $(eval
$(call KernelPackage
,scsi-core
))
174 define KernelPackage
/scsi-generic
175 SUBMENU
:=$(BLOCK_MENU
)
176 TITLE
:=Kernel support for SCSI generic
180 $(LINUX_DIR
)/drivers
/scsi
/sg.
$(LINUX_KMOD_SUFFIX
)
181 AUTOLOAD
:=$(call AutoLoad
,65,sg
)
184 $(eval
$(call KernelPackage
,scsi-generic
))
187 define KernelPackage
/loop
188 SUBMENU
:=$(BLOCK_MENU
)
189 TITLE
:=Loopback device support
191 CONFIG_BLK_DEV_LOOP \
192 CONFIG_BLK_DEV_CRYPTOLOOP
=n
193 FILES
:=$(LINUX_DIR
)/drivers
/block
/loop.
$(LINUX_KMOD_SUFFIX
)
194 AUTOLOAD
:=$(call AutoLoad
,30,loop
)
197 define KernelPackage
/loop
/description
198 Kernel module for loopback device support
201 $(eval
$(call KernelPackage
,loop
))
204 define KernelPackage
/nbd
205 SUBMENU
:=$(BLOCK_MENU
)
206 TITLE
:=Network block device support
207 KCONFIG
:=CONFIG_BLK_DEV_NBD
208 FILES
:=$(LINUX_DIR
)/drivers
/block
/nbd.
$(LINUX_KMOD_SUFFIX
)
209 AUTOLOAD
:=$(call AutoLoad
,30,nbd
)
212 define KernelPackage
/nbd
/description
213 Kernel module for network block device support
216 $(eval
$(call KernelPackage
,nbd
))
219 define KernelPackage
/pata-rb153-cf
220 SUBMENU
:=$(BLOCK_MENU
)
221 DEPENDS
:=kmod-ata-core @TARGET_adm5120_router_le
222 TITLE
:=RouterBOARD
153 CF Slot support
223 KCONFIG
:=CONFIG_PATA_RB153_CF
224 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_rb153_cf.
$(LINUX_KMOD_SUFFIX
)
225 AUTOLOAD
:=$(call AutoLoad
,30,pata_rb153_cf
)
228 define KernelPackage
/pata-rb153-cf
/description
229 Kernel support for the RouterBoard
153 CF slot.
232 $(eval
$(call KernelPackage
,pata-rb153-cf
))