2007-03-07 23:38:45 +08:00
|
|
|
BLMENU:=Block Devices
|
|
|
|
|
2007-07-23 10:41:33 +08:00
|
|
|
define KernelPackage/ide-core
|
2007-08-28 19:44:15 +08:00
|
|
|
SUBMENU:=$(BLMENU)
|
2007-07-23 10:41:33 +08:00
|
|
|
TITLE:=Kernel support for IDE
|
2007-09-03 16:58:14 +08:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_IDE \
|
2007-09-10 04:37:50 +08:00
|
|
|
CONFIG_IDE_GENERIC \
|
2007-09-03 16:58:14 +08:00
|
|
|
CONFIG_BLK_DEV_IDE \
|
2007-09-10 03:33:18 +08:00
|
|
|
CONFIG_IDE_GENERIC \
|
2007-09-03 16:58:14 +08:00
|
|
|
CONFIG_BLK_DEV_IDEDISK
|
2007-07-23 10:41:33 +08:00
|
|
|
FILES:= \
|
|
|
|
$(LINUX_DIR)/drivers/ide/ide-core.$(LINUX_KMOD_SUFFIX) \
|
|
|
|
$(LINUX_DIR)/drivers/ide/ide-disk.$(LINUX_KMOD_SUFFIX)
|
2007-09-03 16:58:14 +08:00
|
|
|
AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,40,ide-disk)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/ide-core/2.4
|
|
|
|
FILES+=$(LINUX_DIR)/drivers/ide/ide-detect.$(LINUX_KMOD_SUFFIX)
|
|
|
|
AUTOLOAD+=$(call AutoLoad,30,ide-detect)
|
2007-07-23 10:41:33 +08:00
|
|
|
endef
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-07-23 10:41:33 +08:00
|
|
|
define KernelPackage/ide-core/2.6
|
2007-09-10 04:37:50 +08:00
|
|
|
# KCONFIG+=CONFIG_IDE_GENERIC
|
2007-09-03 16:58:14 +08:00
|
|
|
FILES+=$(LINUX_DIR)/drivers/ide/ide-generic.$(LINUX_KMOD_SUFFIX)
|
|
|
|
AUTOLOAD+=$(call AutoLoad,30,ide-generic)
|
2007-07-23 10:41:33 +08:00
|
|
|
endef
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-09-07 16:34:51 +08:00
|
|
|
define KernelPackage/ide-core/description
|
|
|
|
Kernel support for IDE, useful for usb mass storage devices (e.g. on WL-HDD)
|
|
|
|
Includes:
|
|
|
|
- ide-core
|
|
|
|
- ide-detect
|
|
|
|
- ide-disk
|
|
|
|
endef
|
|
|
|
|
2007-07-23 10:41:33 +08:00
|
|
|
$(eval $(call KernelPackage,ide-core))
|
|
|
|
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-07-23 10:41:33 +08:00
|
|
|
define KernelPackage/ide-pdc202xx
|
|
|
|
SUBMENU:=$(BLMENU)
|
2007-08-28 19:44:15 +08:00
|
|
|
TITLE:=PDC202xx IDE driver
|
2007-07-23 10:41:33 +08:00
|
|
|
DEPENDS:=@LINUX_2_4
|
|
|
|
KCONFIG:=CONFIG_BLK_DEV_PDC202XX_OLD
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
|
|
|
|
AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
|
|
|
|
endef
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-07-23 10:41:33 +08:00
|
|
|
$(eval $(call KernelPackage,ide-pdc202xx))
|
|
|
|
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-07-23 10:41:33 +08:00
|
|
|
define KernelPackage/ide-aec62xx
|
|
|
|
SUBMENU:=$(BLMENU)
|
2007-08-28 19:44:15 +08:00
|
|
|
TITLE:=AEC62xx IDE driver
|
2007-09-17 00:21:56 +08:00
|
|
|
DEPENDS:=@PCI_SUPPORT
|
2007-07-23 10:41:33 +08:00
|
|
|
KCONFIG:=CONFIG_BLK_DEV_AEC62XX
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/ide/pci/aec62xx.$(LINUX_KMOD_SUFFIX)
|
|
|
|
AUTOLOAD:=$(call AutoLoad,30,aec62xx)
|
|
|
|
endef
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-07-23 10:41:33 +08:00
|
|
|
$(eval $(call KernelPackage,ide-aec62xx))
|
|
|
|
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-07-23 10:41:33 +08:00
|
|
|
define KernelPackage/scsi-core
|
|
|
|
SUBMENU:=$(BLMENU)
|
2007-08-28 19:44:15 +08:00
|
|
|
TITLE:=Kernel support for SCSI
|
2007-09-03 16:58:14 +08:00
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_SCSI \
|
|
|
|
CONFIG_BLK_DEV_SD
|
2007-07-23 10:41:33 +08:00
|
|
|
FILES:= \
|
2007-09-07 16:34:51 +08:00
|
|
|
$(LINUX_DIR)/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX) \
|
|
|
|
$(LINUX_DIR)/drivers/scsi/sd_mod.$(LINUX_KMOD_SUFFIX)
|
2007-09-03 16:58:14 +08:00
|
|
|
AUTOLOAD:=$(call AutoLoad,20,scsi_mod) $(call AutoLoad,40,sd_mod)
|
2007-07-23 10:41:33 +08:00
|
|
|
endef
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-07-23 10:41:33 +08:00
|
|
|
$(eval $(call KernelPackage,scsi-core))
|
|
|
|
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-03-07 23:38:45 +08:00
|
|
|
define KernelPackage/libata
|
2007-08-28 19:44:15 +08:00
|
|
|
SUBMENU:=$(BLMENU)
|
|
|
|
TITLE:=libata
|
|
|
|
DEPENDS:=@PCI_SUPPORT @LINUX_2_6
|
|
|
|
KCONFIG:=CONFIG_ATA
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/ata/libata.$(LINUX_KMOD_SUFFIX)
|
2007-09-03 16:58:14 +08:00
|
|
|
AUTOLOAD:=$(call AutoLoad,21,libata)
|
2007-03-07 23:38:45 +08:00
|
|
|
endef
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-03-07 23:38:45 +08:00
|
|
|
$(eval $(call KernelPackage,libata))
|
|
|
|
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-03-07 23:38:45 +08:00
|
|
|
define KernelPackage/ata-piix
|
2007-08-28 19:44:15 +08:00
|
|
|
SUBMENU:=$(BLMENU)
|
|
|
|
TITLE:=ata-piix
|
|
|
|
DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core
|
|
|
|
KCONFIG:=CONFIG_ATA_PIIX
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.$(LINUX_KMOD_SUFFIX)
|
2007-09-03 16:58:14 +08:00
|
|
|
AUTOLOAD:=$(call AutoLoad,41,ata_piix)
|
2007-03-07 23:38:45 +08:00
|
|
|
endef
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-09-07 16:34:51 +08:00
|
|
|
define KernelPackage/ata-piix/description
|
|
|
|
Kernel module for Intel PIIX SATA controller
|
|
|
|
endef
|
|
|
|
|
2007-03-07 23:38:45 +08:00
|
|
|
$(eval $(call KernelPackage,ata-piix))
|
2007-05-20 20:17:44 +08:00
|
|
|
|
2007-08-28 19:44:15 +08:00
|
|
|
|
2007-05-20 20:17:44 +08:00
|
|
|
define KernelPackage/pata-artop
|
2007-08-28 19:44:15 +08:00
|
|
|
SUBMENU:=$(BLMENU)
|
|
|
|
TITLE:=pata-artop
|
2007-09-03 16:58:14 +08:00
|
|
|
DEPENDS:=+kmod-libata +kmod-scsi-core
|
2007-08-28 19:44:15 +08:00
|
|
|
KCONFIG:=CONFIG_PATA_ARTOP
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.$(LINUX_KMOD_SUFFIX)
|
2007-09-03 16:58:14 +08:00
|
|
|
AUTOLOAD:=$(call AutoLoad,41,pata_artop)
|
2007-05-20 20:17:44 +08:00
|
|
|
endef
|
2007-07-23 10:41:33 +08:00
|
|
|
|
2007-09-07 16:34:51 +08:00
|
|
|
define KernelPackage/pata-artop/description
|
|
|
|
Kernel module for ARTOP PATA controller
|
|
|
|
endef
|
|
|
|
|
2007-08-28 19:44:15 +08:00
|
|
|
$(eval $(call KernelPackage,pata-artop))
|