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