aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorTim Yardley <lst@openwrt.org>2007-03-07 15:38:45 +0000
committerTim Yardley <lst@openwrt.org>2007-03-07 15:38:45 +0000
commitfbbad27a4191281115a486029d54fca0ead77e72 (patch)
treee872800cd78442f18ebd4f688867316bee8261fd /package/kernel
parent2cbe1f1c0d5e7bf7d24086e7794d23cdeeb24f32 (diff)
downloadupstream-fbbad27a4191281115a486029d54fca0ead77e72.tar.gz
upstream-fbbad27a4191281115a486029d54fca0ead77e72.tar.bz2
upstream-fbbad27a4191281115a486029d54fca0ead77e72.zip
split out scsi module support and add ata piix support
SVN-Revision: 6535
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/block.mk21
-rw-r--r--package/kernel/modules/other.mk10
-rw-r--r--package/kernel/modules/usb.mk3
3 files changed, 32 insertions, 2 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
new file mode 100644
index 0000000000..a6df0fc662
--- /dev/null
+++ b/package/kernel/modules/block.mk
@@ -0,0 +1,21 @@
+BLMENU:=Block Devices
+
+define KernelPackage/libata
+ TITLE:=libata
+ DESCRIPTION:=libata
+ KCONFIG:=$(CONFIG_ATA)
+ SUBMENU:=$(BLMENU)
+ FILES:=$(MODULES_DIR)/kernel/drivers/ata/libata.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,libata))
+
+define KernelPackage/ata-piix
+ TITLE:=ata-piix
+ DESCRIPTION:=Kernel module for Intel PIIX SATA controller
+ KCONFIG:=$(CONFIG_ATA_PIIX)
+ SUBMENU:=$(BLMENU)
+ AUTOLOAD:=$(call AutoLoad,30,scsi_mod libata sd_mod ata_piix)
+ FILES:=$(MODULES_DIR)/kernel/drivers/ata/ata_piix.$(LINUX_KMOD_SUFFIX)
+ DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core
+endef
+$(eval $(call KernelPackage,ata-piix))
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index b65df98ff5..e9cefcb16a 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -73,6 +73,16 @@ define KernelPackage/ide-aec62xx
endef
$(eval $(call KernelPackage,ide-aec62xx))
+define KernelPackage/scsi-core
+ TITLE:=Kernel support for SCSI
+ SUBMENU:=$(EMENU)
+ KCONFIG:=$(CONFIG_BLK_DEV_SD)
+ FILES:= \
+ $(MODULES_DIR)/kernel/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/drivers/scsi/sd_mod.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,scsi-core))
+
define KernelPackage/lp
TITLE:=Parallel port and line printer support
KCONFIG:=$(CONFIG_PARPORT)
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 5c9b083016..d391f8b05b 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -233,10 +233,9 @@ define KernelPackage/usb-storage
DESCRIPTION:=Kernel support for USB Mass Storage devices
KCONFIG:=$(CONFIG_USB_STORAGE)
FILES:= \
- $(MODULES_DIR)/kernel/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX) \
- $(MODULES_DIR)/kernel/drivers/scsi/sd_mod.$(LINUX_KMOD_SUFFIX) \
$(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,60,scsi_mod sd_mod usb-storage)
+ DEPENDS:=+kmod-scsi-core
endef
$(eval $(call KernelPackage,usb-storage))