From: Florian Fainelli Date: Sun, 16 Nov 2008 01:04:52 +0000 (+0000) Subject: Package pata_rb532_cf separately and update kernel config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ac26d5ea2cb5ae507020fc63cf70ed62a9c50e45;p=openwrt%2Fstaging%2Fldir.git Package pata_rb532_cf separately and update kernel config SVN-Revision: 13225 --- diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index cc8398335c..98e58c5a1b 100644 --- a/package/kernel/modules/block.mk +++ b/package/kernel/modules/block.mk @@ -67,6 +67,24 @@ endef $(eval $(call KernelPackage,ata-ixp4xx-cf)) +define KernelPackage/ata-rb532-cf + SUBMENU:=$(BLOCK_MENU) + TITLE:=RB532 Compact Flash support + DEPENDS:=kmod-ata-core + KCONFIG:= \ + CONFIG_PATA_PLATFORM \ + CONFIG_PATA_RB532 + FILES:=\ + $(LINUX_DIR)/drivers/ata/pata_platform.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/ata/pata_rb532_cf.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,41,pata_platform pata_rb532_cf) +endef + +define KernelPackage/ata-rb532-cf/description + RB532 Compact Flash support. +endef + +$(eval $(call KernelPackage,ata-rb532-cf)) define KernelPackage/ata-nvidia-sata SUBMENU:=$(BLOCK_MENU) diff --git a/target/linux/rb532/config-2.6.27 b/target/linux/rb532/config-2.6.27 index 8fd10702d9..3947a18bb1 100644 --- a/target/linux/rb532/config-2.6.27 +++ b/target/linux/rb532/config-2.6.27 @@ -8,7 +8,6 @@ CONFIG_ARCH_REQUIRE_GPIOLIB=y # CONFIG_ARCH_SUPPORTS_MSI is not set CONFIG_ARCH_SUPPORTS_OPROFILE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y -CONFIG_ATA=y # CONFIG_ATA_NONSTANDARD is not set # CONFIG_ATA_PIIX is not set CONFIG_ATA_SFF=y @@ -20,6 +19,7 @@ CONFIG_BITREVERSE=y CONFIG_BOOT_RAW=y # CONFIG_BT is not set CONFIG_CEVT_R4K=y +CONFIG_CHR_DEV_SG=m CONFIG_CLASSIC_RCU=y # CONFIG_CPU_BIG_ENDIAN is not set CONFIG_CPU_HAS_LLSC=y @@ -110,7 +110,7 @@ CONFIG_KORINA=y # CONFIG_MFD_CORE is not set # CONFIG_MFD_TMIO is not set CONFIG_MIKROTIK_RB532=y -CONFIG_MINI_FO=m +CONFIG_MINI_FO=y CONFIG_MIPS=y # CONFIG_MIPS_COBALT is not set CONFIG_MIPS_L1_CACHE_SHIFT=4 @@ -186,8 +186,6 @@ CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_PAGE_SIZE_4KB=y # CONFIG_PAGE_SIZE_64KB is not set # CONFIG_PAGE_SIZE_8KB is not set -CONFIG_PATA_PLATFORM=y -CONFIG_PATA_RB532=y # CONFIG_PATA_SCH is not set CONFIG_PCI=y CONFIG_PCI_DOMAINS=y @@ -203,8 +201,6 @@ CONFIG_RFKILL_LEDS=y CONFIG_RTC_LIB=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y -CONFIG_SCSI=y -CONFIG_SCSI_WAIT_SCAN=m # CONFIG_SERIAL_8250_EXTENDED is not set # CONFIG_SGI_IP22 is not set # CONFIG_SGI_IP27 is not set