All pastes #420788 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-02 11:55 UTC
rendered paste body
rwhitby@etch:/home/slug/openwrt$ svn diff package/kernel/modules/block.mk
Index: package/kernel/modules/block.mk
===================================================================
--- package/kernel/modules/block.mk     (revision 6826)
+++ package/kernel/modules/block.mk     (working copy)
@@ -19,3 +19,14 @@
        DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core
 endef
 $(eval $(call KernelPackage,ata-piix))
+
+define KernelPackage/pata-artop
+       TITLE:=pata-artop
+       DESCRIPTION:=Kernel module for ARTOP PATA controller
+       KCONFIG:=$(CONFIG_PATA_ARTOP)
+       SUBMENU:=$(BLMENU)
+       AUTOLOAD:=$(call AutoLoad,30,scsi_mod libata sd_mod pata_artop)
+       FILES:=$(MODULES_DIR)/kernel/drivers/ata/pata_artop.$(LINUX_KMOD_SUFFIX)
+       DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core
+endef
+$(eval $(call KernelPackage,pata-artop))