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.
8 BLOCK_MENU
:=Block Devices
10 define KernelPackage
/ata-core
11 SUBMENU
:=$(BLOCK_MENU
)
12 TITLE
:=Serial and Parallel ATA support
13 DEPENDS
:=@PCI_SUPPORT @LINUX_2_6
+kmod-scsi-core @
!TARGET_ubicom32
15 FILES
:=$(LINUX_DIR
)/drivers
/ata
/libata.
$(LINUX_KMOD_SUFFIX
)
16 AUTOLOAD
:=$(call AutoLoad
,21,libata
)
19 $(eval
$(call KernelPackage
,ata-core
))
22 define KernelPackage
/ata-ahci
23 SUBMENU
:=$(BLOCK_MENU
)
24 TITLE
:=AHCI Serial ATA support
25 DEPENDS
:=kmod-ata-core
26 KCONFIG
:=CONFIG_SATA_AHCI
27 FILES
:=$(LINUX_DIR
)/drivers
/ata
/ahci.
$(LINUX_KMOD_SUFFIX
)
28 AUTOLOAD
:=$(call AutoLoad
,41,ahci
)
31 define KernelPackage
/ata-ahci
/description
32 Support for AHCI Serial ATA controllers.
35 $(eval
$(call KernelPackage
,ata-ahci
))
38 define KernelPackage
/ata-sil24
39 SUBMENU
:=$(BLOCK_MENU
)
40 TITLE
:=Silicon Image
3124/3132 SATA support
41 DEPENDS
:=kmod-ata-core
42 KCONFIG
:=CONFIG_SATA_SIL24
43 FILES
:=$(LINUX_DIR
)/drivers
/ata
/sata_sil24.
$(LINUX_KMOD_SUFFIX
)
44 AUTOLOAD
:=$(call AutoLoad
,41,sata_sil24
)
47 define KernelPackage
/ata-sil24
/description
48 Support for Silicon Image
3124/3132 Serial ATA controllers.
51 $(eval
$(call KernelPackage
,ata-sil24
))
54 define KernelPackage
/ata-artop
55 SUBMENU
:=$(BLOCK_MENU
)
56 TITLE
:=ARTOP
6210/6260 PATA support
57 DEPENDS
:=kmod-ata-core
58 KCONFIG
:=CONFIG_PATA_ARTOP
59 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_artop.
$(LINUX_KMOD_SUFFIX
)
60 AUTOLOAD
:=$(call AutoLoad
,41,pata_artop
)
63 define KernelPackage
/ata-artop
/description
64 PATA support for ARTOP
6210/6260 host controllers.
67 $(eval
$(call KernelPackage
,ata-artop
))
69 define KernelPackage
/ata-octeon-cf
70 SUBMENU
:=$(BLOCK_MENU
)
71 TITLE
:=Octeon Compact Flash support
72 DEPENDS
:=kmod-ata-core @TARGET_octeon
73 KCONFIG
:=CONFIG_PATA_OCTEON_CF
74 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_octeon_cf.
$(LINUX_KMOD_SUFFIX
)
75 AUTOLOAD
:=$(call AutoLoad
,41,pata_octeon_cf
)
78 define KernelPackage
/ata-octeon-cf
/description
79 Octeon Compact Flash support.
82 $(eval
$(call KernelPackage
,ata-octeon-cf
))
85 define KernelPackage
/ata-ixp4xx-cf
86 SUBMENU
:=$(BLOCK_MENU
)
87 TITLE
:=IXP4XX Compact Flash support
88 DEPENDS
:=kmod-ata-core @TARGET_ixp4xx
89 KCONFIG
:=CONFIG_PATA_IXP4XX_CF
90 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_ixp4xx_cf.
$(LINUX_KMOD_SUFFIX
)
91 AUTOLOAD
:=$(call AutoLoad
,41,pata_ixp4xx_cf
)
94 define KernelPackage
/ata-ixp4xx-cf
/description
95 IXP4XX Compact Flash support.
98 $(eval
$(call KernelPackage
,ata-ixp4xx-cf
))
100 define KernelPackage
/ata-rb532-cf
101 SUBMENU
:=$(BLOCK_MENU
)
102 TITLE
:=RB532 Compact Flash support
103 DEPENDS
:=@TARGET_rb532 kmod-ata-core @BROKEN
105 CONFIG_PATA_PLATFORM \
108 $(LINUX_DIR
)/drivers
/ata
/pata_platform.
$(LINUX_KMOD_SUFFIX
) \
109 $(LINUX_DIR
)/drivers
/ata
/pata_rb532_cf.
$(LINUX_KMOD_SUFFIX
)
110 AUTOLOAD
:=$(call AutoLoad
,41,pata_platform pata_rb532_cf
)
113 define KernelPackage
/ata-rb532-cf
/description
114 RB532 Compact Flash support.
117 $(eval
$(call KernelPackage
,ata-rb532-cf
))
119 define KernelPackage
/ata-nvidia-sata
120 SUBMENU
:=$(BLOCK_MENU
)
121 TITLE
:=Nvidia Serial ATA support
122 DEPENDS
:=kmod-ata-core
123 KCONFIG
:=CONFIG_SATA_NV
124 FILES
:=$(LINUX_DIR
)/drivers
/ata
/sata_nv.
$(LINUX_KMOD_SUFFIX
)
125 AUTOLOAD
:=$(call AutoLoad
,41,sata_nv
)
128 $(eval
$(call KernelPackage
,ata-nvidia-sata
))
131 define KernelPackage
/ata-magicbox-cf
132 SUBMENU
:=$(BLOCK_MENU
)
133 TITLE
:=Magicbox v2
/OpenRB Compact flash support
(ATA
)
134 DEPENDS
:=@TARGET_ppc40x
+kmod-ata-core
135 KCONFIG
:=CONFIG_PATA_MAGICBOX_CF
136 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_magicbox_cf.
$(LINUX_KMOD_SUFFIX
)
137 AUTOLOAD
:=$(call AutoLoad
,41,pata_magicbox_cf
)
140 define KernelPackage
/ata-magicbox-cf
/description
141 Support for Magicbox v2
/OpenRB on-board CF slot.
(ATA version
).
144 $(eval
$(call KernelPackage
,ata-magicbox-cf
))
147 define KernelPackage
/ata-piix
148 SUBMENU
:=$(BLOCK_MENU
)
149 TITLE
:=Intel PIIX PATA
/SATA support
150 DEPENDS
:=kmod-ata-core
151 KCONFIG
:=CONFIG_ATA_PIIX
152 FILES
:=$(LINUX_DIR
)/drivers
/ata
/ata_piix.
$(LINUX_KMOD_SUFFIX
)
153 AUTOLOAD
:=$(call AutoLoad
,41,ata_piix
)
156 define KernelPackage
/ata-piix
/description
157 SATA support for Intel ICH5
/6/7/8 series host controllers and
158 PATA support for Intel ESB
/ICH
/PIIX3
/PIIX4 series host controllers.
161 $(eval
$(call KernelPackage
,ata-piix
))
164 define KernelPackage
/ata-via-sata
165 SUBMENU
:=$(BLOCK_MENU
)
166 TITLE
:=VIA SATA support
167 DEPENDS
:=kmod-ata-core
168 KCONFIG
:=CONFIG_SATA_VIA
169 FILES
:=$(LINUX_DIR
)/drivers
/ata
/sata_via.
$(LINUX_KMOD_SUFFIX
)
170 AUTOLOAD
:=$(call AutoLoad
,41,sata_via
)
173 define KernelPackage
/ata-via-sata
/description
174 This option enables support for VIA Serial ATA.
177 $(eval
$(call KernelPackage
,ata-via-sata
))
180 define KernelPackage
/ide-core
181 SUBMENU
:=$(BLOCK_MENU
)
182 TITLE
:=IDE
(ATA
/ATAPI
) device support
183 DEPENDS
:=@PCI_SUPPORT
187 CONFIG_BLK_DEV_GENERIC \
189 CONFIG_BLK_DEV_IDEDISK \
191 CONFIG_IDE_GD_ATA
=y \
192 CONFIG_IDE_GD_ATAPI
=n \
193 CONFIG_BLK_DEV_IDEDMA_PCI
=y \
194 CONFIG_BLK_DEV_IDEPCI
=y
196 $(LINUX_DIR
)/drivers
/ide
/ide-core.
$(LINUX_KMOD_SUFFIX
) \
197 $(LINUX_DIR
)/drivers
/ide
/ide-gd_mod.
$(LINUX_KMOD_SUFFIX
)
198 AUTOLOAD
:=$(call AutoLoad
,20,ide-core
) $(call AutoLoad
,40,ide-gd_mod
)
201 define KernelPackage
/ide-core
/2.4
202 FILES
+=$(LINUX_DIR
)/drivers
/ide
/ide-detect.
$(LINUX_KMOD_SUFFIX
)
203 AUTOLOAD
+=$(call AutoLoad
,35,ide-detect
)
206 ifneq ($(CONFIG_arm
)$(CONFIG_powerpc
),y
)
207 define KernelPackage
/ide-core
/2.6
208 FILES
+=$(LINUX_DIR
)/drivers
/ide
/ide-generic.
$(LINUX_KMOD_SUFFIX
)
209 AUTOLOAD
+=$(call AutoLoad
,30,ide-generic
)
213 define KernelPackage
/ide-core
/description
214 Kernel support for IDE
, useful for usb mass storage devices
(e.g. on WL-HDD
)
218 - ide-gd_mod
(or ide-disk
)
221 $(eval
$(call KernelPackage
,ide-core
))
224 define KernelPackage
/ide-aec62xx
225 SUBMENU
:=$(BLOCK_MENU
)
226 TITLE
:=Acard AEC62xx IDE driver
227 DEPENDS
:=@PCI_SUPPORT
+kmod-ide-core
228 KCONFIG
:=CONFIG_BLK_DEV_AEC62XX
229 FILES
:=$(LINUX_DIR
)/drivers
/ide
/aec62xx.
$(LINUX_KMOD_SUFFIX
)
230 AUTOLOAD
:=$(call AutoLoad
,30,aec62xx
)
233 define KernelPackage
/ide-aec62xx
/description
234 Support for Acard AEC62xx
(Artop ATP8xx
) IDE controllers.
237 $(eval
$(call KernelPackage
,ide-aec62xx
))
240 define KernelPackage
/ide-magicbox
241 SUBMENU
:=$(BLOCK_MENU
)
242 TITLE
:=Magicbox v2
/OpenRB Compact flash support
(IDE
)
243 DEPENDS
:=@TARGET_ppc40x
+kmod-ide-core
244 KCONFIG
:=CONFIG_BLK_DEV_IDE_MAGICBOX
245 FILES
:=$(LINUX_DIR
)/drivers
/ide
/magicbox_ide.
$(LINUX_KMOD_SUFFIX
)
246 AUTOLOAD
:=$(call AutoLoad
,30,magicbox_ide
)
249 define KernelPackage
/ide-magicbox
/description
250 Support for Magicbox v2
/OpenRB on-board CF slot.
(IDE version
).
253 $(eval
$(call KernelPackage
,ide-magicbox
))
256 define KernelPackage
/ide-pdc202xx
257 SUBMENU
:=$(BLOCK_MENU
)
258 TITLE
:=Promise PDC202xx IDE driver
259 DEPENDS
:=+kmod-ide-core
260 KCONFIG
:=CONFIG_BLK_DEV_PDC202XX_OLD
261 FILES
:=$(LINUX_DIR
)/drivers
/ide
/pdc202xx_old.
$(LINUX_KMOD_SUFFIX
)
262 AUTOLOAD
:=$(call AutoLoad
,30,pdc202xx_old
)
265 define KernelPackage
/ide-pdc202xx
/2.4
266 FILES
:=$(LINUX_DIR
)/drivers
/ide
/pci
/pdc202xx_old.
$(LINUX_KMOD_SUFFIX
)
269 define KernelPackage
/ide-pdc202xx
/description
270 Support for the Promise Ultra
33/66/100 (PDC202
{46|
62|
65|
67|
68}) IDE
274 $(eval
$(call KernelPackage
,ide-pdc202xx
))
277 define KernelPackage
/ide-it821x
278 SUBMENU
:=$(BLOCK_MENU
)
279 TITLE
:=ITE IT821x IDE driver
280 DEPENDS
:=+kmod-ide-core
281 KCONFIG
:=CONFIG_BLK_DEV_IT821X
282 FILES
=$(LINUX_DIR
)/drivers
/ide
/it821x.
$(LINUX_KMOD_SUFFIX
)
283 AUTOLOAD
:=$(call AutoLoad
,30,it821x
)
286 define KernelPackage
/ide-it821x
/description
287 Kernel module for the ITE IDE821x IDE controllers.
290 $(eval
$(call KernelPackage
,ide-it821x
))
293 define KernelPackage
/scsi-core
294 SUBMENU
:=$(BLOCK_MENU
)
295 TITLE
:=SCSI device support
300 $(LINUX_DIR
)/drivers
/scsi
/scsi_mod.
$(LINUX_KMOD_SUFFIX
) \
301 $(LINUX_DIR
)/drivers
/scsi
/sd_mod.
$(LINUX_KMOD_SUFFIX
)
302 AUTOLOAD
:=$(call AutoLoad
,20,scsi_mod
) $(call AutoLoad
,40,sd_mod
)
305 $(eval
$(call KernelPackage
,scsi-core
))
308 define KernelPackage
/scsi-generic
309 SUBMENU
:=$(BLOCK_MENU
)
310 TITLE
:=Kernel support for SCSI generic
314 $(LINUX_DIR
)/drivers
/scsi
/sg.
$(LINUX_KMOD_SUFFIX
)
315 AUTOLOAD
:=$(call AutoLoad
,65,sg
)
318 $(eval
$(call KernelPackage
,scsi-generic
))
321 define KernelPackage
/loop
322 SUBMENU
:=$(BLOCK_MENU
)
323 TITLE
:=Loopback device support
325 CONFIG_BLK_DEV_LOOP \
326 CONFIG_BLK_DEV_CRYPTOLOOP
=n
327 FILES
:=$(LINUX_DIR
)/drivers
/block
/loop.
$(LINUX_KMOD_SUFFIX
)
328 AUTOLOAD
:=$(call AutoLoad
,30,loop
)
331 define KernelPackage
/loop
/description
332 Kernel module for loopback device support
335 $(eval
$(call KernelPackage
,loop
))
338 define KernelPackage
/nbd
339 SUBMENU
:=$(BLOCK_MENU
)
340 TITLE
:=Network block device support
341 KCONFIG
:=CONFIG_BLK_DEV_NBD
342 FILES
:=$(LINUX_DIR
)/drivers
/block
/nbd.
$(LINUX_KMOD_SUFFIX
)
343 AUTOLOAD
:=$(call AutoLoad
,30,nbd
)
346 define KernelPackage
/nbd
/description
347 Kernel module for network block device support
350 $(eval
$(call KernelPackage
,nbd
))
353 define KernelPackage
/pata-rb153-cf
354 SUBMENU
:=$(BLOCK_MENU
)
355 DEPENDS
:=kmod-ata-core @TARGET_adm5120_router_le
356 TITLE
:=RouterBOARD
153 CF Slot support
357 KCONFIG
:=CONFIG_PATA_RB153_CF
358 FILES
:=$(LINUX_DIR
)/drivers
/ata
/pata_rb153_cf.
$(LINUX_KMOD_SUFFIX
)
359 AUTOLOAD
:=$(call AutoLoad
,30,pata_rb153_cf
)
362 define KernelPackage
/pata-rb153-cf
/description
363 Kernel support for the RouterBoard
153 CF slot.
366 $(eval
$(call KernelPackage
,pata-rb153-cf
))
369 define KernelPackage
/aoe
370 SUBMENU
:=$(BLOCK_MENU
)
371 TITLE
:=ATA over Ethernet support
372 KCONFIG
:=CONFIG_ATA_OVER_ETH
373 FILES
:=$(LINUX_DIR
)/drivers
/block
/aoe
/aoe.
$(LINUX_KMOD_SUFFIX
)
374 AUTOLOAD
:=$(call AutoLoad
,30,aoe
)
377 define KernelPackage
/aoe
/description
378 Kernel support for ATA over Ethernet
381 $(eval
$(call KernelPackage
,aoe
))
383 define KernelPackage
/ps3vram
384 SUBMENU
:=$(BLOCK_MENU
)
385 TITLE
:=PS3 Video RAM Storage Driver
386 DEPENDS
:=@TARGET_ps3||TARGET_ps3chk
387 KCONFIG
:=CONFIG_PS3_VRAM
388 FILES
:=$(LINUX_DIR
)/drivers
/block
/ps3vram.
$(LINUX_KMOD_SUFFIX
)
389 AUTOLOAD
:=$(call AutoLoad
,01,ps3vram
)
392 define KernelPackage
/ps3vram
/description
393 Kernel support for PS3 Video RAM Storage
396 $(eval
$(call KernelPackage
,ps3vram
))
398 define KernelPackage
/axonram
399 SUBMENU
:=$(BLOCK_MENU
)
400 TITLE
:=Axon DDR2 memory device driver
401 DEPENDS
:=@TARGET_pxcab
402 KCONFIG
:=CONFIG_AXON_RAM
403 FILES
:=$(LINUX_DIR
)/arch
/powerpc
/sysdev
/axonram.
$(LINUX_KMOD_SUFFIX
)
404 AUTOLOAD
:=$(call AutoLoad
,01,axonram
)
407 define KernelPackage
/axonram
/description
408 Kernel support for Axon DDR2 memory device
411 $(eval
$(call KernelPackage
,axonram
))
413 define KernelPackage
/libsas
414 SUBMENU
:=$(BLOCK_MENU
)
415 TITLE
:=SAS Domain Transport Attributes
416 DEPENDS
:=+kmod-scsi-core @TARGET_x86
417 KCONFIG
:=CONFIG_SCSI_SAS_LIBSAS \
418 CONFIG_SCSI_SAS_ATTRS \
419 CONFIG_SCSI_SAS_ATA
=y \
420 CONFIG_SCSI_SAS_HOST_SMP
=y \
421 CONFIG_SCSI_SAS_LIBSAS_DEBUG
=y
423 $(LINUX_DIR
)/drivers
/scsi
/scsi_transport_sas.
$(LINUX_KMOD_SUFFIX
) \
424 $(LINUX_DIR
)/drivers
/scsi
/libsas
/libsas.
$(LINUX_KMOD_SUFFIX
)
425 AUTOLOAD
:=$(call AutoLoad
,29,scsi_transport_sas libsas
)
428 define KernelPackage
/libsas
/description
429 SAS Domain Transport Attributes support.
432 $(eval
$(call KernelPackage
,libsas
))
434 define KernelPackage
/mvsas
435 SUBMENU
:=$(BLOCK_MENU
)
436 TITLE
:=Marvell
88SE6440 SAS
/SATA driver
437 DEPENDS
:=@TARGET_x86
+kmod-libsas
438 KCONFIG
:=CONFIG_SCSI_MVSAS
439 FILES
:=$(LINUX_DIR
)/drivers
/scsi
/mvsas.
$(LINUX_KMOD_SUFFIX
)
440 AUTOLOAD
:=$(call AutoLoad
,40,mvsas
)
443 define KernelPackage
/mvsas
/description
444 Kernel support for the Marvell SAS SCSI adapters
447 $(eval
$(call KernelPackage
,mvsas
))