X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fdaaca21309fadaedebb7d1ef36c502add941e3a..11476e81c4be673822360fb9268d6d7c2503773d:/package/kernel/modules/block.mk?ds=sidebyside diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index 67b851f8c..009a8e168 100644 --- a/package/kernel/modules/block.mk +++ b/package/kernel/modules/block.mk @@ -10,7 +10,7 @@ BLOCK_MENU:=Block Devices define KernelPackage/ata-core SUBMENU:=$(BLOCK_MENU) TITLE:=Serial and Parallel ATA support - DEPENDS:=@PCI_SUPPORT @LINUX_2_6 +kmod-scsi-core @!TARGET_ubicom32 + DEPENDS:=@PCI_SUPPORT @LINUX_2_6 +kmod-scsi-core @(!TARGET_ubicom32||!TARGET_etrax||!TARGET_x86) KCONFIG:=CONFIG_ATA FILES:=$(LINUX_DIR)/drivers/ata/libata.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,21,libata,1) @@ -21,7 +21,7 @@ $(eval $(call KernelPackage,ata-core)) define KernelPackage/ata/Depends SUBMENU:=$(BLOCK_MENU) - DEPENDS:=kmod-ata-core $(1) + DEPENDS:=!TARGET_x86:kmod-ata-core $(1) endef @@ -142,15 +142,15 @@ $(eval $(call KernelPackage,ata-nvidia-sata)) define KernelPackage/ata-magicbox-cf -$(call KernelPackage/ata/Depends,@TARGET_ppc40x @BROKEN) - TITLE:=Magicbox v2/OpenRB Compact flash support (ATA) +$(call KernelPackage/ata/Depends,@TARGET_ppc40x) + TITLE:=Magicbox v2/OpenRB Compact flash support KCONFIG:=CONFIG_PATA_MAGICBOX_CF FILES:=$(LINUX_DIR)/drivers/ata/pata_magicbox_cf.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,41,pata_magicbox_cf,1) endef define KernelPackage/ata-magicbox-cf/description - Support for Magicbox v2/OpenRB on-board CF slot. (ATA version). + Support for Magicbox v2/OpenRB on-board CF slot. endef $(eval $(call KernelPackage,ata-magicbox-cf)) @@ -264,21 +264,6 @@ endef $(eval $(call KernelPackage,ide-aec62xx,1)) -define KernelPackage/ide-magicbox -$(call KernelPackage/ide/Depends,@TARGET_ppc40x @BROKEN) - TITLE:=Magicbox v2/OpenRB Compact flash support (IDE) - KCONFIG:=CONFIG_BLK_DEV_IDE_MAGICBOX - FILES:=$(LINUX_DIR)/drivers/ide/magicbox_ide.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,30,magicbox_ide,1) -endef - -define KernelPackage/ide-magicbox/description - Support for Magicbox v2/OpenRB on-board CF slot. (IDE version). -endef - -$(eval $(call KernelPackage,ide-magicbox)) - - define KernelPackage/ide-pdc202xx $(call KernelPackage/ide/Depends,@PCI_SUPPORT) TITLE:=Promise PDC202xx IDE driver @@ -317,6 +302,7 @@ $(eval $(call KernelPackage,ide-it821x)) define KernelPackage/scsi-core SUBMENU:=$(BLOCK_MENU) TITLE:=SCSI device support + DEPENDS:=@!TARGET_x86 KCONFIG:= \ CONFIG_SCSI \ CONFIG_BLK_DEV_SD @@ -466,7 +452,7 @@ $(eval $(call KernelPackage,axonram)) define KernelPackage/libsas SUBMENU:=$(BLOCK_MENU) TITLE:=SAS Domain Transport Attributes - DEPENDS:=+kmod-scsi-core @TARGET_x86 + DEPENDS:=@TARGET_x86 KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \ CONFIG_SCSI_SAS_ATTRS \ CONFIG_SCSI_SAS_ATA=y \