b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 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||TARGET_sunxi +kmod-scsi-core |
| 29 | KCONFIG:=CONFIG_ATA |
| 30 | FILES:=$(LINUX_DIR)/drivers/ata/libata.ko |
| 31 | ifneq ($(wildcard $(LINUX_DIR)/drivers/ata/libahci.ko),) |
| 32 | FILES+=$(LINUX_DIR)/drivers/ata/libahci.ko |
| 33 | endif |
| 34 | endef |
| 35 | |
| 36 | $(eval $(call KernelPackage,ata-core)) |
| 37 | |
| 38 | |
| 39 | define AddDepends/ata |
| 40 | SUBMENU:=$(BLOCK_MENU) |
| 41 | DEPENDS+=+kmod-ata-core $(1) |
| 42 | endef |
| 43 | |
| 44 | |
| 45 | define KernelPackage/ata-ahci |
| 46 | TITLE:=AHCI Serial ATA support |
| 47 | KCONFIG:=CONFIG_SATA_AHCI |
| 48 | FILES:= \ |
| 49 | $(LINUX_DIR)/drivers/ata/ahci.ko |
| 50 | AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1) |
| 51 | $(call AddDepends/ata) |
| 52 | endef |
| 53 | |
| 54 | define KernelPackage/ata-ahci/description |
| 55 | Support for AHCI Serial ATA controllers |
| 56 | endef |
| 57 | |
| 58 | $(eval $(call KernelPackage,ata-ahci)) |
| 59 | |
| 60 | |
| 61 | define KernelPackage/ata-ahci-platform |
| 62 | TITLE:=AHCI Serial ATA Platform support |
| 63 | KCONFIG:=CONFIG_SATA_AHCI_PLATFORM |
| 64 | FILES:= \ |
| 65 | $(LINUX_DIR)/drivers/ata/ahci_platform.ko \ |
| 66 | $(LINUX_DIR)/drivers/ata/libahci_platform.ko |
| 67 | AUTOLOAD:=$(call AutoLoad,40,libahci libahci_platform ahci_platform,1) |
| 68 | $(call AddDepends/ata,@TARGET_ipq806x||TARGET_layerscape||TARGET_sunxi) |
| 69 | endef |
| 70 | |
| 71 | define KernelPackage/ata-ahci-platform/description |
| 72 | Platform support for AHCI Serial ATA controllers |
| 73 | endef |
| 74 | |
| 75 | $(eval $(call KernelPackage,ata-ahci-platform)) |
| 76 | |
| 77 | |
| 78 | define KernelPackage/ata-artop |
| 79 | TITLE:=ARTOP 6210/6260 PATA support |
| 80 | KCONFIG:=CONFIG_PATA_ARTOP |
| 81 | FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.ko |
| 82 | AUTOLOAD:=$(call AutoLoad,41,pata_artop,1) |
| 83 | $(call AddDepends/ata) |
| 84 | endef |
| 85 | |
| 86 | define KernelPackage/ata-artop/description |
| 87 | PATA support for ARTOP 6210/6260 host controllers |
| 88 | endef |
| 89 | |
| 90 | $(eval $(call KernelPackage,ata-artop)) |
| 91 | |
| 92 | define KernelPackage/ata-ahci-dwc |
| 93 | TITLE:=Synopsys DWC AHCI SATA |
| 94 | KCONFIG:= \ |
| 95 | CONFIG_AHCI_DWC \ |
| 96 | CONFIG_SATA_HOST=y |
| 97 | FILES:=$(LINUX_DIR)/drivers/ata/ahci_dwc.ko |
| 98 | DEPENDS:=+kmod-ata-ahci-platform |
| 99 | AUTOLOAD:=$(call AutoLoad,41,ahci_dwc,1) |
| 100 | $(call AddDepends/ata,@TARGET_rockchip) |
| 101 | endef |
| 102 | |
| 103 | $(eval $(call KernelPackage,ata-ahci-dwc)) |
| 104 | |
| 105 | define KernelPackage/ata-nvidia-sata |
| 106 | TITLE:=Nvidia Serial ATA support |
| 107 | KCONFIG:=CONFIG_SATA_NV |
| 108 | FILES:=$(LINUX_DIR)/drivers/ata/sata_nv.ko |
| 109 | AUTOLOAD:=$(call AutoLoad,41,sata_nv,1) |
| 110 | $(call AddDepends/ata) |
| 111 | endef |
| 112 | |
| 113 | $(eval $(call KernelPackage,ata-nvidia-sata)) |
| 114 | |
| 115 | |
| 116 | define KernelPackage/ata-pdc202xx-old |
| 117 | TITLE:=Older Promise PATA controller support |
| 118 | KCONFIG:= \ |
| 119 | CONFIG_ATA_SFF=y \ |
| 120 | CONFIG_PATA_PDC_OLD |
| 121 | FILES:=$(LINUX_DIR)/drivers/ata/pata_pdc202xx_old.ko |
| 122 | AUTOLOAD:=$(call AutoLoad,41,pata_pdc202xx_old,1) |
| 123 | $(call AddDepends/ata) |
| 124 | endef |
| 125 | |
| 126 | define KernelPackage/ata-pdc202xx-old/description |
| 127 | This option enables support for the Promise 20246, 20262, 20263, |
| 128 | 20265 and 20267 adapters |
| 129 | endef |
| 130 | |
| 131 | $(eval $(call KernelPackage,ata-pdc202xx-old)) |
| 132 | |
| 133 | |
| 134 | define KernelPackage/ata-piix |
| 135 | TITLE:=Intel PIIX PATA/SATA support |
| 136 | KCONFIG:=CONFIG_ATA_PIIX |
| 137 | FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.ko |
| 138 | AUTOLOAD:=$(call AutoLoad,41,ata_piix,1) |
| 139 | $(call AddDepends/ata) |
| 140 | endef |
| 141 | |
| 142 | define KernelPackage/ata-piix/description |
| 143 | SATA support for Intel ICH5/6/7/8 series host controllers and |
| 144 | PATA support for Intel ESB/ICH/PIIX3/PIIX4 series host controllers |
| 145 | endef |
| 146 | |
| 147 | $(eval $(call KernelPackage,ata-piix)) |
| 148 | |
| 149 | |
| 150 | define KernelPackage/ata-sil |
| 151 | TITLE:=Silicon Image SATA support |
| 152 | KCONFIG:=CONFIG_SATA_SIL |
| 153 | FILES:=$(LINUX_DIR)/drivers/ata/sata_sil.ko |
| 154 | AUTOLOAD:=$(call AutoLoad,41,sata_sil,1) |
| 155 | $(call AddDepends/ata) |
| 156 | endef |
| 157 | |
| 158 | define KernelPackage/ata-sil/description |
| 159 | Support for Silicon Image Serial ATA controllers |
| 160 | endef |
| 161 | |
| 162 | $(eval $(call KernelPackage,ata-sil)) |
| 163 | |
| 164 | |
| 165 | define KernelPackage/ata-sil24 |
| 166 | TITLE:=Silicon Image 3124/3132 SATA support |
| 167 | KCONFIG:=CONFIG_SATA_SIL24 |
| 168 | FILES:=$(LINUX_DIR)/drivers/ata/sata_sil24.ko |
| 169 | AUTOLOAD:=$(call AutoLoad,41,sata_sil24,1) |
| 170 | $(call AddDepends/ata) |
| 171 | endef |
| 172 | |
| 173 | define KernelPackage/ata-sil24/description |
| 174 | Support for Silicon Image 3124/3132 Serial ATA controllers |
| 175 | endef |
| 176 | |
| 177 | $(eval $(call KernelPackage,ata-sil24)) |
| 178 | |
| 179 | |
| 180 | define KernelPackage/ata-via-sata |
| 181 | TITLE:=VIA SATA support |
| 182 | KCONFIG:=CONFIG_SATA_VIA |
| 183 | FILES:=$(LINUX_DIR)/drivers/ata/sata_via.ko |
| 184 | AUTOLOAD:=$(call AutoLoad,41,sata_via,1) |
| 185 | $(call AddDepends/ata) |
| 186 | endef |
| 187 | |
| 188 | define KernelPackage/ata-via-sata/description |
| 189 | This option enables support for VIA Serial ATA |
| 190 | endef |
| 191 | |
| 192 | $(eval $(call KernelPackage,ata-via-sata)) |
| 193 | |
| 194 | |
| 195 | define KernelPackage/block2mtd |
| 196 | SUBMENU:=$(BLOCK_MENU) |
| 197 | TITLE:=Block device MTD emulation |
| 198 | KCONFIG:=CONFIG_MTD_BLOCK2MTD |
| 199 | FILES:=$(LINUX_DIR)/drivers/mtd/devices/block2mtd.ko |
| 200 | endef |
| 201 | |
| 202 | $(eval $(call KernelPackage,block2mtd)) |
| 203 | |
| 204 | |
| 205 | define KernelPackage/dax |
| 206 | SUBMENU:=$(BLOCK_MENU) |
| 207 | TITLE:=DAX: direct access to differentiated memory |
| 208 | KCONFIG:=CONFIG_DAX |
| 209 | FILES:=$(LINUX_DIR)/drivers/dax/dax.ko |
| 210 | endef |
| 211 | |
| 212 | $(eval $(call KernelPackage,dax)) |
| 213 | |
| 214 | |
| 215 | define KernelPackage/dm |
| 216 | SUBMENU:=$(BLOCK_MENU) |
| 217 | TITLE:=Device Mapper |
| 218 | DEPENDS:=+kmod-crypto-manager +kmod-dax +KERNEL_KEYS:kmod-keys-encrypted |
| 219 | # All the "=n" are unnecessary, they're only there |
| 220 | # to stop the config from asking the question. |
| 221 | # MIRROR is M because I've needed it for pvmove. |
| 222 | KCONFIG:= \ |
| 223 | CONFIG_BLK_DEV_MD=n \ |
| 224 | CONFIG_DM_DEBUG=n \ |
| 225 | CONFIG_DM_UEVENT=n \ |
| 226 | CONFIG_DM_DELAY=n \ |
| 227 | CONFIG_DM_LOG_WRITES=n \ |
| 228 | CONFIG_DM_MQ_DEFAULT=n \ |
| 229 | CONFIG_DM_MULTIPATH=n \ |
| 230 | CONFIG_DM_ZERO=n \ |
| 231 | CONFIG_DM_SNAPSHOT=n \ |
| 232 | CONFIG_DM_LOG_USERSPACE=n \ |
| 233 | CONFIG_MD=y \ |
| 234 | CONFIG_BLK_DEV_DM \ |
| 235 | CONFIG_DM_CRYPT \ |
| 236 | CONFIG_DM_MIRROR |
| 237 | FILES:= \ |
| 238 | $(LINUX_DIR)/drivers/md/dm-mod.ko \ |
| 239 | $(LINUX_DIR)/drivers/md/dm-crypt.ko \ |
| 240 | $(LINUX_DIR)/drivers/md/dm-log.ko \ |
| 241 | $(LINUX_DIR)/drivers/md/dm-mirror.ko \ |
| 242 | $(LINUX_DIR)/drivers/md/dm-region-hash.ko |
| 243 | AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt,1) |
| 244 | endef |
| 245 | |
| 246 | define KernelPackage/dm/description |
| 247 | Kernel module necessary for LVM2 support |
| 248 | endef |
| 249 | |
| 250 | $(eval $(call KernelPackage,dm)) |
| 251 | |
| 252 | define KernelPackage/dm-raid |
| 253 | SUBMENU:=$(BLOCK_MENU) |
| 254 | TITLE:=LVM2 raid support |
| 255 | DEPENDS:=+kmod-dm +kmod-md-mod \ |
| 256 | +kmod-md-raid0 +kmod-md-raid1 +kmod-md-raid10 +kmod-md-raid456 |
| 257 | KCONFIG:= \ |
| 258 | CONFIG_DM_RAID |
| 259 | FILES:=$(LINUX_DIR)/drivers/md/dm-raid.ko |
| 260 | AUTOLOAD:=$(call AutoLoad,31,dm-raid) |
| 261 | endef |
| 262 | |
| 263 | define KernelPackage/dm-raid/description |
| 264 | Kernel module necessary for LVM2 raid support |
| 265 | endef |
| 266 | |
| 267 | $(eval $(call KernelPackage,dm-raid)) |
| 268 | |
| 269 | |
| 270 | define KernelPackage/iscsi-initiator |
| 271 | SUBMENU:=$(BLOCK_MENU) |
| 272 | TITLE:=iSCSI Initiator over TCP/IP |
| 273 | DEPENDS:=+kmod-scsi-core +kmod-crypto-hash |
| 274 | KCONFIG:= \ |
| 275 | CONFIG_INET \ |
| 276 | CONFIG_SCSI_LOWLEVEL=y \ |
| 277 | CONFIG_ISCSI_TCP \ |
| 278 | CONFIG_SCSI_ISCSI_ATTRS |
| 279 | FILES:= \ |
| 280 | $(LINUX_DIR)/drivers/scsi/iscsi_tcp.ko \ |
| 281 | $(LINUX_DIR)/drivers/scsi/libiscsi.ko \ |
| 282 | $(LINUX_DIR)/drivers/scsi/libiscsi_tcp.ko \ |
| 283 | $(LINUX_DIR)/drivers/scsi/scsi_transport_iscsi.ko |
| 284 | AUTOLOAD:=$(call AutoProbe,libiscsi libiscsi_tcp scsi_transport_iscsi iscsi_tcp) |
| 285 | endef |
| 286 | |
| 287 | define KernelPackage/iscsi-initiator/description |
| 288 | The iSCSI Driver provides a host with the ability to access storage through an |
| 289 | IP network. The driver uses the iSCSI protocol to transport SCSI requests and |
| 290 | responses over a TCP/IP network between the host (the "initiator") and "targets". |
| 291 | endef |
| 292 | |
| 293 | $(eval $(call KernelPackage,iscsi-initiator)) |
| 294 | |
| 295 | |
| 296 | define KernelPackage/md-mod |
| 297 | SUBMENU:=$(BLOCK_MENU) |
| 298 | TITLE:=MD RAID |
| 299 | KCONFIG:= \ |
| 300 | CONFIG_MD=y \ |
| 301 | CONFIG_BLK_DEV_MD=m \ |
| 302 | CONFIG_MD_AUTODETECT=y \ |
| 303 | CONFIG_MD_FAULTY=n |
| 304 | FILES:=$(LINUX_DIR)/drivers/md/md-mod.ko |
| 305 | AUTOLOAD:=$(call AutoLoad,27,md-mod) |
| 306 | endef |
| 307 | |
| 308 | define KernelPackage/md-mod/description |
| 309 | Kernel RAID md module (md-mod.ko). |
| 310 | You will need to select at least one RAID level module below. |
| 311 | endef |
| 312 | |
| 313 | $(eval $(call KernelPackage,md-mod)) |
| 314 | |
| 315 | |
| 316 | define KernelPackage/md/Depends |
| 317 | SUBMENU:=$(BLOCK_MENU) |
| 318 | DEPENDS:=kmod-md-mod $(1) |
| 319 | endef |
| 320 | |
| 321 | |
| 322 | define KernelPackage/md-linear |
| 323 | $(call KernelPackage/md/Depends,) |
| 324 | TITLE:=RAID Linear Module |
| 325 | KCONFIG:=CONFIG_MD_LINEAR |
| 326 | FILES:=$(LINUX_DIR)/drivers/md/linear.ko |
| 327 | AUTOLOAD:=$(call AutoLoad,28,linear) |
| 328 | endef |
| 329 | |
| 330 | define KernelPackage/md-linear/description |
| 331 | RAID "Linear" or "Append" driver module (linear.ko) |
| 332 | endef |
| 333 | |
| 334 | $(eval $(call KernelPackage,md-linear)) |
| 335 | |
| 336 | |
| 337 | define KernelPackage/md-raid0 |
| 338 | $(call KernelPackage/md/Depends,) |
| 339 | TITLE:=RAID0 Module |
| 340 | KCONFIG:=CONFIG_MD_RAID0 |
| 341 | FILES:=$(LINUX_DIR)/drivers/md/raid0.ko |
| 342 | AUTOLOAD:=$(call AutoLoad,28,raid0) |
| 343 | endef |
| 344 | |
| 345 | define KernelPackage/md-raid0/description |
| 346 | RAID Level 0 (Striping) driver module (raid0.ko) |
| 347 | endef |
| 348 | |
| 349 | $(eval $(call KernelPackage,md-raid0)) |
| 350 | |
| 351 | |
| 352 | define KernelPackage/md-raid1 |
| 353 | $(call KernelPackage/md/Depends,) |
| 354 | TITLE:=RAID1 Module |
| 355 | KCONFIG:=CONFIG_MD_RAID1 |
| 356 | FILES:=$(LINUX_DIR)/drivers/md/raid1.ko |
| 357 | AUTOLOAD:=$(call AutoLoad,28,raid1) |
| 358 | endef |
| 359 | |
| 360 | define KernelPackage/md-raid1/description |
| 361 | RAID Level 1 (Mirroring) driver (raid1.ko) |
| 362 | endef |
| 363 | |
| 364 | $(eval $(call KernelPackage,md-raid1)) |
| 365 | |
| 366 | |
| 367 | define KernelPackage/md-raid10 |
| 368 | $(call KernelPackage/md/Depends,) |
| 369 | TITLE:=RAID10 Module |
| 370 | KCONFIG:=CONFIG_MD_RAID10 |
| 371 | FILES:=$(LINUX_DIR)/drivers/md/raid10.ko |
| 372 | AUTOLOAD:=$(call AutoLoad,28,raid10) |
| 373 | endef |
| 374 | |
| 375 | define KernelPackage/md-raid10/description |
| 376 | RAID Level 10 (Mirroring+Striping) driver module (raid10.ko) |
| 377 | endef |
| 378 | |
| 379 | $(eval $(call KernelPackage,md-raid10)) |
| 380 | |
| 381 | |
| 382 | define KernelPackage/md-raid456 |
| 383 | $(call KernelPackage/md/Depends,+kmod-lib-raid6 +kmod-lib-xor +kmod-lib-crc32c) |
| 384 | TITLE:=RAID Level 456 Driver |
| 385 | KCONFIG:= \ |
| 386 | CONFIG_ASYNC_CORE \ |
| 387 | CONFIG_ASYNC_MEMCPY \ |
| 388 | CONFIG_ASYNC_XOR \ |
| 389 | CONFIG_ASYNC_PQ \ |
| 390 | CONFIG_ASYNC_RAID6_RECOV \ |
| 391 | CONFIG_ASYNC_RAID6_TEST=n \ |
| 392 | CONFIG_MD_RAID456 \ |
| 393 | CONFIG_MULTICORE_RAID456=n |
| 394 | FILES:= \ |
| 395 | $(LINUX_DIR)/crypto/async_tx/async_tx.ko \ |
| 396 | $(LINUX_DIR)/crypto/async_tx/async_memcpy.ko \ |
| 397 | $(LINUX_DIR)/crypto/async_tx/async_xor.ko \ |
| 398 | $(LINUX_DIR)/crypto/async_tx/async_pq.ko \ |
| 399 | $(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \ |
| 400 | $(LINUX_DIR)/drivers/md/raid456.ko |
| 401 | AUTOLOAD:=$(call AutoLoad,28, async_tx async_memcpy async_xor async_pq async_raid6_recov raid456) |
| 402 | endef |
| 403 | |
| 404 | define KernelPackage/md-raid456/description |
| 405 | RAID Level 4,5,6 kernel module (raid456.ko) |
| 406 | |
| 407 | Includes the following modules required by |
| 408 | raid456.ko: |
| 409 | xor.ko |
| 410 | async_tx.ko |
| 411 | async_xor.ko |
| 412 | async_memcpy.ko |
| 413 | async_pq.ko |
| 414 | async_raid5_recov.ko |
| 415 | raid6_pq.ko |
| 416 | endef |
| 417 | |
| 418 | $(eval $(call KernelPackage,md-raid456)) |
| 419 | |
| 420 | |
| 421 | define KernelPackage/md-multipath |
| 422 | $(call KernelPackage/md/Depends,) |
| 423 | TITLE:=MD Multipath Module |
| 424 | KCONFIG:=CONFIG_MD_MULTIPATH |
| 425 | FILES:=$(LINUX_DIR)/drivers/md/multipath.ko |
| 426 | AUTOLOAD:=$(call AutoLoad,29,multipath) |
| 427 | endef |
| 428 | |
| 429 | define KernelPackage/md-multipath/description |
| 430 | Multipath driver module (multipath.ko) |
| 431 | endef |
| 432 | |
| 433 | $(eval $(call KernelPackage,md-multipath)) |
| 434 | |
| 435 | |
| 436 | define KernelPackage/libsas |
| 437 | SUBMENU:=$(BLOCK_MENU) |
| 438 | DEPENDS:=@TARGET_x86 |
| 439 | TITLE:=SAS Domain Transport Attributes |
| 440 | KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \ |
| 441 | CONFIG_SCSI_SAS_ATTRS \ |
| 442 | CONFIG_SCSI_SAS_ATA=y \ |
| 443 | CONFIG_SCSI_SAS_HOST_SMP=y \ |
| 444 | CONFIG_SCSI_SAS_LIBSAS_DEBUG=y |
| 445 | FILES:= \ |
| 446 | $(LINUX_DIR)/drivers/scsi/scsi_transport_sas.ko \ |
| 447 | $(LINUX_DIR)/drivers/scsi/libsas/libsas.ko |
| 448 | AUTOLOAD:=$(call AutoLoad,29,scsi_transport_sas libsas,1) |
| 449 | endef |
| 450 | |
| 451 | define KernelPackage/libsas/description |
| 452 | SAS Domain Transport Attributes support |
| 453 | endef |
| 454 | |
| 455 | $(eval $(call KernelPackage,libsas,1)) |
| 456 | |
| 457 | |
| 458 | define KernelPackage/loop |
| 459 | SUBMENU:=$(BLOCK_MENU) |
| 460 | TITLE:=Loopback device support |
| 461 | KCONFIG:= \ |
| 462 | CONFIG_BLK_DEV_LOOP \ |
| 463 | CONFIG_BLK_DEV_CRYPTOLOOP=n |
| 464 | FILES:=$(LINUX_DIR)/drivers/block/loop.ko |
| 465 | AUTOLOAD:=$(call AutoLoad,30,loop,1) |
| 466 | endef |
| 467 | |
| 468 | define KernelPackage/loop/description |
| 469 | Kernel module for loopback device support |
| 470 | endef |
| 471 | |
| 472 | $(eval $(call KernelPackage,loop)) |
| 473 | |
| 474 | |
| 475 | define KernelPackage/mvsas |
| 476 | SUBMENU:=$(BLOCK_MENU) |
| 477 | TITLE:=Marvell 88SE6440 SAS/SATA driver |
| 478 | DEPENDS:=@TARGET_x86 +kmod-libsas |
| 479 | KCONFIG:= \ |
| 480 | CONFIG_SCSI_MVSAS \ |
| 481 | CONFIG_SCSI_MVSAS_TASKLET=n |
| 482 | FILES:=$(LINUX_DIR)/drivers/scsi/mvsas/mvsas.ko |
| 483 | AUTOLOAD:=$(call AutoLoad,40,mvsas,1) |
| 484 | endef |
| 485 | |
| 486 | define KernelPackage/mvsas/description |
| 487 | Kernel support for the Marvell SAS SCSI adapters |
| 488 | endef |
| 489 | |
| 490 | $(eval $(call KernelPackage,mvsas)) |
| 491 | |
| 492 | |
| 493 | define KernelPackage/nbd |
| 494 | SUBMENU:=$(BLOCK_MENU) |
| 495 | TITLE:=Network block device support |
| 496 | KCONFIG:=CONFIG_BLK_DEV_NBD |
| 497 | FILES:=$(LINUX_DIR)/drivers/block/nbd.ko |
| 498 | AUTOLOAD:=$(call AutoLoad,30,nbd) |
| 499 | endef |
| 500 | |
| 501 | define KernelPackage/nbd/description |
| 502 | Kernel module for network block device support |
| 503 | endef |
| 504 | |
| 505 | $(eval $(call KernelPackage,nbd)) |
| 506 | |
| 507 | |
| 508 | define KernelPackage/nvme |
| 509 | SUBMENU:=$(BLOCK_MENU) |
| 510 | TITLE:=NVM Express block device |
| 511 | DEPENDS:=@PCI_SUPPORT +kmod-hwmon-core |
| 512 | KCONFIG:= \ |
| 513 | CONFIG_NVME_CORE \ |
| 514 | CONFIG_BLK_DEV_NVME \ |
| 515 | CONFIG_NVME_MULTIPATH=n \ |
| 516 | CONFIG_NVME_HWMON=y |
| 517 | FILES:= \ |
| 518 | $(LINUX_DIR)/drivers/nvme/host/nvme-core.ko \ |
| 519 | $(LINUX_DIR)/drivers/nvme/host/nvme.ko |
| 520 | AUTOLOAD:=$(call AutoLoad,30,nvme-core nvme,1) |
| 521 | endef |
| 522 | |
| 523 | define KernelPackage/nvme/description |
| 524 | Kernel module for NVM Express solid state drives directly |
| 525 | connected to the PCI or PCI Express bus. |
| 526 | endef |
| 527 | |
| 528 | $(eval $(call KernelPackage,nvme)) |
| 529 | |
| 530 | |
| 531 | define KernelPackage/scsi-core |
| 532 | SUBMENU:=$(BLOCK_MENU) |
| 533 | TITLE:=SCSI device support |
| 534 | KCONFIG:= \ |
| 535 | CONFIG_SCSI \ |
| 536 | CONFIG_SCSI_COMMON \ |
| 537 | CONFIG_BLK_DEV_SD |
| 538 | FILES:= \ |
| 539 | $(LINUX_DIR)/drivers/scsi/scsi_mod.ko \ |
| 540 | $(LINUX_DIR)/drivers/scsi/scsi_common.ko@ge5.15 \ |
| 541 | $(LINUX_DIR)/drivers/scsi/sd_mod.ko |
| 542 | AUTOLOAD:=$(call AutoLoad,40,scsi_mod scsi_common@ge5.15 sd_mod,1) |
| 543 | endef |
| 544 | |
| 545 | $(eval $(call KernelPackage,scsi-core)) |
| 546 | |
| 547 | |
| 548 | define KernelPackage/scsi-generic |
| 549 | SUBMENU:=$(BLOCK_MENU) |
| 550 | TITLE:=Kernel support for SCSI generic |
| 551 | DEPENDS:=+kmod-scsi-core |
| 552 | KCONFIG:= \ |
| 553 | CONFIG_CHR_DEV_SG |
| 554 | FILES:= \ |
| 555 | $(LINUX_DIR)/drivers/scsi/sg.ko |
| 556 | AUTOLOAD:=$(call AutoLoad,65,sg) |
| 557 | endef |
| 558 | |
| 559 | $(eval $(call KernelPackage,scsi-generic)) |
| 560 | |
| 561 | |
| 562 | define KernelPackage/cdrom |
| 563 | TITLE:=Kernel library module for CD / DVD drives |
| 564 | KCONFIG:=CONFIG_CDROM |
| 565 | HIDDEN:=1 |
| 566 | FILES:=$(LINUX_DIR)/drivers/cdrom/cdrom.ko |
| 567 | endef |
| 568 | |
| 569 | $(eval $(call KernelPackage,cdrom)) |
| 570 | |
| 571 | |
| 572 | define KernelPackage/scsi-cdrom |
| 573 | SUBMENU:=$(BLOCK_MENU) |
| 574 | TITLE:=Kernel support for CD / DVD drives |
| 575 | DEPENDS:=+kmod-scsi-core +kmod-cdrom |
| 576 | KCONFIG:= \ |
| 577 | CONFIG_BLK_DEV_SR \ |
| 578 | CONFIG_BLK_DEV_SR_VENDOR=n |
| 579 | FILES:=$(LINUX_DIR)/drivers/scsi/sr_mod.ko |
| 580 | AUTOLOAD:=$(call AutoLoad,45,sr_mod) |
| 581 | endef |
| 582 | |
| 583 | $(eval $(call KernelPackage,scsi-cdrom)) |
| 584 | |
| 585 | |
| 586 | define KernelPackage/scsi-tape |
| 587 | SUBMENU:=$(BLOCK_MENU) |
| 588 | TITLE:=Kernel support for scsi tape drives |
| 589 | DEPENDS:=+kmod-scsi-core |
| 590 | KCONFIG:= \ |
| 591 | CONFIG_CHR_DEV_ST |
| 592 | FILES:= \ |
| 593 | $(LINUX_DIR)/drivers/scsi/st.ko |
| 594 | AUTOLOAD:=$(call AutoLoad,45,st) |
| 595 | endef |
| 596 | |
| 597 | $(eval $(call KernelPackage,scsi-tape)) |
| 598 | |
| 599 | define KernelPackage/iosched-bfq |
| 600 | SUBMENU:=$(BLOCK_MENU) |
| 601 | TITLE:=Kernel support for BFQ I/O scheduler |
| 602 | KCONFIG:= \ |
| 603 | CONFIG_IOSCHED_BFQ \ |
| 604 | CONFIG_BFQ_GROUP_IOSCHED=y \ |
| 605 | CONFIG_BFQ_CGROUP_DEBUG=n |
| 606 | FILES:= \ |
| 607 | $(LINUX_DIR)/block/bfq.ko |
| 608 | AUTOLOAD:=$(call AutoLoad,10,bfq) |
| 609 | endef |
| 610 | |
| 611 | $(eval $(call KernelPackage,iosched-bfq)) |