X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fkernel%2Fmodules%2Fblock.mk;h=373230b9a6c09d539f2c0367f16730ead1261da6;hb=d47de34432c13c08aebc093bd91318adc6b40caf;hp=d529d0ebaacf2cdfa691d5d5f7453f9988c8e8e1;hpb=9482e31e708db04075cf803cb0527583d00165d0;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index d529d0ebaa..373230b9a6 100644 --- a/package/kernel/modules/block.mk +++ b/package/kernel/modules/block.mk @@ -25,7 +25,7 @@ $(eval $(call KernelPackage,aoe)) define KernelPackage/ata-core SUBMENU:=$(BLOCK_MENU) TITLE:=Serial and Parallel ATA support - DEPENDS:=@PCI_SUPPORT +kmod-scsi-core @(!TARGET_ubicom32||!TARGET_etrax) + DEPENDS:=@PCI_SUPPORT +kmod-scsi-core KCONFIG:=CONFIG_ATA FILES:=$(LINUX_DIR)/drivers/ata/libata.ko AUTOLOAD:=$(call AutoLoad,21,libata,1) @@ -43,13 +43,10 @@ endef define KernelPackage/ata-ahci TITLE:=AHCI Serial ATA support KCONFIG:=CONFIG_SATA_AHCI - FILES:=$(LINUX_DIR)/drivers/ata/ahci.ko - ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1) - FILES += $(LINUX_DIR)/drivers/ata/libahci.ko - AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1) - else - AUTOLOAD:=$(call AutoLoad,41,ahci,1) - endif + FILES:= \ + $(LINUX_DIR)/drivers/ata/ahci.ko \ + $(LINUX_DIR)/drivers/ata/libahci.ko + AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1) $(call AddDepends/ata) endef @@ -343,17 +340,8 @@ $(call KernelPackage/md/Depends,) $(LINUX_DIR)/crypto/async_tx/async_xor.ko \ $(LINUX_DIR)/crypto/async_tx/async_pq.ko \ $(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \ - $(LINUX_DIR)/drivers/md/raid456.ko - # Additional files with kernel-dependent locations or presence - # For Linux >= 2.6.36 - ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)), 1) - FILES+= \ + $(LINUX_DIR)/drivers/md/raid456.ko \ $(LINUX_DIR)/lib/raid6/raid6_pq.ko - # For Linux < 2.6.36 - else - FILES+= \ - $(LINUX_DIR)/drivers/md/raid6_pq.ko - endif AUTOLOAD:=$(call AutoLoad,28, xor async_tx async_memcpy async_xor raid6_pq async_pq async_raid6_recov raid456) endef @@ -501,74 +489,9 @@ endef $(eval $(call KernelPackage,ide-it821x)) -define KernelPackage/cs5535 - TITLE:=NSC/AMD CS5535 chipset support - DEPENDS:=@TARGET_x86 - KCONFIG:=CONFIG_BLK_DEV_CS5535 - FILES=$(LINUX_DIR)/drivers/ide/cs5535.ko - AUTOLOAD:=$(call AutoLoad,30,cs5535,1) - $(call AddDepends/ide) -endef - -define KernelPackage/cs5535/description - Kernel module for the NSC/AMD CS5535 companion chip -endef - -$(eval $(call KernelPackage,cs5535)) - - -define KernelPackage/cs5536 - TITLE:=AMD CS5536 chipset support - DEPENDS:=@TARGET_x86 - KCONFIG:=CONFIG_BLK_DEV_CS5536 - FILES=$(LINUX_DIR)/drivers/ide/cs5536.ko - AUTOLOAD:=$(call AutoLoad,30,cs5536,1) - $(call AddDepends/ide) -endef - -define KernelPackage/cs5536/description - Kernel module for the AMD CS5536 Geode LX companion chip -endef - -$(eval $(call KernelPackage,cs5536)) - - -define KernelPackage/pata-cs5535 - TITLE:=CS5535 PATA support - DEPENDS:=@TARGET_x86 @PCI_SUPPORT - KCONFIG:=CONFIG_PATA_CS5535 - FILES=$(LINUX_DIR)/drivers/ata/pata_cs5535.ko - AUTOLOAD:=$(call AutoLoad,30,pata_cs5535,1) - $(call AddDepends/ata) -endef - -define KernelPackage/pata-cs5535/description - Kernel module for the NSC/AMD CS5535 companion chip -endef - -$(eval $(call KernelPackage,pata-cs5535)) - - -define KernelPackage/pata-cs5536 - TITLE:=CS5536 PATA support - DEPENDS:=@TARGET_x86 @PCI_SUPPORT - KCONFIG:=CONFIG_PATA_CS5536 - FILES=$(LINUX_DIR)/drivers/ata/pata_cs5536.ko - AUTOLOAD:=$(call AutoLoad,30,pata_cs5536,1) - $(call AddDepends/ata) -endef - -define KernelPackage/pata-cs5536/description - Kernel module for the AMD CS5536 Geode LX companion chip -endef - -$(eval $(call KernelPackage,pata-cs5536)) - - define KernelPackage/libsas SUBMENU:=$(BLOCK_MENU) TITLE:=SAS Domain Transport Attributes - DEPENDS:=@TARGET_x86 KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \ CONFIG_SCSI_SAS_ATTRS \ CONFIG_SCSI_SAS_ATA=y \ @@ -611,11 +534,7 @@ define KernelPackage/mvsas KCONFIG:= \ CONFIG_SCSI_MVSAS \ CONFIG_SCSI_MVSAS_TASKLET=n - ifneq ($(CONFIG_LINUX_2_6_30),) - FILES:=$(LINUX_DIR)/drivers/scsi/mvsas.ko - else - FILES:=$(LINUX_DIR)/drivers/scsi/mvsas/mvsas.ko - endif + FILES:=$(LINUX_DIR)/drivers/scsi/mvsas/mvsas.ko AUTOLOAD:=$(call AutoLoad,40,mvsas,1) endef