2 # Copyright (C) 2006-2008 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-ahci
24 SUBMENU
:=$(BLOCK_MENU
)
25 TITLE
:=AHCI Serial ATA support
26 DEPENDS
:=kmod-ata-core
27 KCONFIG
:=CONFIG_SATA_AHCI
28 FILES
:=$(LINUX_DIR
)/drivers
/ata
/ahci.
$(LINUX_KMOD_SUFFIX
)
29 AUTOLOAD
:=$(call AutoLoad
,41,ahci
)
32 define KernelPackage
/ata-ahci
/description
33 Support for AHCI Serial ATA controllers.
36 $(eval
$(call KernelPackage
,ata-ahci
))
39 define KernelPackage
/ata-artop
40 SUBMENU
:=$(BLOCK_MENU
)
41 TITLE
:=ARTOP
6210/6260 PATA support
42 DEPENDS
:=kmod-ata-core
43 KCONFIG
:=CONFIG_PATA_ARTOP
44 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_artop.
$(LINUX_KMOD_SUFFIX
)
45 AUTOLOAD
:=$(call AutoLoad
,41,pata_artop
)
48 define KernelPackage
/ata-artop
/description
49 PATA support for ARTOP
6210/6260 host controllers.
52 $(eval
$(call KernelPackage
,ata-artop
))
55 define KernelPackage
/ata-ixp4xx-cf
56 SUBMENU
:=$(BLOCK_MENU
)
57 TITLE
:=IXP4XX Compact Flash support
58 DEPENDS
:=kmod-ata-core
59 KCONFIG
:=CONFIG_PATA_IXP4XX_CF
60 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_ixp4xx_cf.
$(LINUX_KMOD_SUFFIX
)
61 AUTOLOAD
:=$(call AutoLoad
,41,pata_ixp4xx_cf
)
64 define KernelPackage
/ata-ixp4xx-cf
/description
65 IXP4XX Compact Flash support.
68 $(eval
$(call KernelPackage
,ata-ixp4xx-cf
))
70 define KernelPackage
/ata-rb532-cf
71 SUBMENU
:=$(BLOCK_MENU
)
72 TITLE
:=RB532 Compact Flash support
73 DEPENDS
:=@TARGET_rb532 kmod-ata-core @BROKEN
75 CONFIG_PATA_PLATFORM \
78 $(LINUX_DIR
)/drivers
/ata
/pata_platform.
$(LINUX_KMOD_SUFFIX
) \
79 $(LINUX_DIR
)/drivers
/ata
/pata_rb532_cf.
$(LINUX_KMOD_SUFFIX
)
80 AUTOLOAD
:=$(call AutoLoad
,41,pata_platform pata_rb532_cf
)
83 define KernelPackage
/ata-rb532-cf
/description
84 RB532 Compact Flash support.
87 $(eval
$(call KernelPackage
,ata-rb532-cf
))
89 define KernelPackage
/ata-nvidia-sata
90 SUBMENU
:=$(BLOCK_MENU
)
91 TITLE
:=Nvidia Serial ATA support
92 DEPENDS
:=kmod-ata-core
93 KCONFIG
:=CONFIG_SATA_NV
94 FILES
:=$(LINUX_DIR
)/drivers
/ata
/sata_nv.
$(LINUX_KMOD_SUFFIX
)
95 AUTOLOAD
:=$(call AutoLoad
,41,sata_nv
)
98 $(eval
$(call KernelPackage
,ata-nvidia-sata
))
101 define KernelPackage
/ata-piix
102 SUBMENU
:=$(BLOCK_MENU
)
103 TITLE
:=Intel PIIX PATA
/SATA support
104 DEPENDS
:=kmod-ata-core
105 KCONFIG
:=CONFIG_ATA_PIIX
106 FILES
:=$(LINUX_DIR
)/drivers
/ata
/ata_piix.
$(LINUX_KMOD_SUFFIX
)
107 AUTOLOAD
:=$(call AutoLoad
,41,ata_piix
)
110 define KernelPackage
/ata-piix
/description
111 SATA support for Intel ICH5
/6/7/8 series host controllers and
112 PATA support for Intel ESB
/ICH
/PIIX3
/PIIX4 series host controllers.
115 $(eval
$(call KernelPackage
,ata-piix
))
118 define KernelPackage
/ata-via-sata
119 SUBMENU
:=$(BLOCK_MENU
)
120 TITLE
:=VIA SATA support
121 DEPENDS
:=kmod-ata-core
122 KCONFIG
:=CONFIG_SATA_VIA
123 FILES
:=$(LINUX_DIR
)/drivers
/ata
/sata_via.
$(LINUX_KMOD_SUFFIX
)
124 AUTOLOAD
:=$(call AutoLoad
,41,sata_via
)
127 define KernelPackage
/ata-via-sata
/description
128 This option enables support for VIA Serial ATA.
131 $(eval
$(call KernelPackage
,ata-via-sata
))
134 # XXX: broken on 2.6.28 due to module name/path changes
135 define KernelPackage
/ide-core
136 SUBMENU
:=$(BLOCK_MENU
)
137 TITLE
:=IDE
(ATA
/ATAPI
) device support
138 DEPENDS
:=@PCI_SUPPORT
142 CONFIG_BLK_DEV_GENERIC \
144 CONFIG_BLK_DEV_IDEDISK \
145 CONFIG_BLK_DEV_IDEDMA_PCI
=y \
146 CONFIG_BLK_DEV_IDEPCI
=y
148 $(LINUX_DIR
)/drivers
/ide
/ide-core.
$(LINUX_KMOD_SUFFIX
) \
149 $(LINUX_DIR
)/drivers
/ide
/ide-disk.
$(LINUX_KMOD_SUFFIX
)
150 AUTOLOAD
:=$(call AutoLoad
,20,ide-core
) $(call AutoLoad
,40,ide-disk
)
153 define KernelPackage
/ide-core
/2.4
154 FILES
+=$(LINUX_DIR
)/drivers
/ide
/ide-detect.
$(LINUX_KMOD_SUFFIX
)
155 AUTOLOAD
+=$(call AutoLoad
,30,ide-detect
)
158 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.26)),1)
159 define KernelPackage
/ide-core
/2.6
160 FILES
+=$(LINUX_DIR
)/drivers
/ide
/pci
/ide-pci-generic.
$(LINUX_KMOD_SUFFIX
)
161 AUTOLOAD
+=$(call AutoLoad
,30,ide-pci-generic
)
164 define KernelPackage
/ide-core
/2.6
165 FILES
+=$(LINUX_DIR
)/drivers
/ide
/ide-generic.
$(LINUX_KMOD_SUFFIX
)
166 AUTOLOAD
+=$(call AutoLoad
,30,ide-generic
)
170 define KernelPackage
/ide-core
/description
171 Kernel support for IDE
, useful for usb mass storage devices
(e.g. on WL-HDD
)
178 $(eval
$(call KernelPackage
,ide-core
))
181 define KernelPackage
/ide-aec62xx
182 SUBMENU
:=$(BLOCK_MENU
)
183 TITLE
:=Acard AEC62xx IDE driver
184 DEPENDS
:=@PCI_SUPPORT
+kmod-ide-core
185 KCONFIG
:=CONFIG_BLK_DEV_AEC62XX
186 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.28)),1)
187 FILES
:=$(LINUX_DIR
)/drivers
/ide
/aec62xx.
$(LINUX_KMOD_SUFFIX
)
189 FILES
:=$(LINUX_DIR
)/drivers
/ide
/pci
/aec62xx.
$(LINUX_KMOD_SUFFIX
)
191 AUTOLOAD
:=$(call AutoLoad
,30,aec62xx
)
194 define KernelPackage
/ide-aec62xx
/description
195 Support for Acard AEC62xx
(Artop ATP8xx
) IDE controllers.
198 $(eval
$(call KernelPackage
,ide-aec62xx
))
201 define KernelPackage
/ide-magicbox
202 SUBMENU
:=$(BLOCK_MENU
)
203 TITLE
:=Magicbox
2.0 IDE CF driver
204 DEPENDS
:=@TARGET_magicbox
+kmod-ide-core
205 KCONFIG
:=CONFIG_BLK_DEV_MAGICBOX_IDE
206 FILES
:=$(LINUX_DIR
)/drivers
/ide
/ppc
/magicbox_ide.
$(LINUX_KMOD_SUFFIX
)
207 AUTOLOAD
:=$(call AutoLoad
,30,magicbox_ide
)
210 define KernelPackage
/ide-magicbox
/description
211 Support for Magicbox
2.0 onboard CF slot.
214 $(eval
$(call KernelPackage
,ide-magicbox
))
217 define KernelPackage
/ide-pdc202xx
218 SUBMENU
:=$(BLOCK_MENU
)
219 TITLE
:=Promise PDC202xx IDE driver
220 DEPENDS
:=@LINUX_2_4
+kmod-ide-core
221 KCONFIG
:=CONFIG_BLK_DEV_PDC202XX_OLD
222 FILES
:=$(LINUX_DIR
)/drivers
/ide
/pci
/pdc202xx_old.
$(LINUX_KMOD_SUFFIX
)
223 AUTOLOAD
:=$(call AutoLoad
,30,pdc202xx_old
)
226 define KernelPackage
/ide-pdc202xx
/description
227 Support for the Promise Ultra
33/66/100 (PDC202
{46|
62|
65|
67|
68}) IDE
231 $(eval
$(call KernelPackage
,ide-pdc202xx
))
234 define KernelPackage
/scsi-core
235 SUBMENU
:=$(BLOCK_MENU
)
236 TITLE
:=SCSI device support
241 $(LINUX_DIR
)/drivers
/scsi
/scsi_mod.
$(LINUX_KMOD_SUFFIX
) \
242 $(LINUX_DIR
)/drivers
/scsi
/sd_mod.
$(LINUX_KMOD_SUFFIX
)
243 AUTOLOAD
:=$(call AutoLoad
,20,scsi_mod
) $(call AutoLoad
,40,sd_mod
)
246 $(eval
$(call KernelPackage
,scsi-core
))
249 define KernelPackage
/scsi-generic
250 SUBMENU
:=$(BLOCK_MENU
)
251 TITLE
:=Kernel support for SCSI generic
255 $(LINUX_DIR
)/drivers
/scsi
/sg.
$(LINUX_KMOD_SUFFIX
)
256 AUTOLOAD
:=$(call AutoLoad
,65,sg
)
259 $(eval
$(call KernelPackage
,scsi-generic
))
262 define KernelPackage
/loop
263 SUBMENU
:=$(BLOCK_MENU
)
264 TITLE
:=Loopback device support
266 CONFIG_BLK_DEV_LOOP \
267 CONFIG_BLK_DEV_CRYPTOLOOP
=n
268 FILES
:=$(LINUX_DIR
)/drivers
/block
/loop.
$(LINUX_KMOD_SUFFIX
)
269 AUTOLOAD
:=$(call AutoLoad
,30,loop
)
272 define KernelPackage
/loop
/description
273 Kernel module for loopback device support
276 $(eval
$(call KernelPackage
,loop
))
279 define KernelPackage
/nbd
280 SUBMENU
:=$(BLOCK_MENU
)
281 TITLE
:=Network block device support
282 KCONFIG
:=CONFIG_BLK_DEV_NBD
283 FILES
:=$(LINUX_DIR
)/drivers
/block
/nbd.
$(LINUX_KMOD_SUFFIX
)
284 AUTOLOAD
:=$(call AutoLoad
,30,nbd
)
287 define KernelPackage
/nbd
/description
288 Kernel module for network block device support
291 $(eval
$(call KernelPackage
,nbd
))
294 define KernelPackage
/pata-rb153-cf
295 SUBMENU
:=$(BLOCK_MENU
)
296 DEPENDS
:=kmod-ata-core @TARGET_adm5120_router_le
297 TITLE
:=RouterBOARD
153 CF Slot support
298 KCONFIG
:=CONFIG_PATA_RB153_CF
299 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_rb153_cf.
$(LINUX_KMOD_SUFFIX
)
300 AUTOLOAD
:=$(call AutoLoad
,30,pata_rb153_cf
)
303 define KernelPackage
/pata-rb153-cf
/description
304 Kernel support for the RouterBoard
153 CF slot.
307 $(eval
$(call KernelPackage
,pata-rb153-cf
))
310 define KernelPackage
/aoe
311 SUBMENU
:=$(BLOCK_MENU
)
312 TITLE
:=ATA over Ethernet support
313 KCONFIG
:=CONFIG_ATA_OVER_ETH
314 FILES
:=$(LINUX_DIR
)/drivers
/block
/aoe
/aoe.
$(LINUX_KMOD_SUFFIX
)
315 AUTOLOAD
:=$(call AutoLoad
,30,aoe
)
318 define KernelPackage
/aoe
/description
319 Kernel support for ATA over Ethernet
322 $(eval
$(call KernelPackage
,aoe
))
324 define KernelPackage
/ps3vram
325 SUBMENU
:=$(BLOCK_MENU
)
326 TITLE
:=PS3 Video RAM Storage Driver
328 KCONFIG
:=CONFIG_PS3_VRAM
329 FILES
:=$(LINUX_DIR
)/drivers
/block
/ps3vram.
$(LINUX_KMOD_SUFFIX
)
330 AUTOLOAD
:=$(call AutoLoad
,01,ps3vram
)
333 define KernelPackage
/ps3vram
/description
334 Kernel support for PS3 Video RAM Storage
337 $(eval
$(call KernelPackage
,ps3vram
))