kernel: kmod-scsi-core: fix load on install
[openwrt/openwrt.git] / package / kernel / linux / modules / block.mk
1 #
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 BLOCK_MENU:=Block Devices
9
10 define KernelPackage/aoe
11 SUBMENU:=$(BLOCK_MENU)
12 TITLE:=ATA over Ethernet support
13 KCONFIG:=CONFIG_ATA_OVER_ETH
14 FILES:=$(LINUX_DIR)/drivers/block/aoe/aoe.ko
15 AUTOLOAD:=$(call AutoLoad,30,aoe)
16 endef
17
18 define KernelPackage/aoe/description
19 Kernel support for ATA over Ethernet
20 endef
21
22 $(eval $(call KernelPackage,aoe))
23
24
25 define KernelPackage/ata-core
26 SUBMENU:=$(BLOCK_MENU)
27 TITLE:=Serial and Parallel ATA support
28 DEPENDS:=@PCI_SUPPORT +kmod-scsi-core
29 KCONFIG:=CONFIG_ATA
30 FILES:=$(LINUX_DIR)/drivers/ata/libata.ko
31 endef
32
33 $(eval $(call KernelPackage,ata-core))
34
35
36 define AddDepends/ata
37 SUBMENU:=$(BLOCK_MENU)
38 DEPENDS+=kmod-ata-core $(1)
39 endef
40
41
42 define KernelPackage/ata-ahci
43 TITLE:=AHCI Serial ATA support
44 KCONFIG:=CONFIG_SATA_AHCI
45 FILES:= \
46 $(LINUX_DIR)/drivers/ata/ahci.ko \
47 $(LINUX_DIR)/drivers/ata/libahci.ko
48 AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1)
49 $(call AddDepends/ata)
50 endef
51
52 define KernelPackage/ata-ahci/description
53 Support for AHCI Serial ATA controllers
54 endef
55
56 $(eval $(call KernelPackage,ata-ahci))
57
58
59 define KernelPackage/ata-ahci-platform
60 TITLE:=AHCI Serial ATA Platform support
61 KCONFIG:=CONFIG_SATA_AHCI_PLATFORM
62 FILES:= \
63 $(LINUX_DIR)/drivers/ata/ahci_platform.ko \
64 $(LINUX_DIR)/drivers/ata/libahci_platform.ko
65 AUTOLOAD:=$(call AutoLoad,40,libahci_platform ahci_platform,1)
66 $(call AddDepends/ata,@TARGET_ipq806x||TARGET_mvebu +kmod-ata-ahci)
67 endef
68
69 define KernelPackage/ata-ahci-platform/description
70 Platform support for AHCI Serial ATA controllers
71 endef
72
73 $(eval $(call KernelPackage,ata-ahci-platform))
74
75
76 define KernelPackage/ata-artop
77 TITLE:=ARTOP 6210/6260 PATA support
78 KCONFIG:=CONFIG_PATA_ARTOP
79 FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.ko
80 AUTOLOAD:=$(call AutoLoad,41,pata_artop,1)
81 $(call AddDepends/ata)
82 endef
83
84 define KernelPackage/ata-artop/description
85 PATA support for ARTOP 6210/6260 host controllers
86 endef
87
88 $(eval $(call KernelPackage,ata-artop))
89
90
91 define KernelPackage/ata-imx
92 TITLE:=Freescale i.MX AHCI SATA support
93 DEPENDS:=@TARGET_imx6
94 KCONFIG:=\
95 CONFIG_AHCI_IMX \
96 CONFIG_SATA_AHCI_PLATFORM \
97 CONFIG_PATA_IMX=n
98 FILES:=$(LINUX_DIR)/drivers/ata/ahci_imx.ko
99 AUTOLOAD:=$(call AutoLoad,41,ahci_imx,1)
100 $(call AddDepends/ata)
101 endef
102
103 define KernelPackage/ata-imx/description
104 SATA support for the Freescale i.MX6 SoC's onboard AHCI SATA
105 endef
106
107 $(eval $(call KernelPackage,ata-imx))
108
109
110 define KernelPackage/ata-marvell-sata
111 TITLE:=Marvell Serial ATA support
112 KCONFIG:=CONFIG_SATA_MV
113 FILES:=$(LINUX_DIR)/drivers/ata/sata_mv.ko
114 AUTOLOAD:=$(call AutoLoad,41,sata_mv,1)
115 $(call AddDepends/ata)
116 endef
117
118 define KernelPackage/ata-marvell-sata/description
119 SATA support for marvell chipsets
120 endef
121
122 $(eval $(call KernelPackage,ata-marvell-sata))
123
124
125 define KernelPackage/ata-mvebu-ahci
126 TITLE:=Marvell EBU AHCI support
127 DEPENDS:=@TARGET_mvebu +kmod-ata-ahci-platform
128 KCONFIG:=CONFIG_AHCI_MVEBU
129 FILES:=$(LINUX_DIR)/drivers/ata/ahci_mvebu.ko
130 AUTOLOAD:=$(call AutoLoad,41,ahci_mvebu,1)
131 $(call AddDepends/ata)
132 endef
133
134 define KernelPackage/ata-mvebu-ahci/description
135 AHCI support for Marvell EBU SoCs
136 endef
137
138 $(eval $(call KernelPackage,ata-mvebu-ahci))
139
140
141 define KernelPackage/ata-nvidia-sata
142 TITLE:=Nvidia Serial ATA support
143 KCONFIG:=CONFIG_SATA_NV
144 FILES:=$(LINUX_DIR)/drivers/ata/sata_nv.ko
145 AUTOLOAD:=$(call AutoLoad,41,sata_nv,1)
146 $(call AddDepends/ata)
147 endef
148
149 $(eval $(call KernelPackage,ata-nvidia-sata))
150
151
152 define KernelPackage/ata-oxnas-sata
153 TITLE:=oxnas Serial ATA support
154 KCONFIG:=CONFIG_SATA_OXNAS
155 DEPENDS:=@TARGET_oxnas
156 FILES:=$(LINUX_DIR)/drivers/ata/sata_oxnas.ko
157 AUTOLOAD:=$(call AutoLoad,41,sata_oxnas,1)
158 $(call AddDepends/ata)
159 endef
160
161 define KernelPackage/ata-oxnas-sata/description
162 SATA support for OX934 core found in the OX82x/PLX782x SoCs
163 endef
164
165 $(eval $(call KernelPackage,ata-oxnas-sata))
166
167
168 define KernelPackage/ata-pdc202xx-old
169 SUBMENU:=$(BLOCK_MENU)
170 TITLE:=Older Promise PATA controller support
171 DEPENDS:=kmod-ata-core
172 KCONFIG:= \
173 CONFIG_ATA_SFF=y \
174 CONFIG_PATA_PDC_OLD
175 FILES:=$(LINUX_DIR)/drivers/ata/pata_pdc202xx_old.ko
176 AUTOLOAD:=$(call AutoLoad,41,pata_pdc202xx_old,1)
177 endef
178
179 define KernelPackage/ata-pdc202xx-old/description
180 This option enables support for the Promise 20246, 20262, 20263,
181 20265 and 20267 adapters
182 endef
183
184 $(eval $(call KernelPackage,ata-pdc202xx-old))
185
186
187 define KernelPackage/ata-piix
188 TITLE:=Intel PIIX PATA/SATA support
189 KCONFIG:=CONFIG_ATA_PIIX
190 FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.ko
191 AUTOLOAD:=$(call AutoLoad,41,ata_piix,1)
192 $(call AddDepends/ata)
193 endef
194
195 define KernelPackage/ata-piix/description
196 SATA support for Intel ICH5/6/7/8 series host controllers and
197 PATA support for Intel ESB/ICH/PIIX3/PIIX4 series host controllers
198 endef
199
200 $(eval $(call KernelPackage,ata-piix))
201
202
203 define KernelPackage/ata-sil
204 TITLE:=Silicon Image SATA support
205 KCONFIG:=CONFIG_SATA_SIL
206 FILES:=$(LINUX_DIR)/drivers/ata/sata_sil.ko
207 AUTOLOAD:=$(call AutoLoad,41,sata_sil,1)
208 $(call AddDepends/ata)
209 endef
210
211 define KernelPackage/ata-sil/description
212 Support for Silicon Image Serial ATA controllers
213 endef
214
215 $(eval $(call KernelPackage,ata-sil))
216
217
218 define KernelPackage/ata-sil24
219 TITLE:=Silicon Image 3124/3132 SATA support
220 KCONFIG:=CONFIG_SATA_SIL24
221 FILES:=$(LINUX_DIR)/drivers/ata/sata_sil24.ko
222 AUTOLOAD:=$(call AutoLoad,41,sata_sil24,1)
223 $(call AddDepends/ata)
224 endef
225
226 define KernelPackage/ata-sil24/description
227 Support for Silicon Image 3124/3132 Serial ATA controllers
228 endef
229
230 $(eval $(call KernelPackage,ata-sil24))
231
232
233 define KernelPackage/ata-via-sata
234 TITLE:=VIA SATA support
235 KCONFIG:=CONFIG_SATA_VIA
236 FILES:=$(LINUX_DIR)/drivers/ata/sata_via.ko
237 AUTOLOAD:=$(call AutoLoad,41,sata_via,1)
238 $(call AddDepends/ata)
239 endef
240
241 define KernelPackage/ata-via-sata/description
242 This option enables support for VIA Serial ATA
243 endef
244
245 $(eval $(call KernelPackage,ata-via-sata))
246
247
248 define KernelPackage/block2mtd
249 SUBMENU:=$(BLOCK_MENU)
250 TITLE:=Block device MTD emulation
251 KCONFIG:=CONFIG_MTD_BLOCK2MTD
252 FILES:=$(LINUX_DIR)/drivers/mtd/devices/block2mtd.ko
253 endef
254
255 $(eval $(call KernelPackage,block2mtd))
256
257
258 define KernelPackage/dm
259 SUBMENU:=$(BLOCK_MENU)
260 TITLE:=Device Mapper
261 DEPENDS:=+kmod-crypto-manager
262 # All the "=n" are unnecessary, they're only there
263 # to stop the config from asking the question.
264 # MIRROR is M because I've needed it for pvmove.
265 KCONFIG:= \
266 CONFIG_BLK_DEV_MD=n \
267 CONFIG_DM_DEBUG=n \
268 CONFIG_DM_UEVENT=n \
269 CONFIG_DM_DELAY=n \
270 CONFIG_DM_LOG_WRITES=n \
271 CONFIG_DM_MQ_DEFAULT=n \
272 CONFIG_DM_MULTIPATH=n \
273 CONFIG_DM_ZERO=n \
274 CONFIG_DM_SNAPSHOT=n \
275 CONFIG_DM_LOG_USERSPACE=n \
276 CONFIG_MD=y \
277 CONFIG_BLK_DEV_DM \
278 CONFIG_DM_CRYPT \
279 CONFIG_DM_MIRROR
280 FILES:=$(LINUX_DIR)/drivers/md/dm-*.ko
281 AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt)
282 endef
283
284 define KernelPackage/dm/description
285 Kernel module necessary for LVM2 support
286 endef
287
288 $(eval $(call KernelPackage,dm))
289
290
291 define KernelPackage/md-mod
292 SUBMENU:=$(BLOCK_MENU)
293 TITLE:=MD RAID
294 KCONFIG:= \
295 CONFIG_MD=y \
296 CONFIG_BLK_DEV_MD=m \
297 CONFIG_MD_AUTODETECT=y \
298 CONFIG_MD_FAULTY=n
299 FILES:=$(LINUX_DIR)/drivers/md/md-mod.ko
300 AUTOLOAD:=$(call AutoLoad,27,md-mod)
301 endef
302
303 define KernelPackage/md-mod/description
304 Kernel RAID md module (md-mod.ko).
305 You will need to select at least one RAID level module below.
306 endef
307
308 $(eval $(call KernelPackage,md-mod))
309
310
311 define KernelPackage/md/Depends
312 SUBMENU:=$(BLOCK_MENU)
313 DEPENDS:=kmod-md-mod $(1)
314 endef
315
316
317 define KernelPackage/md-linear
318 $(call KernelPackage/md/Depends,)
319 TITLE:=RAID Linear Module
320 KCONFIG:=CONFIG_MD_LINEAR
321 FILES:=$(LINUX_DIR)/drivers/md/linear.ko
322 AUTOLOAD:=$(call AutoLoad,28,linear)
323 endef
324
325 define KernelPackage/md-linear/description
326 RAID "Linear" or "Append" driver module (linear.ko)
327 endef
328
329 $(eval $(call KernelPackage,md-linear))
330
331
332 define KernelPackage/md-raid0
333 $(call KernelPackage/md/Depends,)
334 TITLE:=RAID0 Module
335 KCONFIG:=CONFIG_MD_RAID0
336 FILES:=$(LINUX_DIR)/drivers/md/raid0.ko
337 AUTOLOAD:=$(call AutoLoad,28,raid0)
338 endef
339
340 define KernelPackage/md-raid0/description
341 RAID Level 0 (Striping) driver module (raid0.ko)
342 endef
343
344 $(eval $(call KernelPackage,md-raid0))
345
346
347 define KernelPackage/md-raid1
348 $(call KernelPackage/md/Depends,)
349 TITLE:=RAID1 Module
350 KCONFIG:=CONFIG_MD_RAID1
351 FILES:=$(LINUX_DIR)/drivers/md/raid1.ko
352 AUTOLOAD:=$(call AutoLoad,28,raid1)
353 endef
354
355 define KernelPackage/md-raid1/description
356 RAID Level 1 (Mirroring) driver (raid1.ko)
357 endef
358
359 $(eval $(call KernelPackage,md-raid1))
360
361
362 define KernelPackage/md-raid10
363 $(call KernelPackage/md/Depends,)
364 TITLE:=RAID10 Module
365 KCONFIG:=CONFIG_MD_RAID10
366 FILES:=$(LINUX_DIR)/drivers/md/raid10.ko
367 AUTOLOAD:=$(call AutoLoad,28,raid10)
368 endef
369
370 define KernelPackage/md-raid10/description
371 RAID Level 10 (Mirroring+Striping) driver module (raid10.ko)
372 endef
373
374 $(eval $(call KernelPackage,md-raid10))
375
376
377 define KernelPackage/md-raid456
378 $(call KernelPackage/md/Depends,+kmod-lib-raid6 +kmod-lib-xor)
379 TITLE:=RAID Level 456 Driver
380 KCONFIG:= \
381 CONFIG_ASYNC_CORE \
382 CONFIG_ASYNC_MEMCPY \
383 CONFIG_ASYNC_XOR \
384 CONFIG_ASYNC_PQ \
385 CONFIG_ASYNC_RAID6_RECOV \
386 CONFIG_ASYNC_RAID6_TEST=n \
387 CONFIG_MD_RAID456 \
388 CONFIG_MULTICORE_RAID456=n
389 FILES:= \
390 $(LINUX_DIR)/crypto/async_tx/async_tx.ko \
391 $(LINUX_DIR)/crypto/async_tx/async_memcpy.ko \
392 $(LINUX_DIR)/crypto/async_tx/async_xor.ko \
393 $(LINUX_DIR)/crypto/async_tx/async_pq.ko \
394 $(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \
395 $(LINUX_DIR)/drivers/md/raid456.ko
396 AUTOLOAD:=$(call AutoLoad,28, async_tx async_memcpy async_xor async_pq async_raid6_recov raid456)
397 endef
398
399 define KernelPackage/md-raid456/description
400 RAID Level 4,5,6 kernel module (raid456.ko)
401
402 Includes the following modules required by
403 raid456.ko:
404 xor.ko
405 async_tx.ko
406 async_xor.ko
407 async_memcpy.ko
408 async_pq.ko
409 async_raid5_recov.ko
410 raid6_pq.ko
411 endef
412
413 $(eval $(call KernelPackage,md-raid456))
414
415
416 define KernelPackage/md-multipath
417 $(call KernelPackage/md/Depends,)
418 TITLE:=MD Multipath Module
419 KCONFIG:=CONFIG_MD_MULTIPATH
420 FILES:=$(LINUX_DIR)/drivers/md/multipath.ko
421 AUTOLOAD:=$(call AutoLoad,29,multipath)
422 endef
423
424 define KernelPackage/md-multipath/description
425 Multipath driver module (multipath.ko)
426 endef
427
428 $(eval $(call KernelPackage,md-multipath))
429
430
431 define KernelPackage/ide-core
432 SUBMENU:=$(BLOCK_MENU)
433 TITLE:=IDE (ATA/ATAPI) device support
434 DEPENDS:=@PCI_SUPPORT
435 KCONFIG:= \
436 CONFIG_IDE \
437 CONFIG_BLK_DEV_IDE \
438 CONFIG_BLK_DEV_IDEDISK \
439 CONFIG_IDE_GD \
440 CONFIG_IDE_GD_ATA=y \
441 CONFIG_IDE_GD_ATAPI=n \
442 CONFIG_IDEPCI_PCIBUS_ORDER=y \
443 CONFIG_BLK_DEV_IDEDMA_PCI=y \
444 CONFIG_BLK_DEV_IDEPCI=y
445 FILES:= \
446 $(LINUX_DIR)/drivers/ide/ide-core.ko \
447 $(LINUX_DIR)/drivers/ide/ide-gd_mod.ko
448 endef
449
450 define KernelPackage/ide-core/description
451 Kernel support for IDE, useful for usb mass storage devices (e.g. on WL-HDD)
452 Includes:
453 - ide-core
454 - ide-gd_mod
455 endef
456
457 $(eval $(call KernelPackage,ide-core))
458
459
460 define AddDepends/ide
461 SUBMENU:=$(BLOCK_MENU)
462 DEPENDS+=kmod-ide-core $(1)
463 endef
464
465
466 define KernelPackage/ide-generic
467 SUBMENU:=$(BLOCK_MENU)
468 DEPENDS:=@PCI_SUPPORT
469 TITLE:=Kernel support for generic PCI IDE chipsets
470 KCONFIG:=CONFIG_BLK_DEV_GENERIC
471 FILES:=$(LINUX_DIR)/drivers/ide/ide-pci-generic.ko
472 AUTOLOAD:=$(call AutoLoad,30,ide-pci-generic,1)
473 $(call AddDepends/ide)
474 endef
475
476 $(eval $(call KernelPackage,ide-generic))
477
478
479 define KernelPackage/ide-generic-old
480 SUBMENU:=$(BLOCK_MENU)
481 TITLE:=Kernel support for generic (legacy) IDE chipsets
482 KCONFIG:=CONFIG_IDE_GENERIC
483 FILES:=$(LINUX_DIR)/drivers/ide/ide-generic.ko
484 AUTOLOAD:=$(call AutoLoad,30,ide-generic,1)
485 $(call AddDepends/ide)
486 endef
487
488 $(eval $(call KernelPackage,ide-generic-old))
489
490
491 define KernelPackage/ide-aec62xx
492 TITLE:=Acard AEC62xx IDE driver
493 DEPENDS:=@PCI_SUPPORT
494 KCONFIG:=CONFIG_BLK_DEV_AEC62XX
495 FILES:=$(LINUX_DIR)/drivers/ide/aec62xx.ko
496 AUTOLOAD:=$(call AutoLoad,30,aec62xx,1)
497 $(call AddDepends/ide)
498 endef
499
500 define KernelPackage/ide-aec62xx/description
501 Support for Acard AEC62xx (Artop ATP8xx) IDE controllers
502 endef
503
504 $(eval $(call KernelPackage,ide-aec62xx,1))
505
506
507 define KernelPackage/ide-pdc202xx
508 TITLE:=Promise PDC202xx IDE driver
509 DEPENDS:=@PCI_SUPPORT
510 KCONFIG:=CONFIG_BLK_DEV_PDC202XX_OLD
511 FILES:=$(LINUX_DIR)/drivers/ide/pdc202xx_old.ko
512 AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old,1)
513 $(call AddDepends/ide)
514 endef
515
516 define KernelPackage/ide-pdc202xx/description
517 Support for the Promise Ultra 33/66/100 (PDC202{46|62|65|67|68}) IDE
518 controllers.
519 endef
520
521 $(eval $(call KernelPackage,ide-pdc202xx))
522
523
524 define KernelPackage/ide-it821x
525 TITLE:=ITE IT821x IDE driver
526 DEPENDS:=@PCI_SUPPORT
527 KCONFIG:=CONFIG_BLK_DEV_IT821X
528 FILES=$(LINUX_DIR)/drivers/ide/it821x.ko
529 AUTOLOAD:=$(call AutoLoad,30,it821x,1)
530 $(call AddDepends/ide)
531 endef
532
533 define KernelPackage/ide-it821x/description
534 Kernel module for the ITE IDE821x IDE controllers
535 endef
536
537 $(eval $(call KernelPackage,ide-it821x))
538
539
540 define KernelPackage/libsas
541 SUBMENU:=$(BLOCK_MENU)
542 DEPENDS:=@TARGET_x86
543 TITLE:=SAS Domain Transport Attributes
544 KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \
545 CONFIG_SCSI_SAS_ATTRS \
546 CONFIG_SCSI_SAS_ATA=y \
547 CONFIG_SCSI_SAS_HOST_SMP=y \
548 CONFIG_SCSI_SAS_LIBSAS_DEBUG=y
549 FILES:= \
550 $(LINUX_DIR)/drivers/scsi/scsi_transport_sas.ko \
551 $(LINUX_DIR)/drivers/scsi/libsas/libsas.ko
552 AUTOLOAD:=$(call AutoLoad,29,scsi_transport_sas libsas,1)
553 endef
554
555 define KernelPackage/libsas/description
556 SAS Domain Transport Attributes support
557 endef
558
559 $(eval $(call KernelPackage,libsas,1))
560
561
562 define KernelPackage/loop
563 SUBMENU:=$(BLOCK_MENU)
564 TITLE:=Loopback device support
565 KCONFIG:= \
566 CONFIG_BLK_DEV_LOOP \
567 CONFIG_BLK_DEV_CRYPTOLOOP=n
568 FILES:=$(LINUX_DIR)/drivers/block/loop.ko
569 AUTOLOAD:=$(call AutoLoad,30,loop)
570 endef
571
572 define KernelPackage/loop/description
573 Kernel module for loopback device support
574 endef
575
576 $(eval $(call KernelPackage,loop))
577
578
579 define KernelPackage/mvsas
580 SUBMENU:=$(BLOCK_MENU)
581 TITLE:=Marvell 88SE6440 SAS/SATA driver
582 DEPENDS:=@TARGET_x86 +kmod-libsas
583 KCONFIG:= \
584 CONFIG_SCSI_MVSAS \
585 CONFIG_SCSI_MVSAS_TASKLET=n
586 FILES:=$(LINUX_DIR)/drivers/scsi/mvsas/mvsas.ko
587 AUTOLOAD:=$(call AutoLoad,40,mvsas,1)
588 endef
589
590 define KernelPackage/mvsas/description
591 Kernel support for the Marvell SAS SCSI adapters
592 endef
593
594 $(eval $(call KernelPackage,mvsas))
595
596
597 define KernelPackage/nbd
598 SUBMENU:=$(BLOCK_MENU)
599 TITLE:=Network block device support
600 KCONFIG:=CONFIG_BLK_DEV_NBD
601 FILES:=$(LINUX_DIR)/drivers/block/nbd.ko
602 AUTOLOAD:=$(call AutoLoad,30,nbd)
603 endef
604
605 define KernelPackage/nbd/description
606 Kernel module for network block device support
607 endef
608
609 $(eval $(call KernelPackage,nbd))
610
611
612 define KernelPackage/scsi-core
613 SUBMENU:=$(BLOCK_MENU)
614 TITLE:=SCSI device support
615 KCONFIG:= \
616 CONFIG_SCSI \
617 CONFIG_BLK_DEV_SD
618 FILES:= \
619 $(LINUX_DIR)/drivers/scsi/scsi_mod.ko \
620 $(LINUX_DIR)/drivers/scsi/sd_mod.ko
621 AUTOLOAD:=$(call AutoLoad,40,scsi_mod sd_mod,1)
622 endef
623
624 $(eval $(call KernelPackage,scsi-core))
625
626
627 define KernelPackage/scsi-generic
628 SUBMENU:=$(BLOCK_MENU)
629 TITLE:=Kernel support for SCSI generic
630 DEPENDS:=+kmod-scsi-core
631 KCONFIG:= \
632 CONFIG_CHR_DEV_SG
633 FILES:= \
634 $(LINUX_DIR)/drivers/scsi/sg.ko
635 AUTOLOAD:=$(call AutoLoad,65,sg)
636 endef
637
638 $(eval $(call KernelPackage,scsi-generic))
639
640
641 define KernelPackage/scsi-cdrom
642 SUBMENU:=$(BLOCK_MENU)
643 TITLE:=Kernel support for CD / DVD drives
644 DEPENDS:=+kmod-scsi-core
645 KCONFIG:= \
646 CONFIG_BLK_DEV_SR \
647 CONFIG_BLK_DEV_SR_VENDOR=n
648 FILES:= \
649 $(LINUX_DIR)/drivers/cdrom/cdrom.ko \
650 $(LINUX_DIR)/drivers/scsi/sr_mod.ko
651 AUTOLOAD:=$(call AutoLoad,45,sr_mod)
652 endef
653
654 $(eval $(call KernelPackage,scsi-cdrom))