aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-06-21 16:54:37 +0000
committerJohn Crispin <john@openwrt.org>2013-06-21 16:54:37 +0000
commit4ebf19b48fafc8d94e14e4ba779969613b241a6a (patch)
tree9918f890a8915023b49ea30948beb5d048c333fa /package/kernel/modules
parent44b1688e6c7b4f16f7165fbd560e1183aef69090 (diff)
downloadupstream-4ebf19b48fafc8d94e14e4ba779969613b241a6a.tar.gz
upstream-4ebf19b48fafc8d94e14e4ba779969613b241a6a.tar.bz2
upstream-4ebf19b48fafc8d94e14e4ba779969613b241a6a.zip
packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/001-depends.mk37
-rw-r--r--package/kernel/modules/block.mk606
-rw-r--r--package/kernel/modules/crypto.mk510
-rw-r--r--package/kernel/modules/firewire.mk77
-rw-r--r--package/kernel/modules/fs.mk372
-rw-r--r--package/kernel/modules/hwmon.mk221
-rw-r--r--package/kernel/modules/i2c.mk269
-rw-r--r--package/kernel/modules/input.mk206
-rw-r--r--package/kernel/modules/leds.mk169
-rw-r--r--package/kernel/modules/lib.mk165
-rw-r--r--package/kernel/modules/netdevices.mk726
-rw-r--r--package/kernel/modules/netfilter.mk575
-rw-r--r--package/kernel/modules/netsupport.mk908
-rw-r--r--package/kernel/modules/nls.mk228
-rw-r--r--package/kernel/modules/other.mk686
-rw-r--r--package/kernel/modules/pcmcia.mk80
-rw-r--r--package/kernel/modules/sound.mk220
-rw-r--r--package/kernel/modules/spi.mk90
-rw-r--r--package/kernel/modules/usb.mk1002
-rw-r--r--package/kernel/modules/video.mk730
-rw-r--r--package/kernel/modules/virtual.mk171
-rw-r--r--package/kernel/modules/w1.mk160
-rw-r--r--package/kernel/modules/wireless.mk109
23 files changed, 0 insertions, 8317 deletions
diff --git a/package/kernel/modules/001-depends.mk b/package/kernel/modules/001-depends.mk
deleted file mode 100644
index e0af735705..0000000000
--- a/package/kernel/modules/001-depends.mk
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# Copyright (C) 2010-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define AddDepends/crc16
- DEPENDS+= +kmod-lib-crc16 $(1)
-endef
-
-define AddDepends/hid
- DEPENDS+= +kmod-hid $(1)
-endef
-
-define AddDepends/input
- DEPENDS+= +kmod-input-core $(1)
-endef
-
-
-define AddDepends/nls
- DEPENDS+= +kmod-nls-base $(foreach cp,$(1),+kmod-nls-$(cp))
-endef
-
-
-define SetDepends/rfkill
- DEPENDS:= @(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86||TARGET_gemini||TARGET_cns3xxx||TARGET_ixp4xx)
-endef
-
-define AddDepends/rfkill
- DEPENDS+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86||TARGET_cns3xxx||TARGET_ixp4xx):kmod-rfkill $(1)
-endef
-
-
-define AddDepends/rtc
- DEPENDS+= @RTC_SUPPORT
-endef
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
deleted file mode 100644
index 1aa47def2d..0000000000
--- a/package/kernel/modules/block.mk
+++ /dev/null
@@ -1,606 +0,0 @@
-#
-# Copyright (C) 2006-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-BLOCK_MENU:=Block Devices
-
-define KernelPackage/aoe
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=ATA over Ethernet support
- KCONFIG:=CONFIG_ATA_OVER_ETH
- FILES:=$(LINUX_DIR)/drivers/block/aoe/aoe.ko
- AUTOLOAD:=$(call AutoLoad,30,aoe)
-endef
-
-define KernelPackage/aoe/description
- Kernel support for ATA over Ethernet
-endef
-
-$(eval $(call KernelPackage,aoe))
-
-
-define KernelPackage/ata-core
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=Serial and Parallel ATA support
- DEPENDS:=@PCI_SUPPORT +kmod-scsi-core
- KCONFIG:=CONFIG_ATA
- FILES:=$(LINUX_DIR)/drivers/ata/libata.ko
- AUTOLOAD:=$(call AutoLoad,21,libata,1)
-endef
-
-$(eval $(call KernelPackage,ata-core))
-
-
-define AddDepends/ata
- SUBMENU:=$(BLOCK_MENU)
- DEPENDS+=kmod-ata-core $(1)
-endef
-
-
-define KernelPackage/ata-ahci
- TITLE:=AHCI Serial ATA support
- KCONFIG:=CONFIG_SATA_AHCI
- FILES:= \
- $(LINUX_DIR)/drivers/ata/ahci.ko \
- $(LINUX_DIR)/drivers/ata/libahci.ko
- AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1)
- $(call AddDepends/ata)
-endef
-
-define KernelPackage/ata-ahci/description
- Support for AHCI Serial ATA controllers.
-endef
-
-$(eval $(call KernelPackage,ata-ahci))
-
-
-define KernelPackage/ata-artop
- TITLE:=ARTOP 6210/6260 PATA support
- KCONFIG:=CONFIG_PATA_ARTOP
- FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.ko
- AUTOLOAD:=$(call AutoLoad,41,pata_artop,1)
- $(call AddDepends/ata)
-endef
-
-define KernelPackage/ata-artop/description
- PATA support for ARTOP 6210/6260 host controllers.
-endef
-
-$(eval $(call KernelPackage,ata-artop))
-
-
-define KernelPackage/ata-marvell-sata
- TITLE:=Marvell Serial ATA support
- KCONFIG:=CONFIG_SATA_MV
- FILES:=$(LINUX_DIR)/drivers/ata/sata_mv.ko
- AUTOLOAD:=$(call AutoLoad,41,sata_mv,1)
- $(call AddDepends/ata)
-endef
-
-define KernelPackage/ata-marvell-sata/description
- SATA support for marvell chipsets
-endef
-
-$(eval $(call KernelPackage,ata-marvell-sata))
-
-
-define KernelPackage/ata-nvidia-sata
- TITLE:=Nvidia Serial ATA support
- KCONFIG:=CONFIG_SATA_NV
- FILES:=$(LINUX_DIR)/drivers/ata/sata_nv.ko
- AUTOLOAD:=$(call AutoLoad,41,sata_nv,1)
- $(call AddDepends/ata)
-endef
-
-$(eval $(call KernelPackage,ata-nvidia-sata))
-
-
-define KernelPackage/ata-pdc202xx-old
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=Older Promise PATA controller support
- DEPENDS:=kmod-ata-core
- KCONFIG:= \
- CONFIG_ATA_SFF=y \
- CONFIG_PATA_PDC_OLD
- FILES:=$(LINUX_DIR)/drivers/ata/pata_pdc202xx_old.ko
- AUTOLOAD:=$(call AutoLoad,41,pata_pdc202xx_old,1)
-endef
-
-define KernelPackage/ata-pdc202xx-old/description
- This option enables support for the Promise 20246, 20262, 20263,
- 20265 and 20267 adapters.
-endef
-
-$(eval $(call KernelPackage,ata-pdc202xx-old))
-
-
-define KernelPackage/ata-piix
- TITLE:=Intel PIIX PATA/SATA support
- KCONFIG:=CONFIG_ATA_PIIX
- FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.ko
- AUTOLOAD:=$(call AutoLoad,41,ata_piix,1)
- $(call AddDepends/ata)
-endef
-
-define KernelPackage/ata-piix/description
- SATA support for Intel ICH5/6/7/8 series host controllers and
- PATA support for Intel ESB/ICH/PIIX3/PIIX4 series host controllers.
-endef
-
-$(eval $(call KernelPackage,ata-piix))
-
-
-define KernelPackage/ata-sil
- TITLE:=Silicon Image SATA support
- KCONFIG:=CONFIG_SATA_SIL
- FILES:=$(LINUX_DIR)/drivers/ata/sata_sil.ko
- AUTOLOAD:=$(call AutoLoad,41,sata_sil,1)
- $(call AddDepends/ata)
-endef
-
-define KernelPackage/ata-sil/description
- Support for Silicon Image Serial ATA controllers.
-endef
-
-$(eval $(call KernelPackage,ata-sil))
-
-
-define KernelPackage/ata-sil24
- TITLE:=Silicon Image 3124/3132 SATA support
- KCONFIG:=CONFIG_SATA_SIL24
- FILES:=$(LINUX_DIR)/drivers/ata/sata_sil24.ko
- AUTOLOAD:=$(call AutoLoad,41,sata_sil24,1)
- $(call AddDepends/ata)
-endef
-
-define KernelPackage/ata-sil24/description
- Support for Silicon Image 3124/3132 Serial ATA controllers.
-endef
-
-$(eval $(call KernelPackage,ata-sil24))
-
-
-define KernelPackage/ata-sis
- TITLE:=SIS SATA support
- KCONFIG:=CONFIG_SATA_SIS
- FILES:=$(LINUX_DIR)/drivers/ata/sata_sis.ko
- AUTOLOAD:=$(call AutoLoad,41,sata_sis,1)
- $(call AddDepends/ata)
-endef
-
-define KernelPackage/ata-sis/description
- Support for SIS Serial ATA controllers.
-endef
-
-$(eval $(call KernelPackage,ata-sis))
-
-
-define KernelPackage/ata-via-sata
- TITLE:=VIA SATA support
- KCONFIG:=CONFIG_SATA_VIA
- FILES:=$(LINUX_DIR)/drivers/ata/sata_via.ko
- AUTOLOAD:=$(call AutoLoad,41,sata_via,1)
- $(call AddDepends/ata)
-endef
-
-define KernelPackage/ata-via-sata/description
- This option enables support for VIA Serial ATA.
-endef
-
-$(eval $(call KernelPackage,ata-via-sata))
-
-
-define KernelPackage/block2mtd
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=Block device MTD emulation
- KCONFIG:=CONFIG_MTD_BLOCK2MTD
- FILES:=$(LINUX_DIR)/drivers/mtd/devices/block2mtd.ko
-endef
-
-$(eval $(call KernelPackage,block2mtd))
-
-
-define KernelPackage/dm
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=Device Mapper
- # All the "=n" are unnecessary, they're only there
- # to stop the config from asking the question.
- # MIRROR is M because I've needed it for pvmove.
- KCONFIG:= \
- CONFIG_BLK_DEV_MD=n \
- CONFIG_DM_DEBUG=n \
- CONFIG_DM_UEVENT=n \
- CONFIG_DM_DELAY=n \
- CONFIG_DM_MULTIPATH=n \
- CONFIG_DM_ZERO=n \
- CONFIG_DM_SNAPSHOT=n \
- CONFIG_DM_LOG_USERSPACE=n \
- CONFIG_MD=y \
- CONFIG_BLK_DEV_DM \
- CONFIG_DM_CRYPT \
- CONFIG_DM_MIRROR
- FILES:=$(LINUX_DIR)/drivers/md/dm-*.ko
- AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt)
-endef
-
-define KernelPackage/dm/description
- Kernel module necessary for LVM2 support
-endef
-
-$(eval $(call KernelPackage,dm))
-
-
-define KernelPackage/md-mod
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=MD RAID
- KCONFIG:= \
- CONFIG_MD=y \
- CONFIG_BLK_DEV_MD=m \
- CONFIG_MD_AUTODETECT=y \
- CONFIG_MD_FAULTY=n
- FILES:=$(LINUX_DIR)/drivers/md/md-mod.ko
- AUTOLOAD:=$(call AutoLoad,27,md-mod)
-endef
-
-define KernelPackage/md-mod/description
- Kernel RAID md module (md-mod.ko).
- You will need to select at least one RAID level module below.
-endef
-
-$(eval $(call KernelPackage,md-mod))
-
-
-define KernelPackage/md/Depends
- SUBMENU:=$(BLOCK_MENU)
- DEPENDS:=kmod-md-mod $(1)
-endef
-
-
-define KernelPackage/md-linear
-$(call KernelPackage/md/Depends,)
- TITLE:=RAID Linear Module
- KCONFIG:=CONFIG_MD_LINEAR
- FILES:=$(LINUX_DIR)/drivers/md/linear.ko
- AUTOLOAD:=$(call AutoLoad,28,linear)
-endef
-
-define KernelPackage/md-linear/description
- RAID "Linear" or "Append" driver module (linear.ko)
-endef
-
-$(eval $(call KernelPackage,md-linear))
-
-
-define KernelPackage/md-raid0
-$(call KernelPackage/md/Depends,)
- TITLE:=RAID0 Module
- KCONFIG:=CONFIG_MD_RAID0
- FILES:=$(LINUX_DIR)/drivers/md/raid0.ko
- AUTOLOAD:=$(call AutoLoad,28,raid0)
-endef
-
-define KernelPackage/md-raid0/description
- RAID Level 0 (Striping) driver module (raid0.ko)
-endef
-
-$(eval $(call KernelPackage,md-raid0))
-
-
-define KernelPackage/md-raid1
-$(call KernelPackage/md/Depends,)
- TITLE:=RAID1 Module
- KCONFIG:=CONFIG_MD_RAID1
- FILES:=$(LINUX_DIR)/drivers/md/raid1.ko
- AUTOLOAD:=$(call AutoLoad,28,raid1)
-endef
-
-define KernelPackage/md-raid1/description
- RAID Level 1 (Mirroring) driver (raid1.ko)
-endef
-
-$(eval $(call KernelPackage,md-raid1))
-
-
-define KernelPackage/md-raid10
-$(call KernelPackage/md/Depends,)
- TITLE:=RAID10 Module
- KCONFIG:=CONFIG_MD_RAID10
- FILES:=$(LINUX_DIR)/drivers/md/raid10.ko
- AUTOLOAD:=$(call AutoLoad,28,raid10)
-endef
-
-define KernelPackage/md-raid10/description
- RAID Level 10 (Mirroring+Striping) driver module (raid10.ko)
-endef
-
-$(eval $(call KernelPackage,md-raid10))
-
-
-define KernelPackage/md-raid456
-$(call KernelPackage/md/Depends,)
- TITLE:=RAID Level 456 Driver
- KCONFIG:= \
- CONFIG_XOR_BLOCKS \
- CONFIG_ASYNC_CORE \
- CONFIG_ASYNC_MEMCPY \
- CONFIG_ASYNC_XOR \
- CONFIG_ASYNC_PQ \
- CONFIG_ASYNC_RAID6_RECOV \
- CONFIG_ASYNC_RAID6_TEST=n \
- CONFIG_MD_RAID6_PQ \
- CONFIG_MD_RAID456 \
- CONFIG_MULTICORE_RAID456=n
- FILES:= \
- $(LINUX_DIR)/crypto/xor.ko \
- $(LINUX_DIR)/crypto/async_tx/async_tx.ko \
- $(LINUX_DIR)/crypto/async_tx/async_memcpy.ko \
- $(LINUX_DIR)/crypto/async_tx/async_xor.ko \
- $(LINUX_DIR)/crypto/async_tx/async_pq.ko \
- $(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \
- $(LINUX_DIR)/drivers/md/raid456.ko \
- $(LINUX_DIR)/lib/raid6/raid6_pq.ko
- AUTOLOAD:=$(call AutoLoad,28, xor async_tx async_memcpy async_xor raid6_pq async_pq async_raid6_recov raid456)
-endef
-
-define KernelPackage/md-raid456/description
- RAID Level 4,5,6 kernel module (raid456.ko)
-
- Includes the following modules required by
- raid456.ko:
- xor.ko
- async_tx.ko
- async_xor.ko
- async_memcpy.ko
- async_pq.ko
- async_raid5_recov.ko
- raid6_pq.ko
-endef
-
-$(eval $(call KernelPackage,md-raid456))
-
-
-define KernelPackage/md-multipath
-$(call KernelPackage/md/Depends,)
- TITLE:=MD Multipath Module
- KCONFIG:=CONFIG_MD_MULTIPATH
- FILES:=$(LINUX_DIR)/drivers/md/multipath.ko
- AUTOLOAD:=$(call AutoLoad,29,multipath)
-endef
-
-define KernelPackage/md-multipath/description
- Multipath driver module (multipath.ko)
-endef
-
-$(eval $(call KernelPackage,md-multipath))
-
-
-define KernelPackage/ide-core
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=IDE (ATA/ATAPI) device support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:= \
- CONFIG_IDE \
- CONFIG_BLK_DEV_IDE \
- CONFIG_BLK_DEV_IDEDISK \
- CONFIG_IDE_GD \
- CONFIG_IDE_GD_ATA=y \
- CONFIG_IDE_GD_ATAPI=n \
- CONFIG_IDEPCI_PCIBUS_ORDER=y \
- CONFIG_BLK_DEV_IDEDMA_PCI=y \
- CONFIG_BLK_DEV_IDEPCI=y
- FILES:= \
- $(LINUX_DIR)/drivers/ide/ide-core.ko \
- $(LINUX_DIR)/drivers/ide/ide-gd_mod.ko
- AUTOLOAD:= \
- $(call AutoLoad,20,ide-core,1) \
- $(call AutoLoad,40,ide-gd_mod,1)
-endef
-
-define KernelPackage/ide-core/description
- Kernel support for IDE, useful for usb mass storage devices (e.g. on WL-HDD)
- Includes:
- - ide-core
- - ide-gd_mod
-endef
-
-$(eval $(call KernelPackage,ide-core))
-
-
-define AddDepends/ide
- SUBMENU:=$(BLOCK_MENU)
- DEPENDS+=kmod-ide-core $(1)
-endef
-
-
-define KernelPackage/ide-generic
- SUBMENU:=$(BLOCK_MENU)
- DEPENDS:=@PCI_SUPPORT
- TITLE:=Kernel support for generic PCI IDE chipsets
- KCONFIG:=CONFIG_BLK_DEV_GENERIC
- FILES:=$(LINUX_DIR)/drivers/ide/ide-pci-generic.ko
- AUTOLOAD:=$(call AutoLoad,30,ide-pci-generic,1)
- $(call AddDepends/ide)
-endef
-
-$(eval $(call KernelPackage,ide-generic))
-
-
-define KernelPackage/ide-generic-old
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=Kernel support for generic (legacy) IDE chipsets
- KCONFIG:=CONFIG_IDE_GENERIC
- FILES:=$(LINUX_DIR)/drivers/ide/ide-generic.ko
- AUTOLOAD:=$(call AutoLoad,30,ide-generic,1)
- $(call AddDepends/ide)
-endef
-
-$(eval $(call KernelPackage,ide-generic-old))
-
-
-define KernelPackage/ide-aec62xx
- TITLE:=Acard AEC62xx IDE driver
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_BLK_DEV_AEC62XX
- FILES:=$(LINUX_DIR)/drivers/ide/aec62xx.ko
- AUTOLOAD:=$(call AutoLoad,30,aec62xx,1)
- $(call AddDepends/ide)
-endef
-
-define KernelPackage/ide-aec62xx/description
- Support for Acard AEC62xx (Artop ATP8xx) IDE controllers.
-endef
-
-$(eval $(call KernelPackage,ide-aec62xx,1))
-
-
-define KernelPackage/ide-pdc202xx
- TITLE:=Promise PDC202xx IDE driver
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_BLK_DEV_PDC202XX_OLD
- FILES:=$(LINUX_DIR)/drivers/ide/pdc202xx_old.ko
- AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old,1)
- $(call AddDepends/ide)
-endef
-
-define KernelPackage/ide-pdc202xx/description
- Support for the Promise Ultra 33/66/100 (PDC202{46|62|65|67|68}) IDE
- controllers.
-endef
-
-$(eval $(call KernelPackage,ide-pdc202xx))
-
-
-define KernelPackage/ide-it821x
- TITLE:=ITE IT821x IDE driver
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_BLK_DEV_IT821X
- FILES=$(LINUX_DIR)/drivers/ide/it821x.ko
- AUTOLOAD:=$(call AutoLoad,30,it821x,1)
- $(call AddDepends/ide)
-endef
-
-define KernelPackage/ide-it821x/description
- Kernel module for the ITE IDE821x IDE controllers.
-endef
-
-$(eval $(call KernelPackage,ide-it821x))
-
-
-define KernelPackage/libsas
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=SAS Domain Transport Attributes
- KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \
- CONFIG_SCSI_SAS_ATTRS \
- CONFIG_SCSI_SAS_ATA=y \
- CONFIG_SCSI_SAS_HOST_SMP=y \
- CONFIG_SCSI_SAS_LIBSAS_DEBUG=y
- FILES:= \
- $(LINUX_DIR)/drivers/scsi/scsi_transport_sas.ko \
- $(LINUX_DIR)/drivers/scsi/libsas/libsas.ko
- AUTOLOAD:=$(call AutoLoad,29,scsi_transport_sas libsas,1)
-endef
-
-define KernelPackage/libsas/description
- SAS Domain Transport Attributes support.
-endef
-
-$(eval $(call KernelPackage,libsas,1))
-
-
-define KernelPackage/loop
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=Loopback device support
- KCONFIG:= \
- CONFIG_BLK_DEV_LOOP \
- CONFIG_BLK_DEV_CRYPTOLOOP=n
- FILES:=$(LINUX_DIR)/drivers/block/loop.ko
- AUTOLOAD:=$(call AutoLoad,30,loop)
-endef
-
-define KernelPackage/loop/description
- Kernel module for loopback device support
-endef
-
-$(eval $(call KernelPackage,loop))
-
-
-define KernelPackage/mvsas
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=Marvell 88SE6440 SAS/SATA driver
- DEPENDS:=@TARGET_x86 +kmod-libsas
- KCONFIG:= \
- CONFIG_SCSI_MVSAS \
- CONFIG_SCSI_MVSAS_TASKLET=n
- FILES:=$(LINUX_DIR)/drivers/scsi/mvsas/mvsas.ko
- AUTOLOAD:=$(call AutoLoad,40,mvsas,1)
-endef
-
-define KernelPackage/mvsas/description
- Kernel support for the Marvell SAS SCSI adapters
-endef
-
-$(eval $(call KernelPackage,mvsas))
-
-
-define KernelPackage/nbd
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=Network block device support
- KCONFIG:=CONFIG_BLK_DEV_NBD
- FILES:=$(LINUX_DIR)/drivers/block/nbd.ko
- AUTOLOAD:=$(call AutoLoad,30,nbd)
-endef
-
-define KernelPackage/nbd/description
- Kernel module for network block device support
-endef
-
-$(eval $(call KernelPackage,nbd))
-
-
-define KernelPackage/scsi-core
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=SCSI device support
- KCONFIG:= \
- CONFIG_SCSI \
- CONFIG_BLK_DEV_SD
- FILES:= \
- $(if $(findstring y,$(CONFIG_SCSI)),,$(LINUX_DIR)/drivers/scsi/scsi_mod.ko) \
- $(LINUX_DIR)/drivers/scsi/sd_mod.ko
- AUTOLOAD:=$(call AutoLoad,20,scsi_mod,1) $(call AutoLoad,40,sd_mod,1)
-endef
-
-$(eval $(call KernelPackage,scsi-core))
-
-
-define KernelPackage/scsi-generic
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=Kernel support for SCSI generic
- DEPENDS:=+kmod-scsi-core
- KCONFIG:= \
- CONFIG_CHR_DEV_SG
- FILES:= \
- $(LINUX_DIR)/drivers/scsi/sg.ko
- AUTOLOAD:=$(call AutoLoad,65,sg)
-endef
-
-$(eval $(call KernelPackage,scsi-generic))
-
-
-define KernelPackage/scsi-cdrom
- SUBMENU:=$(BLOCK_MENU)
- TITLE:=Kernel support for CD / DVD drives
- DEPENDS:=+kmod-scsi-core
- KCONFIG:= \
- CONFIG_BLK_DEV_SR \
- CONFIG_BLK_DEV_SR_VENDOR=n
- FILES:= \
- $(LINUX_DIR)/drivers/cdrom/cdrom.ko \
- $(LINUX_DIR)/drivers/scsi/sr_mod.ko
- AUTOLOAD:=$(call AutoLoad,30,cdrom) $(call AutoLoad,45,sr_mod)
-endef
-
-$(eval $(call KernelPackage,scsi-cdrom))
-
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
deleted file mode 100644
index be76f53251..0000000000
--- a/package/kernel/modules/crypto.mk
+++ /dev/null
@@ -1,510 +0,0 @@
-#
-# Copyright (C) 2006-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-CRYPTO_MENU:=Cryptographic API modules
-
-CRYPTO_MODULES = ALGAPI2=crypto_algapi
-
-CRYPTOMGR_MODULES = \
- AEAD2=aead \
- MANAGER2=cryptomgr \
- BLKCIPHER2=crypto_blkcipher
-
-crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
-crypto_file=$(LINUX_DIR)/crypto/$(word 2,$(subst =,$(space),$(1))).ko
-crypto_name=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(word 2,$(subst =,$(space),$(1))))
-
-define KernelPackage/crypto-core
- SUBMENU:=$(CRYPTO_MENU)
- TITLE:=Core CryptoAPI modules
- KCONFIG:= \
- CONFIG_CRYPTO=y \
- CONFIG_CRYPTO_HW=y \
- CONFIG_CRYPTO_ALGAPI \
- $(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
- FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod)))
- AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call crypto_name,$(mod))),1)
-endef
-$(eval $(call KernelPackage,crypto-core))
-
-
-define AddDepends/crypto
- SUBMENU:=$(CRYPTO_MENU)
- DEPENDS+=+kmod-crypto-core $(1)
-endef
-
-define KernelPackage/crypto-hash
- TITLE:=CryptoAPI hash support
- KCONFIG:=CONFIG_CRYPTO_HASH2
- FILES:=$(LINUX_DIR)/crypto/crypto_hash.ko
- AUTOLOAD:=$(call AutoLoad,02,crypto_hash,1)
- $(call AddDepends/crypto)
-endef
-$(eval $(call KernelPackage,crypto-hash))
-
-define KernelPackage/crypto-manager
- TITLE:=CryptoAPI algorithm manager
- DEPENDS:=+kmod-crypto-hash
- KCONFIG:= \
- CONFIG_CRYPTO_AEAD \
- CONFIG_CRYPTO_BLKCIPHER \
- CONFIG_CRYPTO_MANAGER \
- $(foreach mod,$(CRYPTOMGR_MODULES),$(call crypto_confvar,$(mod)))
- FILES:=$(foreach mod,$(CRYPTOMGR_MODULES),$(call crypto_file,$(mod)))
- AUTOLOAD:=$(call AutoLoad,03,$(foreach mod,$(CRYPTOMGR_MODULES),$(call crypto_name,$(mod))))
- $(call AddDepends/crypto)
-endef
-$(eval $(call KernelPackage,crypto-manager))
-
-define KernelPackage/crypto-pcompress
- TITLE:=CryptoAPI Partial (de)compression operations
- KCONFIG:= \
- CONFIG_CRYPTO_PCOMP=y \
- CONFIG_CRYPTO_PCOMP2
- FILES:=$(LINUX_DIR)/crypto/pcompress.ko
- AUTOLOAD:=$(call AutoLoad,09,pcompress)
- $(call AddDepends/crypto)
-endef
-$(eval $(call KernelPackage,crypto-pcompress))
-
-define KernelPackage/crypto-user
- TITLE:=CryptoAPI userspace interface
- DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager
- KCONFIG:= \
- CONFIG_CRYPTO_USER_API \
- CONFIG_CRYPTO_USER_API_HASH \
- CONFIG_CRYPTO_USER_API_SKCIPHER
- FILES:= \
- $(LINUX_DIR)/crypto/af_alg.ko \
- $(LINUX_DIR)/crypto/algif_hash.ko \
- $(LINUX_DIR)/crypto/algif_skcipher.ko
- AUTOLOAD:=$(call AutoLoad,09,af_alg algif_hash algif_skcipher)
- $(call AddDepends/crypto)
-endef
-$(eval $(call KernelPackage,crypto-user))
-
-define KernelPackage/crypto-wq
- TITLE:=CryptoAPI work queue handling
- KCONFIG:=CONFIG_CRYPTO_WORKQUEUE
- FILES:=$(LINUX_DIR)/crypto/crypto_wq.ko
- AUTOLOAD:=$(call AutoLoad,09,crypto_wq)
- $(call AddDepends/crypto)
-endef
-$(eval $(call KernelPackage,crypto-wq))
-
-define KernelPackage/crypto-rng
- TITLE:=CryptoAPI random number generation
- KCONFIG:=CONFIG_CRYPTO_RNG2
- FILES:= \
- $(LINUX_DIR)/crypto/rng.ko \
- $(LINUX_DIR)/crypto/krng.ko
- AUTOLOAD:=$(call AutoLoad,09,rng krng)
- $(call AddDepends/crypto)
-endef
-$(eval $(call KernelPackage,crypto-rng))
-
-define KernelPackage/crypto-iv
- TITLE:=CryptoAPI initialization vectors
- DEPENDS:=+kmod-crypto-manager +kmod-crypto-rng +kmod-crypto-wq
- KCONFIG:= CONFIG_CRYPTO_BLKCIPHER2
- FILES:= \
- $(LINUX_DIR)/crypto/eseqiv.ko \
- $(LINUX_DIR)/crypto/chainiv.ko
- AUTOLOAD:=$(call AutoLoad,10,eseqiv chainiv)
- $(call AddDepends/crypto)
-endef
-$(eval $(call KernelPackage,crypto-iv))
-
-define KernelPackage/crypto-hw-talitos
- TITLE:=Freescale integrated security engine (SEC) driver
- DEPENDS:=+kmod-crypto-aes
- KCONFIG:= \
- CONFIG_CRYPTO_DEV_TALITOS
- FILES:= \
- $(LINUX_DIR)/drivers/crypto/talitos.ko
- AUTOLOAD:=$(call AutoLoad,09,talitos)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-hw-talitos))
-
-
-define KernelPackage/crypto-hw-padlock
- TITLE:=VIA PadLock ACE with AES/SHA hw crypto module
- DEPENDS:=+kmod-crypto-aes
- KCONFIG:= \
- CONFIG_CRYPTO_DEV_PADLOCK \
- CONFIG_CRYPTO_DEV_PADLOCK_AES \
- CONFIG_CRYPTO_DEV_PADLOCK_SHA
- FILES:= \
- $(LINUX_DIR)/drivers/crypto/padlock-aes.ko \
- $(LINUX_DIR)/drivers/crypto/padlock-sha.ko
- AUTOLOAD:=$(call AutoLoad,09,padlock-aes padlock-sha)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-hw-padlock))
-
-
-define KernelPackage/crypto-hw-geode
- TITLE:=AMD Geode hardware crypto module
- KCONFIG:= \
- CONFIG_CRYPTO_DEV_GEODE
- FILES:=$(LINUX_DIR)/drivers/crypto/geode-aes.ko
- AUTOLOAD:=$(call AutoLoad,09,geode-aes)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-hw-geode))
-
-
-define KernelPackage/crypto-hw-hifn-795x
- TITLE:=HIFN 795x crypto accelerator
- KCONFIG:= \
- CONFIG_HW_RANDOM=y \
- CONFIG_CRYPTO_DEV_HIFN_795X \
- CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y
- FILES:=$(LINUX_DIR)/drivers/crypto/hifn_795x.ko
- AUTOLOAD:=$(call AutoLoad,09,hifn_795x)
- $(call AddDepends/crypto,+kmod-crypto-des)
-endef
-
-$(eval $(call KernelPackage,crypto-hw-hifn-795x))
-
-
-define KernelPackage/crypto-hw-ppc4xx
- TITLE:=AMCC PPC4xx hardware crypto module
- DEPENDS:=@TARGET_ppc40x||TARGET_ppc44x
- KCONFIG:= \
- CONFIG_CRYPTO_DEV_PPC4XX
- FILES:=$(LINUX_DIR)/drivers/crypto/amcc/crypto4xx.ko
- AUTOLOAD:=$(call AutoLoad,90,crypto4xx)
- $(call AddDepends/crypto)
-endef
-
-define KernelPackage/crypto-hw-ppc4xx/description
- Kernel support for the AMCC PPC4xx HW crypto engine.
-endef
-
-$(eval $(call KernelPackage,crypto-hw-ppc4xx))
-
-
-define KernelPackage/crypto-aes
- TITLE:=AES cipher CryptoAPI module
- KCONFIG:=CONFIG_CRYPTO_AES CONFIG_CRYPTO_AES_586
- FILES:=$(LINUX_DIR)/crypto/aes_generic.ko
- AUTOLOAD:=$(call AutoLoad,09,aes_generic)
- $(call AddDepends/crypto)
-endef
-
-define KernelPackage/crypto-aes/x86
- FILES+=$(LINUX_DIR)/arch/x86/crypto/aes-i586.ko
- AUTOLOAD:=$(call AutoLoad,09,aes_generic aes-i586)
-endef
-
-$(eval $(call KernelPackage,crypto-aes))
-
-
-define KernelPackage/crypto-arc4
- TITLE:=ARC4 (RC4) cipher CryptoAPI module
- KCONFIG:=CONFIG_CRYPTO_ARC4
- FILES:=$(LINUX_DIR)/crypto/arc4.ko
- AUTOLOAD:=$(call AutoLoad,09,arc4)
- $(call AddDepends/crypto,+!LINUX_3_3:kmod-crypto-manager)
-endef
-
-$(eval $(call KernelPackage,crypto-arc4))
-
-
-define KernelPackage/crypto-authenc
- TITLE:=Combined mode wrapper for IPsec
- DEPENDS:=+kmod-crypto-manager
- KCONFIG:=CONFIG_CRYPTO_AUTHENC
- FILES:=$(LINUX_DIR)/crypto/authenc.ko
- AUTOLOAD:=$(call AutoLoad,09,authenc)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-authenc))
-
-define KernelPackage/crypto-cbc
- TITLE:=Cipher Block Chaining CryptoAPI module
- DEPENDS:=+kmod-crypto-manager
- KCONFIG:=CONFIG_CRYPTO_CBC
- FILES:=$(LINUX_DIR)/crypto/cbc.ko
- AUTOLOAD:=$(call AutoLoad,09,cbc)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-cbc))
-
-define KernelPackage/crypto-crc32c
- TITLE:=CRC32c CRC module
- DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_CRC32C
- FILES:=$(LINUX_DIR)/crypto/crc32c.ko
- AUTOLOAD:=$(call AutoLoad,04,crc32c,1)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-crc32c))
-
-define KernelPackage/crypto-des
- TITLE:=DES/3DES cipher CryptoAPI module
- KCONFIG:=CONFIG_CRYPTO_DES
- FILES:=$(LINUX_DIR)/crypto/des_generic.ko
- AUTOLOAD:=$(call AutoLoad,09,des_generic)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-des))
-
-define KernelPackage/crypto-deflate
- TITLE:=Deflate compression CryptoAPI module
- DEPENDS:=+kmod-lib-zlib
- KCONFIG:=CONFIG_CRYPTO_DEFLATE
- FILES:=$(LINUX_DIR)/crypto/deflate.ko
- AUTOLOAD:=$(call AutoLoad,09,deflate)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-deflate))
-
-define KernelPackage/crypto-ecb
- TITLE:=Electronic CodeBook CryptoAPI module
- DEPENDS:=+kmod-crypto-manager
- KCONFIG:=CONFIG_CRYPTO_ECB
- FILES:=$(LINUX_DIR)/crypto/ecb.ko
- AUTOLOAD:=$(call AutoLoad,09,ecb)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-ecb))
-
-
-define KernelPackage/crypto-hmac
- TITLE:=HMAC digest CryptoAPI module
- DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_HMAC
- FILES:=$(LINUX_DIR)/crypto/hmac.ko
- DEPENDS:=+kmod-crypto-manager
- AUTOLOAD:=$(call AutoLoad,09,hmac)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-hmac))
-
-
-define KernelPackage/crypto-md4
- TITLE:=MD4 digest CryptoAPI module
- DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_MD4
- FILES:=$(LINUX_DIR)/crypto/md4.ko
- AUTOLOAD:=$(call AutoLoad,09,md4)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-md4))
-
-
-define KernelPackage/crypto-md5
- TITLE:=MD5 digest CryptoAPI module
- DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_MD5
- FILES:=$(LINUX_DIR)/crypto/md5.ko
- AUTOLOAD:=$(call AutoLoad,09,md5)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-md5))
-
-
-define KernelPackage/crypto-michael-mic
- TITLE:=Michael MIC keyed digest CryptoAPI module
- DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_MICHAEL_MIC
- FILES:=$(LINUX_DIR)/crypto/michael_mic.ko
- AUTOLOAD:=$(call AutoLoad,09,michael_mic)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-michael-mic))
-
-
-define KernelPackage/crypto-sha1
- TITLE:=SHA1 digest CryptoAPI module
- DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_SHA1
- FILES:=$(LINUX_DIR)/crypto/sha1_generic.ko
- AUTOLOAD:=$(call AutoLoad,09,sha1_generic)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-sha1))
-
-define KernelPackage/crypto-sha256
- TITLE:=SHA224 SHA256 digest CryptoAPI module
- DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_SHA256
- FILES:=$(LINUX_DIR)/crypto/sha256_generic.ko
- AUTOLOAD:=$(call AutoLoad,09,sha256_generic)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-sha256))
-
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
-camellia_mod_suffix=_generic
-endif
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.7.0)),1)
-cast56_mod_suffix=_generic
-endif
-
-define KernelPackage/crypto-misc
- TITLE:=Other CryptoAPI modules
- DEPENDS:=+kmod-crypto-manager
- KCONFIG:= \
- CONFIG_CRYPTO_ANUBIS \
- CONFIG_CRYPTO_BLOWFISH \
- CONFIG_CRYPTO_CAMELLIA \
- CONFIG_CRYPTO_CAST5 \
- CONFIG_CRYPTO_CAST6 \
- CONFIG_CRYPTO_FCRYPT \
- CONFIG_CRYPTO_KHAZAD \
- CONFIG_CRYPTO_SERPENT \
- CONFIG_CRYPTO_SHA512 \
- CONFIG_CRYPTO_TEA \
- CONFIG_CRYPTO_TGR192 \
- CONFIG_CRYPTO_TWOFISH \
- CONFIG_CRYPTO_TWOFISH_COMMON \
- CONFIG_CRYPTO_TWOFISH_586 \
- CONFIG_CRYPTO_WP512
- FILES:= \
- $(LINUX_DIR)/crypto/anubis.ko \
- $(LINUX_DIR)/crypto/camellia$(camellia_mod_suffix).ko \
- $(LINUX_DIR)/crypto/cast5$(cast56_mod_suffix).ko \
- $(LINUX_DIR)/crypto/cast6$(cast56_mod_suffix).ko \
- $(LINUX_DIR)/crypto/fcrypt.ko \
- $(LINUX_DIR)/crypto/khazad.ko \
- $(LINUX_DIR)/crypto/sha512_generic.ko \
- $(LINUX_DIR)/crypto/tea.ko \
- $(LINUX_DIR)/crypto/tgr192.ko \
- $(LINUX_DIR)/crypto/twofish_common.ko \
- $(LINUX_DIR)/crypto/wp512.ko \
- $(LINUX_DIR)/crypto/twofish_generic.ko
- FILES += \
- $(LINUX_DIR)/crypto/blowfish_common.ko \
- $(LINUX_DIR)/crypto/blowfish_generic.ko \
- $(LINUX_DIR)/crypto/serpent_generic.ko
- $(call AddDepends/crypto)
-endef
-
-
-define KernelPackage/crypto-misc/x86
- FILES+=$(LINUX_DIR)/arch/x86/crypto/twofish-i586.ko
-endef
-
-$(eval $(call KernelPackage,crypto-misc))
-
-
-define KernelPackage/crypto-ocf
- TITLE:=OCF modules
- DEPENDS:=+@OPENSSL_ENGINE_CRYPTO @!TARGET_uml +kmod-crypto-manager
- KCONFIG:= \
- CONFIG_OCF_OCF \
- CONFIG_OCF_CRYPTODEV \
- CONFIG_OCF_CRYPTOSOFT \
- CONFIG_OCF_FIPS=y \
- CONFIG_OCF_RANDOMHARVEST=y
- FILES:= \
- $(LINUX_DIR)/crypto/ocf/ocf.ko \
- $(LINUX_DIR)/crypto/ocf/cryptodev.ko \
- $(LINUX_DIR)/crypto/ocf/cryptosoft.ko
- AUTOLOAD:=$(call AutoLoad,09, \
- ocf \
- cryptodev \
- cryptosoft \
- )
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-ocf))
-
-
-define KernelPackage/crypto-ocf-hifn7751
- TITLE:=OCF support for Hifn 6500/7751/7811/795x, Invertex AEON and NetSec 7751 devices
- DEPENDS:=+@OPENSSL_ENGINE_CRYPTO @PCI_SUPPORT @!TARGET_uml kmod-crypto-ocf
- KCONFIG:=CONFIG_OCF_HIFN
- FILES:=$(LINUX_DIR)/crypto/ocf/hifn/hifn7751.ko
- AUTOLOAD:=$(call AutoLoad,10,hifn7751)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-ocf-hifn7751))
-
-
-define KernelPackage/crypto-ocf-hifnhipp
- TITLE:=OCF support for Hifn 7855/8155 devices
- DEPENDS:=+@OPENSSL_ENGINE_CRYPTO @PCI_SUPPORT @!TARGET_uml kmod-crypto-ocf
- KCONFIG:=CONFIG_OCF_HIFNHIPP
- FILES:=$(LINUX_DIR)/crypto/ocf/hifn/hifnHIPP.ko
- AUTOLOAD:=$(call AutoLoad,10,hifnHIPP)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-ocf-hifnhipp))
-
-
-define KernelPackage/crypto-null
- TITLE:=Null CryptoAPI module
- KCONFIG:=CONFIG_CRYPTO_NULL
- FILES:=$(LINUX_DIR)/crypto/crypto_null.ko
- AUTOLOAD:=$(call AutoLoad,09,crypto_null)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-null))
-
-
-define KernelPackage/crypto-test
- TITLE:=Test CryptoAPI module
- KCONFIG:=CONFIG_CRYPTO_TEST
- FILES:=$(LINUX_DIR)/crypto/tcrypt.ko
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-test))
-
-
-define KernelPackage/crypto-xts
- TITLE:=XTS cipher CryptoAPI module
- DEPENDS:=+kmod-crypto-manager
- KCONFIG:= \
- CONFIG_CRYPTO_GF128MUL \
- CONFIG_CRYPTO_XTS
- FILES:= \
- $(LINUX_DIR)/crypto/xts.ko \
- $(LINUX_DIR)/crypto/gf128mul.ko
- AUTOLOAD:=$(call AutoLoad,09, \
- gf128mul \
- xts \
- )
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-xts))
-
-define KernelPackage/crypto-mv-cesa
- TITLE:=Marvell crypto engine
- DEPENDS:=+kmod-crypto-manager +kmod-crypto-aes @TARGET_kirkwood||TARGET_orion||TARGET_mvebu
- KCONFIG:=CONFIG_CRYPTO_DEV_MV_CESA
- FILES:=$(LINUX_DIR)/drivers/crypto/mv_cesa.ko
- AUTOLOAD:=$(call AutoLoad,09,mv_cesa)
- $(call AddDepends/crypto)
-endef
-
-$(eval $(call KernelPackage,crypto-mv-cesa))
diff --git a/package/kernel/modules/firewire.mk b/package/kernel/modules/firewire.mk
deleted file mode 100644
index 34edf0c511..0000000000
--- a/package/kernel/modules/firewire.mk
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Copyright (C) 2008-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-FIREWIRE_MENU:=FireWire support
-
-
-define KernelPackage/firewire
- SUBMENU:=$(FIREWIRE_MENU)
- TITLE:=Support for FireWire (new stack)
- DEPENDS:=@PCI_SUPPORT +kmod-lib-crc-itu-t
- KCONFIG:=CONFIG_FIREWIRE
- FILES:=$(LINUX_DIR)/drivers/firewire/firewire-core.ko
- AUTOLOAD:=$(call AutoLoad,20,firewire-core)
-endef
-
-define KernelPackage/firewire/description
- Kernel support for FireWire (new stack)
-endef
-
-$(eval $(call KernelPackage,firewire))
-
-
-define KernelPackage/firewire-ohci
- SUBMENU:=$(FIREWIRE_MENU)
- TITLE:=Support for OHCI-1394 controllers
- DEPENDS:=kmod-firewire
- KCONFIG:= \
- CONFIG_FIREWIRE_OHCI \
- CONFIG_FIREWIRE_OHCI_DEBUG=n \
- CONFIG_FIREWIRE_OHCI_REMOTE_DMA=n
- FILES:=$(LINUX_DIR)/drivers/firewire/firewire-ohci.ko
- AUTOLOAD:=$(call AutoLoad,50,firewire-ohci)
-endef
-
-
-define KernelPackage/firewire-ohci/description
- Kernel support for FireWire OHCI-1394 controllers
-endef
-
-$(eval $(call KernelPackage,firewire-ohci))
-
-
-define KernelPackage/firewire-sbp2
- SUBMENU:=$(FIREWIRE_MENU)
- TITLE:=Support for SBP-2 devices over FireWire
- DEPENDS:=kmod-firewire +kmod-scsi-core
- KCONFIG:=CONFIG_FIREWIRE_SBP2
- FILES:=$(LINUX_DIR)/drivers/firewire/firewire-sbp2.ko
- AUTOLOAD:=$(call AutoLoad,50,firewire-sbp2)
-endef
-
-define KernelPackage/firewire-sbp2/description
- Kernel support for SBP-2 devices over FireWire
-endef
-
-$(eval $(call KernelPackage,firewire-sbp2))
-
-
-define KernelPackage/firewire-net
- SUBMENU:=$(FIREWIRE_MENU)
- TITLE:=Support for IP networking over FireWire
- DEPENDS:=kmod-firewire
- KCONFIG:=CONFIG_FIREWIRE_NET
- FILES:=$(LINUX_DIR)/drivers/firewire/firewire-net.ko
- AUTOLOAD:=$(call AutoLoad,50,firewire-net)
-endef
-
-define KernelPackage/firewire-net/description
- Kernel support for IPv4 over FireWire
-endef
-
-$(eval $(call KernelPackage,firewire-net))
-
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
deleted file mode 100644
index ecdfb6d3a7..0000000000
--- a/package/kernel/modules/fs.mk
+++ /dev/null
@@ -1,372 +0,0 @@
-#
-# Copyright (C) 2006-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-FS_MENU:=Filesystems
-
-define KernelPackage/fs-autofs4
- SUBMENU:=$(FS_MENU)
- TITLE:=AUTOFS4 filesystem support
- KCONFIG:=CONFIG_AUTOFS4_FS
- FILES:=$(LINUX_DIR)/fs/autofs4/autofs4.ko
- AUTOLOAD:=$(call AutoLoad,30,autofs4)
-endef
-
-define KernelPackage/fs-autofs4/description
- Kernel module for AutoFS4 support
-endef
-
-$(eval $(call KernelPackage,fs-autofs4))
-
-
-define KernelPackage/fs-btrfs
- SUBMENU:=$(FS_MENU)
- TITLE:=BTRFS filesystem support
- DEPENDS:=+kmod-lib-crc32c +kmod-lib-lzo +kmod-lib-zlib
- KCONFIG:=\
- CONFIG_BTRFS_FS \
- CONFIG_BTRFS_FS_POSIX_ACL=n \
- CONFIG_BTRFS_FS_CHECK_INTEGRITY=n
- FILES:=\
- $(LINUX_DIR)/fs/btrfs/btrfs.ko
- AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
-endef
-
-define KernelPackage/fs-btrfs/description
- Kernel module for BTRFS support
-endef
-
-$(eval $(call KernelPackage,fs-btrfs))
-
-
-define KernelPackage/fs-cifs
- SUBMENU:=$(FS_MENU)
- TITLE:=CIFS support
- KCONFIG:= \
- CONFIG_CIFS \
- CONFIG_CIFS_DFS_UPCALL=n \
- CONFIG_CIFS_UPCALL=n
- FILES:=$(LINUX_DIR)/fs/cifs/cifs.ko
- AUTOLOAD:=$(call AutoLoad,30,cifs)
- $(call AddDepends/nls)
- DEPENDS+= \
- +kmod-crypto-arc4 \
- +kmod-crypto-hmac \
- +kmod-crypto-md5 \
- +kmod-crypto-md4 \
- +kmod-crypto-des \
- +kmod-crypto-ecb \
- +!LINUX_3_3&&!LINUX_3_6:kmod-crypto-sha256
-endef
-
-define KernelPackage/fs-cifs/description
- Kernel module for CIFS support
-endef
-
-$(eval $(call KernelPackage,fs-cifs))
-
-
-define KernelPackage/fs-configfs
- SUBMENU:=$(FS_MENU)
- TITLE:=Configuration filesystem support
- KCONFIG:= \
- CONFIG_CONFIGFS_FS
- FILES:=$(LINUX_DIR)/fs/configfs/configfs.ko
- AUTOLOAD:=$(call AutoLoad,30,configfs)
-endef
-
-define KernelPackage/fs-configfs/description
- Kernel module for configfs support
-endef
-
-$(eval $(call KernelPackage,fs-configfs))
-
-
-define KernelPackage/fs-exportfs
- SUBMENU:=$(FS_MENU)
- TITLE:=exportfs kernel server support
- KCONFIG:=CONFIG_EXPORTFS
- FILES=$(LINUX_DIR)/fs/exportfs/exportfs.ko
- AUTOLOAD:=$(call AutoLoad,20,exportfs)
-endef
-
-define KernelPackage/fs-exportfs/description
- Kernel module for exportfs. Needed for some other modules.
-endef
-
-$(eval $(call KernelPackage,fs-exportfs))
-
-
-define KernelPackage/fs-ext4
- SUBMENU:=$(FS_MENU)
- TITLE:=EXT4 filesystem support
- KCONFIG:= \
- CONFIG_EXT4_FS \
- CONFIG_JBD2
- FILES:= \
- $(LINUX_DIR)/fs/ext4/ext4.ko \
- $(LINUX_DIR)/fs/jbd2/jbd2.ko \
- $(LINUX_DIR)/fs/mbcache.ko
- AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1)
- $(call AddDepends/crc16, +!LINUX_3_3:kmod-crypto-hash)
-endef
-
-define KernelPackage/fs-ext4/description
- Kernel module for EXT4 filesystem support
-endef
-
-$(eval $(call KernelPackage,fs-ext4))
-
-
-define KernelPackage/fuse
- SUBMENU:=$(FS_MENU)
- TITLE:=FUSE (Filesystem in Userspace) support
- KCONFIG:= CONFIG_FUSE_FS
- FILES:=$(LINUX_DIR)/fs/fuse/fuse.ko
- AUTOLOAD:=$(call AutoLoad,80,fuse)
-endef
-
-define KernelPackage/fuse/description
- Kernel module for userspace filesystem support
-endef
-
-$(eval $(call KernelPackage,fuse))
-
-
-define KernelPackage/fs-hfs
- SUBMENU:=$(FS_MENU)
- TITLE:=HFS filesystem support
- KCONFIG:=CONFIG_HFS_FS
- FILES:=$(LINUX_DIR)/fs/hfs/hfs.ko
- AUTOLOAD:=$(call AutoLoad,30,hfs)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/fs-hfs/description
- Kernel module for HFS filesystem support
-endef
-
-$(eval $(call KernelPackage,fs-hfs))
-
-
-define KernelPackage/fs-hfsplus
- SUBMENU:=$(FS_MENU)
- TITLE:=HFS+ filesystem support
- KCONFIG:=CONFIG_HFSPLUS_FS
- FILES:=$(LINUX_DIR)/fs/hfsplus/hfsplus.ko
- AUTOLOAD:=$(call AutoLoad,30,hfsplus)
- $(call AddDepends/nls,utf8)
-endef
-
-define KernelPackage/fs-hfsplus/description
- Kernel module for HFS+ filesystem support
-endef
-
-$(eval $(call KernelPackage,fs-hfsplus))
-
-
-define KernelPackage/fs-isofs
- SUBMENU:=$(FS_MENU)
- TITLE:=ISO9660 filesystem support
- DEPENDS:=+kmod-lib-zlib
- KCONFIG:=CONFIG_ISO9660_FS CONFIG_JOLIET=y CONFIG_ZISOFS=n
- FILES:=$(LINUX_DIR)/fs/isofs/isofs.ko
- AUTOLOAD:=$(call AutoLoad,30,isofs)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/fs-isofs/description
- Kernel module for ISO9660 filesystem support
-endef
-
-$(eval $(call KernelPackage,fs-isofs))
-
-
-define KernelPackage/fs-minix
- SUBMENU:=$(FS_MENU)
- TITLE:=Minix filesystem support
- KCONFIG:=CONFIG_MINIX_FS
- FILES:=$(LINUX_DIR)/fs/minix/minix.ko
- AUTOLOAD:=$(call AutoLoad,30,minix)
-endef
-
-define KernelPackage/fs-minix/description
- Kernel module for Minix filesystem support
-endef
-
-$(eval $(call KernelPackage,fs-minix))
-
-
-define KernelPackage/fs-msdos
- SUBMENU:=$(FS_MENU)
- TITLE:=MSDOS filesystem support
- KCONFIG:=CONFIG_MSDOS_FS
- FILES:=$(LINUX_DIR)/fs/fat/msdos.ko
- AUTOLOAD:=$(call AutoLoad,40,msdos)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/fs-msdos/description
- Kernel module for MSDOS filesystem support
-endef
-
-$(eval $(call KernelPackage,fs-msdos))
-
-
-define KernelPackage/fs-nfs
- SUBMENU:=$(FS_MENU)
- TITLE:=NFS filesystem support
- DEPENDS:=+kmod-fs-nfs-common
- KCONFIG:= \
- CONFIG_NFS_FS \
- CONFIG_NFS_USE_LEGACY_DNS=n \
- CONFIG_NFS_USE_NEW_IDMAPPER=n
- FILES:= \
- $(LINUX_DIR)/fs/nfs/nfs.ko
- AUTOLOAD:=$(call AutoLoad,40,nfs)
-endef
-
-define KernelPackage/fs-nfs/description
- Kernel module for NFS support
-endef
-
-$(eval $(call KernelPackage,fs-nfs))
-
-
-define KernelPackage/fs-nfs-common
- SUBMENU:=$(FS_MENU)
- TITLE:=Common NFS filesystem modules
- KCONFIG:= \
- CONFIG_LOCKD \
- CONFIG_SUNRPC
- FILES:= \
- $(LINUX_DIR)/fs/lockd/lockd.ko \
- $(LINUX_DIR)/net/sunrpc/sunrpc.ko
- AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
-endef
-
-$(eval $(call KernelPackage,fs-nfs-common))
-
-
-define KernelPackage/fs-nfs-common-v4
- SUBMENU:=$(FS_MENU)
- TITLE:=Common NFS V4 filesystem modules
- KCONFIG+=\
- CONFIG_SUNRPC_GSS\
- CONFIG_NFS_V4=y\
- CONFIG_NFSD_V4=y
- DEPENDS:= @BROKEN
- FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
- AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
-endef
-
-define KernelPackage/fs-nfs-common-v4/description
- Kernel modules for NFS V4 & NFSD V4 kernel support
-endef
-
-$(eval $(call KernelPackage,fs-nfs-common-v4))
-
-
-define KernelPackage/fs-nfsd
- SUBMENU:=$(FS_MENU)
- TITLE:=NFS kernel server support
- DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
- KCONFIG:= \
- CONFIG_NFSD \
- CONFIG_NFSD_FAULT_INJECTION=n
- FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
- AUTOLOAD:=$(call AutoLoad,40,nfsd)
-endef
-
-define KernelPackage/fs-nfsd/description
- Kernel module for NFS kernel server support
-endef
-
-$(eval $(call KernelPackage,fs-nfsd))
-
-
-define KernelPackage/fs-ntfs
- SUBMENU:=$(FS_MENU)
- TITLE:=NTFS filesystem support
- KCONFIG:=CONFIG_NTFS_FS
- FILES:=$(LINUX_DIR)/fs/ntfs/ntfs.ko
- AUTOLOAD:=$(call AutoLoad,30,ntfs)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/fs-ntfs/description
- Kernel module for NTFS filesystem support
-endef
-
-$(eval $(call KernelPackage,fs-ntfs))
-
-
-define KernelPackage/fs-reiserfs
- SUBMENU:=$(FS_MENU)
- TITLE:=ReiserFS filesystem support
- KCONFIG:=CONFIG_REISERFS_FS
- FILES:=$(LINUX_DIR)/fs/reiserfs/reiserfs.ko
- AUTOLOAD:=$(call AutoLoad,30,reiserfs,1)
-endef
-
-define KernelPackage/fs-reiserfs/description
- Kernel module for ReiserFS support
-endef
-
-$(eval $(call KernelPackage,fs-reiserfs))
-
-
-define KernelPackage/fs-udf
- SUBMENU:=$(FS_MENU)
- TITLE:=UDF filesystem support
- KCONFIG:=CONFIG_UDF_FS
- FILES:=$(LINUX_DIR)/fs/udf/udf.ko
- AUTOLOAD:=$(call AutoLoad,30,udf)
- DEPENDS:=+kmod-lib-crc-itu-t
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/fs-udf/description
- Kernel module for UDF filesystem support
-endef
-
-$(eval $(call KernelPackage,fs-udf))
-
-
-define KernelPackage/fs-vfat
- SUBMENU:=$(FS_MENU)
- TITLE:=VFAT filesystem support
- KCONFIG:= \
- CONFIG_FAT_FS \
- CONFIG_VFAT_FS
- FILES:= \
- $(LINUX_DIR)/fs/fat/fat.ko \
- $(LINUX_DIR)/fs/fat/vfat.ko
- AUTOLOAD:=$(call AutoLoad,30,fat vfat)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/fs-vfat/description
- Kernel module for VFAT filesystem support
-endef
-
-$(eval $(call KernelPackage,fs-vfat))
-
-
-define KernelPackage/fs-xfs
- SUBMENU:=$(FS_MENU)
- TITLE:=XFS filesystem support
- KCONFIG:=CONFIG_XFS_FS
- DEPENDS:= +kmod-fs-exportfs @!avr32
- FILES:=$(LINUX_DIR)/fs/xfs/xfs.ko
- AUTOLOAD:=$(call AutoLoad,30,xfs,1)
-endef
-
-define KernelPackage/fs-xfs/description
- Kernel module for XFS support
-endef
-
-$(eval $(call KernelPackage,fs-xfs))
diff --git a/package/kernel/modules/hwmon.mk b/package/kernel/modules/hwmon.mk
deleted file mode 100644
index 969e8fa3aa..0000000000
--- a/package/kernel/modules/hwmon.mk
+++ /dev/null
@@ -1,221 +0,0 @@
-#
-# Copyright (C) 2006-2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-HWMON_MENU:=Hardware Monitoring Support
-
-define KernelPackage/hwmon-core
- SUBMENU:=$(HWMON_MENU)
- TITLE:=Hardware monitoring support
- KCONFIG:= \
- CONFIG_HWMON \
- CONFIG_HWMON_DEBUG_CHIP=n
- FILES:= \
- $(LINUX_DIR)/drivers/hwmon/hwmon.ko
- AUTOLOAD:=$(call AutoLoad,40,hwmon)
-endef
-
-define KernelPackage/hwmon-core/description
- Kernel modules for hardware monitoring
-endef
-
-$(eval $(call KernelPackage,hwmon-core))
-
-
-define AddDepends/hwmon
- SUBMENU:=$(HWMON_MENU)
- DEPENDS:=kmod-hwmon-core $(1)
-endef
-
-define KernelPackage/hwmon-vid
- TITLE:=VID/VRM/VRD voltage conversion module.
- KCONFIG:=CONFIG_HWMON_VID
- FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
- AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
- $(call AddDepends/hwmon,)
-endef
-
-define KernelPackage/hwmon-vid/description
- VID/VRM/VRD voltage conversion module for hardware monitoring.
-endef
-
-$(eval $(call KernelPackage,hwmon-vid))
-
-
-define KernelPackage/hwmon-adt7475
- TITLE:=ADT7473/7475/7476/7490 monitoring support
- KCONFIG:=CONFIG_SENSORS_ADT7475
- FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko
- AUTOLOAD:=$(call AutoLoad,60,adt7475)
- $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
-endef
-
-define KernelPackage/hwmon-adt7475/description
- Kernel module for ADT7473/7475/7476/7490 thermal monitor chip.
-endef
-
-$(eval $(call KernelPackage,hwmon-adt7475))
-
-
-define KernelPackage/hwmon-ina2xx
- TITLE:=INA2XX monitoring support
- KCONFIG:=CONFIG_SENSORS_INA2XX
- FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
- AUTOLOAD:=$(call AutoLoad,60,ina2xx)
- $(call AddDepends/hwmon,+kmod-i2c-core)
-endef
-
-define KernelPackage/hwmon-ina2xx/description
- Kernel module for ina2xx dc current monitor chips
-endef
-
-$(eval $(call KernelPackage,hwmon-ina2xx))
-
-
-define KernelPackage/hwmon-lm63
- TITLE:=LM63/64 monitoring support
- KCONFIG:=CONFIG_SENSORS_LM63
- FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
- AUTOLOAD:=$(call AutoLoad,60,lm63)
- $(call AddDepends/hwmon,+kmod-i2c-core)
-endef
-
-define KernelPackage/hwmon-lm63/description
- Kernel module for lm63 and lm64 thermal monitor chip
-endef
-
-$(eval $(call KernelPackage,hwmon-lm63))
-
-
-define KernelPackage/hwmon-lm75
- TITLE:=LM75 monitoring support
- KCONFIG:=CONFIG_SENSORS_LM75
- FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
- AUTOLOAD:=$(call AutoLoad,60,lm75)
- $(call AddDepends/hwmon,+kmod-i2c-core)
-endef
-
-define KernelPackage/hwmon-lm75/description
- Kernel module for lm75 thermal monitor chip
-endef
-
-$(eval $(call KernelPackage,hwmon-lm75))
-
-
-define KernelPackage/hwmon-lm77
- TITLE:=LM77 monitoring support
- KCONFIG:=CONFIG_SENSORS_LM77
- FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
- AUTOLOAD:=$(call AutoLoad,60,lm77)
- $(call AddDepends/hwmon,+kmod-i2c-core)
-endef
-
-define KernelPackage/hwmon-lm77/description
- Kernel module for LM77 thermal monitor chip
-endef
-
-$(eval $(call KernelPackage,hwmon-lm77))
-
-
-define KernelPackage/hwmon-lm85
- TITLE:=LM85 monitoring support
- KCONFIG:=CONFIG_SENSORS_LM85
- FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
- AUTOLOAD:=$(call AutoLoad,60,lm85)
- $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
-endef
-
-define KernelPackage/hwmon-lm85/description
- Kernel module for LM85 thermal monitor chip
-endef
-
-$(eval $(call KernelPackage,hwmon-lm85))
-
-
-define KernelPackage/hwmon-lm90
- TITLE:=LM90 monitoring support
- KCONFIG:=CONFIG_SENSORS_LM90
- FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
- AUTOLOAD:=$(call AutoLoad,60,lm90)
- $(call AddDepends/hwmon,+kmod-i2c-core)
-endef
-
-define KernelPackage/hwmon-lm90/description
- Kernel module for LM90 thermal monitor chip
-endef
-
-$(eval $(call KernelPackage,hwmon-lm90))
-
-define KernelPackage/hwmon-lm92
- TITLE:=LM92 monitoring support
- KCONFIG:=CONFIG_SENSORS_LM92
- FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
- AUTOLOAD:=$(call AutoLoad,60,lm92)
- $(call AddDepends/hwmon,+kmod-i2c-core)
-endef
-
-define KernelPackage/hwmon-lm92/description
- Kernel module for LM92 thermal monitor chip
-endef
-
-$(eval $(call KernelPackage,hwmon-lm92))
-
-define KernelPackage/hwmon-lm95241
- TITLE:=LM95241 monitoring support
- KCONFIG:=CONFIG_SENSORS_LM95241
- FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
- AUTOLOAD:=$(call AutoLoad,60,lm95241)
- $(call AddDepends/hwmon,+kmod-i2c-core)
-endef
-
-define KernelPackage/hwmon-lm95241/description
- Kernel module for LM95241 thermal monitor chip
-endef
-
-$(eval $(call KernelPackage,hwmon-lm95241))
-
-define KernelPackage/hwmon-sht21
- TITLE:=Sensiron SHT21 and compat. monitoring support
- KCONFIG:=CONFIG_SENSORS_SHT21
- FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
- AUTOLOAD:=$(call AutoLoad,60,sht21)
- $(call AddDepends/hwmon,+kmod-i2c-core)
-endef
-
-define KernelPackage/hwmon-sht21/description
- Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
-endef
-
-$(eval $(call KernelPackage,hwmon-sht21))
-
-define KernelPackage/hwmon-pc87360
- TITLE:=PC87360 monitoring support
- KCONFIG:=CONFIG_SENSORS_PC87360
- FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
- AUTOLOAD:=$(call AutoLoad,50,pc87360)
- $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
-endef
-
-define KernelPackage/hwmon-pc87360/description
- Kernel modules for PC87360 chips
-endef
-
-$(eval $(call KernelPackage,hwmon-pc87360))
-
-
-define KernelPackage/hwmon-w83627hf
- TITLE:=Winbond W83627HF monitoring support
- KCONFIG:=CONFIG_SENSORS_W83627HF
- FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
- AUTOLOAD:=$(call AutoLoad,50,w83627hf)
-$(call AddDepends/hwmon,@TARGET_rdc||TARGET_x86 +kmod-hwmon-vid)
-endef
-
-define KernelPacakge/hwmon-w83627hf/description
- Kernel module for the Winbond W83627HF chips.
-endef
-
-$(eval $(call KernelPackage,hwmon-w83627hf))
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
deleted file mode 100644
index 085570836f..0000000000
--- a/package/kernel/modules/i2c.mk
+++ /dev/null
@@ -1,269 +0,0 @@
-#
-# Copyright (C) 2006-2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-I2C_MENU:=I2C support
-
-ModuleConfVar=$(word 1,$(subst :,$(space),$(1)))
-ModuleFullPath=$(LINUX_DIR)/$(word 2,$(subst :,$(space),$(1))).ko
-ModuleKconfig=$(foreach mod,$(1),$(call ModuleConfVar,$(mod)))
-ModuleFiles=$(foreach mod,$(1),$(call ModuleFullPath,$(mod)))
-ModuleAuto=$(call AutoLoad,$(1),$(foreach mod,$(2),$(basename $(notdir $(call ModuleFullPath,$(mod))))),$(3))
-
-define i2c_defaults
- SUBMENU:=$(I2C_MENU)
- KCONFIG:=$(call ModuleKconfig,$(1))
- FILES:=$(call ModuleFiles,$(1))
- AUTOLOAD:=$(call ModuleAuto,$(2),$(1),$(3))
-endef
-
-I2C_CORE_MODULES:= \
- CONFIG_I2C:drivers/i2c/i2c-core \
- CONFIG_I2C_CHARDEV:drivers/i2c/i2c-dev
-
-ifeq (CONFIG_OF,y)
- I2C_CORE_MODULES+=CONFIG_OF_I2C:drivers/of/of_i2c
-endif
-
-define KernelPackage/i2c-core
- $(call i2c_defaults,$(I2C_CORE_MODULES),51)
- TITLE:=I2C support
-endef
-
-define KernelPackage/i2c-core/description
- Kernel modules for I2C support
-endef
-
-$(eval $(call KernelPackage,i2c-core))
-
-
-I2C_ALGOBIT_MODULES:= \
- CONFIG_I2C_ALGOBIT:drivers/i2c/algos/i2c-algo-bit
-
-define KernelPackage/i2c-algo-bit
- $(call i2c_defaults,$(I2C_ALGOBIT_MODULES),55)
- TITLE:=I2C bit-banging interfaces
- DEPENDS:=kmod-i2c-core
-endef
-
-define KernelPackage/i2c-algo-bit/description
- Kernel modules for I2C bit-banging interfaces.
-endef
-
-$(eval $(call KernelPackage,i2c-algo-bit))
-
-
-I2C_ALGOPCA_MODULES:= \
- CONFIG_I2C_ALGOPCA:drivers/i2c/algos/i2c-algo-pca
-
-define KernelPackage/i2c-algo-pca
- $(call i2c_defaults,$(I2C_ALGOPCA_MODULES),55)
- TITLE:=I2C PCA 9564 interfaces
- DEPENDS:=kmod-i2c-core
-endef
-
-define KernelPackage/i2c-algo-pca/description
- Kernel modules for I2C PCA 9564 interfaces.
-endef
-
-$(eval $(call KernelPackage,i2c-algo-pca))
-
-
-I2C_ALGOPCF_MODULES:= \
- CONFIG_I2C_ALGOPCF:drivers/i2c/algos/i2c-algo-pcf
-
-define KernelPackage/i2c-algo-pcf
- $(call i2c_defaults,$(I2C_ALGOPCF_MODULES),55)
- TITLE:=I2C PCF 8584 interfaces
- DEPENDS:=kmod-i2c-core
-endef
-
-define KernelPackage/i2c-algo-pcf/description
- Kernel modules for I2C PCF 8584 interfaces
-endef
-
-$(eval $(call KernelPackage,i2c-algo-pcf))
-
-
-I2C_GPIO_MODULES:= \
- CONFIG_I2C_GPIO:drivers/i2c/busses/i2c-gpio
-
-define KernelPackage/i2c-gpio
- $(call i2c_defaults,$(I2C_GPIO_MODULES),59)
- TITLE:=GPIO-based bitbanging I2C
- DEPENDS:=@GPIO_SUPPORT +kmod-i2c-algo-bit
-endef
-
-define KernelPackage/i2c-gpio/description
- Kernel modules for a very simple bitbanging I2C driver utilizing the
- arch-neutral GPIO API to control the SCL and SDA lines.
-endef
-
-$(eval $(call KernelPackage,i2c-gpio))
-
-I2C_MPC_MODULES:=\
- CONFIG_I2C_MPC:drivers/i2c/busses/i2c-mpc
-
-define KernelPackage/i2c-mpc
- $(call i2c_defaults,$(I2C_MPC_MODULES),59)
- TITLE:=MPC I2C accessors
- DEPENDS:=@TARGET_mpc52xx||TARGET_mpc83xx||TARGET_mpc85xx \
- +kmod-i2c-core
-endef
-
-define KernelPackage/i2c-mpc/description
- Kernel module for Freescale MPC52xx MPC83xx MPC85xx I2C accessors.
-endef
-
-$(eval $(call KernelPackage,i2c-mpc))
-
-I2C_IBM_IIC_MODULES:=\
- CONFIG_I2C_IBM_IIC:drivers/i2c/busses/i2c-ibm_iic
-
-define KernelPackage/i2c-ibm-iic
- $(call i2c_defaults,$(OF_I2C_MODULES),59)
- TITLE:=IBM PPC 4xx on-chip I2C interface support
- DEPENDS:=@TARGET_ppc40x||TARGET_ppc4xx +kmod-i2c-core
-endef
-
-define KernelPackage/i2c-ibm-iic/description
- Kernel module for IIC peripheral found on embedded IBM PPC4xx based systems.
-endef
-
-$(eval $(call KernelPackage,i2c-ibm-iic))
-
-I2C_MV64XXX_MODULES:=\
- CONFIG_I2C_MV64XXX:drivers/i2c/busses/i2c-mv64xxx
-
-define KernelPackage/i2c-mv64xxx
- $(call i2c_defaults,$(I2C_MV64XXX_MODULES),59)
- TITLE:=Orion Platform I2C interface support
- DEPENDS:=@TARGET_kirkwood||TARGET_orion||TARGET_mvebu +kmod-i2c-core
-endef
-
-define KernelPackage/i2c-mv64xxx/description
- Kernel module for I2C interface on the Kirkwood, Orion and Armada XP/370
- family processors.
-endef
-
-$(eval $(call KernelPackage,i2c-mv64xxx))
-
-
-I2C_TINY_USB_MODULES:= \
- CONFIG_I2C_TINY_USB:drivers/i2c/busses/i2c-tiny-usb
-
-define KernelPackage/i2c-tiny-usb
- $(call i2c_defaults,$(I2C_TINY_USB_MODULES),59)
- TITLE:=I2C Tiny USB adaptor
- DEPENDS:=@USB_SUPPORT kmod-i2c-core
-endef
-
-define KernelPackage/i2c-tiny-usb/description
- Kernel module for the I2C Tiny USB adaptor developed
- by Till Harbaum (http://www.harbaum.org/till/i2c_tiny_usb).
-endef
-
-$(eval $(call KernelPackage,i2c-tiny-usb))
-
-I2C_MUX_MODULES:= \
- CONFIG_I2C_MUX:drivers/i2c/i2c-mux
-
-define KernelPackage/i2c-mux
- $(call i2c_defaults,$(I2C_MUX_MODULES),51)
- TITLE:=I2C bus multiplexing support
- DEPENDS:=kmod-i2c-core
-endef
-
-define KernelPackage/i2c-mux/description
- Kernel modules for I2C bus multiplexing support.
-endef
-
-$(eval $(call KernelPackage,i2c-mux))
-
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
-I2C_MUX_GPIO_MODULES:= \
- CONFIG_I2C_MUX_GPIO:drivers/i2c/muxes/i2c-mux-gpio
-else
-I2C_MUX_GPIO_MODULES:= \
- CONFIG_I2C_MUX_GPIO:drivers/i2c/muxes/gpio-i2cmux
-endif
-
-define KernelPackage/i2c-mux-gpio
- $(call i2c_defaults,$(I2C_MUX_GPIO_MODULES),51)
- TITLE:=GPIO-based I2C mux/switches
- DEPENDS:=kmod-i2c-mux
-endef
-
-define KernelPackage/i2c-mux-gpio/description
- Kernel modules for GENERIC_GPIO I2C bus mux/switching devices.
-endef
-
-$(eval $(call KernelPackage,i2c-mux-gpio))
-
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
-I2C_MUX_PREFIX:=i2c-mux-
-endif
-
-I2C_MUX_PCA954x_MODULES:= \
- CONFIG_I2C_MUX_PCA954x:drivers/i2c/muxes/$(I2C_MUX_PREFIX)pca954x
-
-define KernelPackage/i2c-mux-pca954x
- $(call i2c_defaults,$(I2C_MUX_PCA954x_MODULES),51)
- TITLE:=Philips PCA954x I2C mux/switches
- DEPENDS:=kmod-i2c-mux
-endef
-
-define KernelPackage/i2c-mux-pca954x/description
- Kernel modules for PCA954x I2C bus mux/switching devices.
-endef
-
-$(eval $(call KernelPackage,i2c-mux-pca954x))
-## Support for pca954x seems to be in kernel since 2.6.36
-
-I2C_MUX_PCA9541_MODULES:= \
- CONFIG_I2C_MUX_PCA9541:drivers/i2c/muxes/$(I2C_MUX_PREFIX)pca9541
-
-define KernelPackage/i2c-mux-pca9541
- $(call i2c_defaults,$(I2C_MUX_PCA9541_MODULES),51)
- TITLE:=Philips PCA9541 I2C mux/switches
- DEPENDS:=kmod-i2c-mux
-endef
-
-define KernelPackage/i2c-mux-pca9541/description
- Kernel modules for PCA9541 I2C bus mux/switching devices.
-endef
-
-$(eval $(call KernelPackage,i2c-mux-pca9541))
-
-GPIO_PCA953X_MODULES:= \
- CONFIG_GPIO_PCA953X:drivers/gpio/gpio-pca953x
-
-define KernelPackage/pca953x
- $(call i2c_defaults,$(GPIO_PCA953X_MODULES),51)
- TITLE:=Philips PCA953x I2C GPIO extenders
- DEPENDS:=kmod-i2c-core
-endef
-
-define KernelPackage/pca953x/description
- Kernel modules for PCA953x I2C GPIO extenders.
-endef
-
-$(eval $(call KernelPackage,pca953x))
-
-GPIO_PCF857X_MODULES:= \
- CONFIG_GPIO_PCF857X:drivers/gpio/gpio-pcf857x
-
-define KernelPackage/pcf857x
- $(call i2c_defaults,$(GPIO_PCF857X_MODULES),51)
- TITLE:=Philips PCF857x I2C GPIO extenders
- DEPENDS:=kmod-i2c-core
-endef
-
-define KernelPackage/pcf857x/description
- Kernel modules for PCF857x I2C GPIO extenders.
-endef
-
-$(eval $(call KernelPackage,pcf857x))
diff --git a/package/kernel/modules/input.mk b/package/kernel/modules/input.mk
deleted file mode 100644
index 78fa9241cd..0000000000
--- a/package/kernel/modules/input.mk
+++ /dev/null
@@ -1,206 +0,0 @@
-#
-# Copyright (C) 2006-2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-INPUT_MODULES_MENU:=Input modules
-
-define KernelPackage/hid
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=HID Devices
- KCONFIG:=CONFIG_HID CONFIG_HIDRAW=y
- FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
- AUTOLOAD:=$(call AutoLoad,61,hid)
- $(call AddDepends/input,+kmod-input-evdev)
-endef
-
-define KernelPackage/hid/description
- Kernel modules for HID devices
-endef
-
-$(eval $(call KernelPackage,hid))
-
-define KernelPackage/hid-generic
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=Generic HID device support
- KCONFIG:=CONFIG_HID_GENERIC
- FILES:=$(LINUX_DIR)/drivers/hid/hid-generic.ko
- AUTOLOAD:=$(call AutoLoad,62,hid-generic)
- $(call AddDepends/hid)
-endef
-
-define KernelPackage/hid/description
- Kernel modules for generic HID device (e.g. keyboards and mice) support
-endef
-
-$(eval $(call KernelPackage,hid-generic))
-
-define KernelPackage/input-core
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=Input device core
- KCONFIG:=CONFIG_INPUT
- FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
- AUTOLOAD:=$(call AutoLoad,19,input-core,1)
-endef
-
-define KernelPackage/input-core/description
- Kernel modules for support of input device
-endef
-
-$(eval $(call KernelPackage,input-core))
-
-
-define KernelPackage/input-evdev
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=Input event device
- KCONFIG:=CONFIG_INPUT_EVDEV
- FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
- AUTOLOAD:=$(call AutoLoad,60,evdev)
- $(call AddDepends/input)
-endef
-
-define KernelPackage/input-evdev/description
- Kernel modules for support of input device events
-endef
-
-$(eval $(call KernelPackage,input-evdev))
-
-
-define KernelPackage/input-gpio-buttons
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=Polled GPIO buttons input device
- DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
- KCONFIG:= \
- CONFIG_INPUT_GPIO_BUTTONS \
- CONFIG_INPUT_MISC=y
- FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
- AUTOLOAD:=$(call AutoLoad,62,gpio_buttons,1)
-endef
-
-define KernelPackage/input-gpio-buttons/description
- Kernel module for support polled GPIO buttons input device
-endef
-
-$(eval $(call KernelPackage,input-gpio-buttons))
-
-
-define KernelPackage/input-gpio-keys
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=GPIO key support
- DEPENDS:= @GPIO_SUPPORT
- KCONFIG:= \
- CONFIG_KEYBOARD_GPIO \
- CONFIG_INPUT_KEYBOARD=y
- FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
- AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
- $(call AddDepends/input)
-endef
-
-define KernelPackage/input-gpio-keys/description
- This driver implements support for buttons connected
- to GPIO pins of various CPUs (and some other chips).
-endef
-
-$(eval $(call KernelPackage,input-gpio-keys))
-
-
-define KernelPackage/input-gpio-keys-polled
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=Polled GPIO key support
- DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
- KCONFIG:= \
- CONFIG_KEYBOARD_GPIO_POLLED \
- CONFIG_INPUT_KEYBOARD=y
- FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
- AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled,1)
- $(call AddDepends/input)
-endef
-
-define KernelPackage/input-gpio-keys-polled/description
- Kernel module for support polled GPIO keys input device
-endef
-
-$(eval $(call KernelPackage,input-gpio-keys-polled))
-
-
-define KernelPackage/input-gpio-encoder
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=GPIO rotay encoder
- KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
- FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
- AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
- $(call AddDepends/input,@GPIO_SUPPORT)
-endef
-
-define KernelPackage/gpio-encoder/description
- Kernel module to use rotary encoders connected to GPIO pins
-endef
-
-$(eval $(call KernelPackage,input-gpio-encoder))
-
-
-define KernelPackage/input-joydev
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=Joystick device support
- KCONFIG:=CONFIG_INPUT_JOYDEV
- FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
- AUTOLOAD:=$(call AutoLoad,62,joydev)
- $(call AddDepends/input)
-endef
-
-define KernelPackage/input-joydev/description
- Kernel module for joystick support
-endef
-
-$(eval $(call KernelPackage,input-joydev))
-
-
-define KernelPackage/input-polldev
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=Polled Input device support
- KCONFIG:=CONFIG_INPUT_POLLDEV
- FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
- AUTOLOAD:=$(call AutoLoad,20,input-polldev,1)
- $(call AddDepends/input)
-endef
-
-define KernelPackage/input-polldev/description
- Kernel module for support of polled input devices
-endef
-
-$(eval $(call KernelPackage,input-polldev))
-
-
-define KernelPackage/input-matrixkmap
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=Input matrix devices support
- KCONFIG:=CONFIG_INPUT_MATRIXKMAP
- DEPENDS:=@!LINUX_3_3
- FILES:=$(LINUX_DIR)/drivers/input/matrix-keymap.ko
- AUTOLOAD:=$(call AutoLoad,20,matrix-keymap)
- $(call AddDepends/input)
-endef
-
-define KernelPackage/input-matrix/description
- Kernel module support for input matrix devices
-endef
-
-$(eval $(call KernelPackage,input-matrixkmap))
-
-
-define KernelPackage/acpi-button
- SUBMENU:=$(INPUT_MODULES_MENU)
- TITLE:=ACPI Button Support
- DEPENDS:=@(TARGET_x86_generic||TARGET_x86_kvm_guest||TARGET_x86_xen_domu) +kmod-input-evdev
- KCONFIG:=CONFIG_ACPI_BUTTON
- FILES:=$(LINUX_DIR)/drivers/acpi/button.ko
- AUTOLOAD:=$(call AutoLoad,06,button)
-endef
-
-define KernelPackage/acpi-button/description
- Kernel module for ACPI Button support
-endef
-
-$(eval $(call KernelPackage,acpi-button))
diff --git a/package/kernel/modules/leds.mk b/package/kernel/modules/leds.mk
deleted file mode 100644
index 980d62610a..0000000000
--- a/package/kernel/modules/leds.mk
+++ /dev/null
@@ -1,169 +0,0 @@
-#
-# Copyright (C) 2006-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-LEDS_MENU:=LED modules
-
-
-define KernelPackage/leds-gpio
- SUBMENU:=$(LEDS_MENU)
- TITLE:=GPIO LED support
- DEPENDS:= @GPIO_SUPPORT
- KCONFIG:=CONFIG_LEDS_GPIO
- FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko
- AUTOLOAD:=$(call AutoLoad,60,leds-gpio,1)
-endef
-
-define KernelPackage/leds-gpio/description
- Kernel module for LEDs on GPIO lines
-endef
-
-$(eval $(call KernelPackage,leds-gpio))
-
-
-define KernelPackage/ledtrig-heartbeat
- SUBMENU:=$(LEDS_MENU)
- TITLE:=LED Heartbeat Trigger
- KCONFIG:=CONFIG_LEDS_TRIGGER_HEARTBEAT
- FILES:=$(LINUX_DIR)/drivers/leds/$(if $(call kernel_patchver_ge,3.10),trigger/)ledtrig-heartbeat.ko
- AUTOLOAD:=$(call AutoLoad,50,ledtrig-heartbeat)
-endef
-
-define KernelPackage/ledtrig-gpio/description
- Kernel module that allows LEDs to blink like heart beat
-endef
-
-$(eval $(call KernelPackage,ledtrig-heartbeat))
-
-
-define KernelPackage/ledtrig-gpio
- SUBMENU:=$(LEDS_MENU)
- TITLE:=LED GPIO Trigger
- KCONFIG:=CONFIG_LEDS_TRIGGER_GPIO
- FILES:=$(LINUX_DIR)/drivers/leds/$(if $(call kernel_patchver_ge,3.10),trigger/)ledtrig-gpio.ko
- AUTOLOAD:=$(call AutoLoad,50,ledtrig-gpio)
-endef
-
-define KernelPackage/ledtrig-gpio/description
- Kernel module that allows LEDs to be controlled by gpio events.
-endef
-
-$(eval $(call KernelPackage,ledtrig-gpio))
-
-
-define KernelPackage/ledtrig-morse
- SUBMENU:=$(LEDS_MENU)
- TITLE:=LED Morse Trigger
- KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
- FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.ko
- AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
-endef
-
-define KernelPackage/ledtrig-morse/description
- Kernel module to show morse coded messages on LEDs.
-endef
-
-$(eval $(call KernelPackage,ledtrig-morse))
-
-
-define KernelPackage/ledtrig-netdev
- SUBMENU:=$(LEDS_MENU)
- TITLE:=LED NETDEV Trigger
- KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
- FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.ko
- AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
-endef
-
-define KernelPackage/ledtrig-netdev/description
- Kernel module to drive LEDs based on network activity.
-endef
-
-$(eval $(call KernelPackage,ledtrig-netdev))
-
-
-define KernelPackage/ledtrig-netfilter
- SUBMENU:=$(LEDS_MENU)
- TITLE:=LED NetFilter Trigger
- DEPENDS:=kmod-ipt-core
- KCONFIG:=CONFIG_NETFILTER_XT_TARGET_LED
- FILES:=$(LINUX_DIR)/net/netfilter/xt_LED.ko
- AUTOLOAD:=$(call AutoLoad,50,xt_LED)
-endef
-
-define KernelPackage/ledtrig-netfilter/description
- Kernel module to flash LED when a particular packets passing through your machine.
-
- For example to create an LED trigger for incoming SSH traffic:
- iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000
- Then attach the new trigger to an LED on your system:
- echo netfilter-ssh > /sys/class/leds/<ledname>/trigger
-endef
-
-$(eval $(call KernelPackage,ledtrig-netfilter))
-
-
-define KernelPackage/ledtrig-usbdev
- SUBMENU:=$(LEDS_MENU)
- TITLE:=LED USB device Trigger
- DEPENDS:=@USB_SUPPORT kmod-usb-core
- KCONFIG:=CONFIG_LEDS_TRIGGER_USBDEV
- FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-usbdev.ko
- AUTOLOAD:=$(call AutoLoad,50,ledtrig-usbdev)
-endef
-
-define KernelPackage/ledtrig-usbdev/description
- Kernel module to drive LEDs based on USB device presence/activity.
-endef
-
-$(eval $(call KernelPackage,ledtrig-usbdev))
-
-
-define KernelPackage/ledtrig-default-on
- SUBMENU:=$(LEDS_MENU)
- TITLE:=LED Default ON Trigger
- KCONFIG:=CONFIG_LEDS_TRIGGER_DEFAULT_ON
- FILES:=$(LINUX_DIR)/drivers/leds/$(if $(call kernel_patchver_ge,3.10),trigger/)ledtrig-default-on.ko
- AUTOLOAD:=$(call AutoLoad,50,ledtrig-default-on,1)
-endef
-
-define KernelPackage/ledtrig-default-on/description
- Kernel module that allows LEDs to be initialised in the ON state.
-endef
-
-$(eval $(call KernelPackage,ledtrig-default-on))
-
-
-define KernelPackage/ledtrig-timer
- SUBMENU:=$(LEDS_MENU)
- TITLE:=LED Timer Trigger
- KCONFIG:=CONFIG_LEDS_TRIGGER_TIMER
- FILES:=$(LINUX_DIR)/drivers/leds/$(if $(call kernel_patchver_ge,3.10),trigger/)ledtrig-timer.ko
- AUTOLOAD:=$(call AutoLoad,50,ledtrig-timer,1)
-endef
-
-define KernelPackage/ledtrig-timer/description
- Kernel module that allows LEDs to be controlled by a programmable timer
- via sysfs.
-endef
-
-$(eval $(call KernelPackage,ledtrig-timer))
-
-
-define KernelPackage/ledtrig-oneshot
- SUBMENU:=$(LEDS_MENU)
- TITLE:=LED One-Shot Trigger
- DEPENDS:=@!LINUX_3_3
- KCONFIG:=CONFIG_LEDS_TRIGGER_ONESHOT
- FILES:=$(LINUX_DIR)/drivers/leds/$(if $(call kernel_patchver_ge,3.10),trigger/)ledtrig-oneshot.ko
- AUTOLOAD:=$(call AutoLoad,50,ledtrig-oneshot)
-endef
-
-define KernelPackage/ledtrig-oneshot/description
- Kernel module that allows LEDs to be triggered by sporadic events in
- one-shot pulses.
-endef
-
-$(eval $(call KernelPackage,ledtrig-oneshot))
diff --git a/package/kernel/modules/lib.mk b/package/kernel/modules/lib.mk
deleted file mode 100644
index 0411e93702..0000000000
--- a/package/kernel/modules/lib.mk
+++ /dev/null
@@ -1,165 +0,0 @@
-#
-# Copyright (C) 2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-LIB_MENU:=Libraries
-
-define KernelPackage/lib-crc-ccitt
- SUBMENU:=$(LIB_MENU)
- TITLE:=CRC-CCITT support
- KCONFIG:=CONFIG_CRC_CCITT
- FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko
- AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
-endef
-
-define KernelPackage/lib-crc-ccitt/description
- Kernel module for CRC-CCITT support
-endef
-
-$(eval $(call KernelPackage,lib-crc-ccitt))
-
-
-define KernelPackage/lib-crc-itu-t
- SUBMENU:=$(LIB_MENU)
- TITLE:=CRC ITU-T V.41 support
- KCONFIG:=CONFIG_CRC_ITU_T
- FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko
- AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
-endef
-
-define KernelPackage/lib-crc-itu-t/description
- Kernel module for CRC ITU-T V.41 support
-endef
-
-$(eval $(call KernelPackage,lib-crc-itu-t))
-
-
-define KernelPackage/lib-crc7
- SUBMENU:=$(LIB_MENU)
- TITLE:=CRC7 support
- KCONFIG:=CONFIG_CRC7
- FILES:=$(LINUX_DIR)/lib/crc7.ko
- AUTOLOAD:=$(call AutoLoad,20,crc7)
-endef
-
-define KernelPackage/lib-crc7/description
- Kernel module for CRC7 support
-endef
-
-$(eval $(call KernelPackage,lib-crc7))
-
-
-define KernelPackage/lib-crc8
- SUBMENU:=$(LIB_MENU)
- TITLE:=CRC8 support
- KCONFIG:=CONFIG_CRC8
- FILES:=$(LINUX_DIR)/lib/crc8.ko
- AUTOLOAD:=$(call AutoLoad,20,crc8)
-endef
-
-define KernelPackage/lib-crc8/description
- Kernel module for CRC8 support
-endef
-
-$(eval $(call KernelPackage,lib-crc8))
-
-
-define KernelPackage/lib-crc16
- SUBMENU:=$(LIB_MENU)
- TITLE:=CRC16 support
- KCONFIG:=CONFIG_CRC16
- FILES:=$(LINUX_DIR)/lib/crc16.ko
- AUTOLOAD:=$(call AutoLoad,20,crc16,1)
-endef
-
-define KernelPackage/lib-crc16/description
- Kernel module for CRC16 support
-endef
-
-$(eval $(call KernelPackage,lib-crc16))
-
-
-define KernelPackage/lib-crc32c
- SUBMENU:=$(LIB_MENU)
- TITLE:=CRC32 support
- KCONFIG:=CONFIG_LIBCRC32C
- DEPENDS:=+kmod-crypto-crc32c
- FILES:=$(LINUX_DIR)/lib/libcrc32c.ko
- AUTOLOAD:=$(call AutoLoad,20,libcrc32c,1)
-endef
-
-define KernelPackage/lib-crc32c/description
- Kernel module for CRC32 support
-endef
-
-$(eval $(call KernelPackage,lib-crc32c))
-
-
-define KernelPackage/lib-lzo
- SUBMENU:=$(LIB_MENU)
- TITLE:=LZO support
- KCONFIG:= \
- CONFIG_LZO_COMPRESS \
- CONFIG_LZO_DECOMPRESS
- FILES:= \
- $(LINUX_DIR)/lib/lzo/lzo_compress.ko \
- $(LINUX_DIR)/lib/lzo/lzo_decompress.ko
- AUTOLOAD:=$(call AutoLoad,20, lzo_compress lzo_decompress,1)
-endef
-
-define KernelPackage/lib-lzo/description
- Kernel module for LZO compression/decompression support
-endef
-
-$(eval $(call KernelPackage,lib-lzo))
-
-
-define KernelPackage/lib-textsearch
-SUBMENU:=$(LIB_MENU)
- TITLE:=Textsearch support
- KCONFIG:= \
- CONFIG_TEXTSEARCH=y \
- CONFIG_TEXTSEARCH_KMP \
- CONFIG_TEXTSEARCH_BM \
- CONFIG_TEXTSEARCH_FSM
- FILES:= \
- $(LINUX_DIR)/lib/ts_kmp.ko \
- $(LINUX_DIR)/lib/ts_bm.ko \
- $(LINUX_DIR)/lib/ts_fsm.ko
- AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
-endef
-
-$(eval $(call KernelPackage,lib-textsearch))
-
-
-define KernelPackage/lib-zlib
- SUBMENU:=$(LIB_MENU)
- TITLE:=Zlib support
- KCONFIG:= \
- CONFIG_ZLIB_DEFLATE \
- CONFIG_ZLIB_INFLATE
- FILES:= \
- $(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko \
- $(LINUX_DIR)/lib/zlib_inflate/zlib_inflate.ko
- AUTOLOAD:=$(call AutoLoad,08,zlib_deflate zlib_inflate,1)
-endef
-
-$(eval $(call KernelPackage,lib-zlib))
-
-
-define KernelPackage/lib-cordic
- SUBMENU:=$(LIB_MENU)
- TITLE:=Cordic function support
- KCONFIG:=CONFIG_CORDIC
- FILES:=$(LINUX_DIR)/lib/cordic.ko
- AUTOLOAD:=$(call AutoLoad,20,cordic)
-endef
-
-define KernelPackage/lib-cordic/description
- Kernel module for Cordic function support
-endef
-
-$(eval $(call KernelPackage,lib-cordic))
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk
deleted file mode 100644
index 3dec19e3c0..0000000000
--- a/package/kernel/modules/netdevices.mk
+++ /dev/null
@@ -1,726 +0,0 @@
-#
-# Copyright (C) 2006-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-NETWORK_DEVICES_MENU:=Network Devices
-
-define KernelPackage/sis190
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=SiS 190 Fast/Gigabit Ethernet support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_SIS190
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis190.ko
- AUTOLOAD:=$(call AutoLoad,50,sis190)
-endef
-
-$(eval $(call KernelPackage,sis190))
-
-define KernelPackage/skge
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=SysKonnect Yukon support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_SKGE \
- CONFIG_SKGE_DEBUG=n \
- CONFIG_SKGE_GENESIS=n
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/skge.ko
- AUTOLOAD:=$(call AutoLoad,50,skge)
-endef
-
-$(eval $(call KernelPackage,skge))
-
-define KernelPackage/atl2
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Atheros L2 Fast Ethernet support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_ATL2
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl2.ko
- AUTOLOAD:=$(call AutoLoad,50,atl2)
-endef
-
-$(eval $(call KernelPackage,atl2))
-
-define KernelPackage/atl1
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Atheros L1 Gigabit Ethernet support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_ATL1
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl1.ko
- AUTOLOAD:=$(call AutoLoad,50,atl1)
-endef
-
-$(eval $(call KernelPackage,atl1))
-
-define KernelPackage/atl1c
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Atheros L1C
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_ATL1C
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1c/atl1c.ko
- AUTOLOAD:=$(call AutoLoad,50,atl1c)
-endef
-
-$(eval $(call KernelPackage,atl1c))
-
-define KernelPackage/atl1e
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Atheros L1E
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_ATL1E
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1e/atl1e.ko
- AUTOLOAD:=$(call AutoLoad,50,atl1e)
-endef
-
-$(eval $(call KernelPackage,atl1e))
-
-define KernelPackage/libphy
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=PHY library
- KCONFIG:=CONFIG_PHYLIB
- FILES:=$(LINUX_DIR)/drivers/net/phy/libphy.ko
- AUTOLOAD:=$(call AutoLoad,40,libphy)
-endef
-
-define KernelPackage/libphy/description
- PHY library
-endef
-
-$(eval $(call KernelPackage,libphy))
-
-define KernelPackage/et131x
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Agere ET131x Gigabit Ethernet driver
- URL:=http://sourceforge.net/projects/et131x
- FILES:=$(LINUX_DIR)/drivers/staging/et131x/et131x.$(LINUX_KMOD_SUFFIX)
- KCONFIG:= \
- CONFIG_ET131X \
- CONFIG_ET131X_DEBUG=n
- DEPENDS:=@PCI_SUPPORT
- AUTOLOAD:=$(call AutoLoad,70,et131x)
-endef
-
-define KernelPackage/et131x/description
- This package contains the et131x kernel module.
-endef
-
-$(eval $(call KernelPackage,et131x))
-
-define KernelPackage/swconfig
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=switch configuration API
- DEPENDS:=+kmod-libphy
- KCONFIG:=CONFIG_SWCONFIG
- FILES:=$(LINUX_DIR)/drivers/net/phy/swconfig.ko
- AUTOLOAD:=$(call AutoLoad,41,swconfig)
-endef
-
-define KernelPackage/swconfig/description
- Switch configuration API module
-endef
-
-$(eval $(call KernelPackage,swconfig))
-
-define KernelPackage/switch-ip17xx
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=IC+ IP17XX switch support
- DEPENDS:=+kmod-swconfig
- KCONFIG:=CONFIG_IP17XX_PHY
- FILES:=$(LINUX_DIR)/drivers/net/phy/ip17xx.ko
- AUTOLOAD:=$(call AutoLoad,42,ip17xx)
-endef
-
-define KernelPackage/switch-ip17xx/description
- IC+ IP175C/IP178C switch support
-endef
-
-$(eval $(call KernelPackage,switch-ip17xx))
-
-define KernelPackage/switch-rtl8366-smi
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Realtek RTL8366 SMI switch interface support
- DEPENDS:=@GPIO_SUPPORT +kmod-swconfig
- KCONFIG:=CONFIG_RTL8366_SMI
- FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
- AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi)
-endef
-
-define KernelPackage/switch-rtl8366_smi/description
- Realtek RTL8366 series SMI switch interface support
-endef
-
-$(eval $(call KernelPackage,switch-rtl8366-smi))
-
-define KernelPackage/switch-rtl8366rb
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Realtek RTL8366RB switch support
- DEPENDS:=+kmod-switch-rtl8366-smi
- KCONFIG:=CONFIG_RTL8366RB_PHY
- FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366rb.ko
- AUTOLOAD:=$(call AutoLoad,43,rtl8366rb)
-endef
-
-define KernelPackage/switch-rtl8366rb/description
- Realtek RTL8366RB switch support
-endef
-
-$(eval $(call KernelPackage,switch-rtl8366rb))
-
-define KernelPackage/switch-rtl8366s
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Realtek RTL8366S switch support
- DEPENDS:=+kmod-switch-rtl8366-smi
- KCONFIG:=CONFIG_RTL8366S_PHY
- FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366s.ko
- AUTOLOAD:=$(call AutoLoad,43,rtl8366s)
-endef
-
-define KernelPackage/switch-rtl8366s/description
- Realtek RTL8366S switch support
-endef
-
-$(eval $(call KernelPackage,switch-rtl8366s))
-
-define KernelPackage/natsemi
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=National Semiconductor DP8381x series
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_NATSEMI
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/natsemi/natsemi.ko
- AUTOLOAD:=$(call AutoLoad,20,natsemi)
-endef
-
-define KernelPackage/natsemi/description
- Kernel modules for National Semiconductor DP8381x series PCI Ethernet
- adapters.
-endef
-
-$(eval $(call KernelPackage,natsemi))
-
-
-define KernelPackage/r6040
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=RDC Fast-Ethernet support
- DEPENDS:=@PCI_SUPPORT +kmod-libphy
- KCONFIG:=CONFIG_R6040 \
- CONFIG_R6040_NAPI=y
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/rdc/r6040.ko
- AUTOLOAD:=$(call AutoLoad,99,r6040)
-endef
-
-define KernelPackage/r6040/description
- Kernel modules for RDC Fast-Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,r6040))
-
-
-define KernelPackage/sis900
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=SiS 900 Ethernet support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_SIS900
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis900.ko
- AUTOLOAD:=$(call AutoLoad,50,sis900)
-endef
-
-define KernelPackage/sis900/description
- Kernel modules for Sis 900 Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,sis900))
-
-
-define KernelPackage/sky2
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=SysKonnect Yukon2 support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_SKY2
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/sky2.ko
- AUTOLOAD:=$(call AutoLoad,50,sky2)
-endef
-
-define KernelPackage/sky2/description
- This driver supports Gigabit Ethernet adapters based on the
- Marvell Yukon 2 chipset:
- Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
- 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
-
- There is companion driver for the older Marvell Yukon and
- Genesis based adapters: skge.
-endef
-
-$(eval $(call KernelPackage,sky2))
-
-
-define KernelPackage/via-rhine
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Via Rhine ethernet support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_VIA_RHINE \
- CONFIG_VIA_RHINE_MMIO=y
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-rhine.ko
- AUTOLOAD:=$(call AutoLoad,50,via-rhine)
-endef
-
-define KernelPackage/via-rhine/description
- Kernel modules for Via Rhine Ethernet chipsets.
-endef
-
-$(eval $(call KernelPackage,via-rhine))
-
-
-define KernelPackage/via-velocity
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
- DEPENDS:=@TARGET_ixp4xx||TARGET_mpc83xx||PCI_SUPPORT +kmod-lib-crc-ccitt
- KCONFIG:=CONFIG_VIA_VELOCITY
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-velocity.ko
- AUTOLOAD:=$(call AutoLoad,50,via-velocity)
-endef
-
-define KernelPackage/via-velocity/description
- Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
-endef
-
-$(eval $(call KernelPackage,via-velocity))
-
-
-define KernelPackage/8139too
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_8139TOO \
- CONFIG_8139TOO_PIO=y \
- CONFIG_8139TOO_TUNE_TWISTER=n \
- CONFIG_8139TOO_8129=n \
- CONFIG_8139_OLD_RX_RESET=n
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139too.ko
- AUTOLOAD:=$(call AutoLoad,50,8139too)
-endef
-
-define KernelPackage/8139too/description
- Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,8139too))
-
-
-define KernelPackage/8139cp
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=RealTek RTL-8139C+ PCI Fast Ethernet Adapter kernel support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_8139CP
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139cp.ko
- AUTOLOAD:=$(call AutoLoad,50,8139cp)
-endef
-
-define KernelPackage/8139cp/description
- Kernel module for RealTek RTL-8139C+ PCI Fast Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,8139cp))
-
-
-define KernelPackage/r8169
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_R8169 \
- CONFIG_R8169_NAPI=y \
- CONFIG_R8169_VLAN=n
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko
- AUTOLOAD:=$(call AutoLoad,50,r8169)
-endef
-
-define KernelPackage/r8169/description
- Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,r8169))
-
-
-define KernelPackage/ne2k-pci
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=ne2k-pci Ethernet Adapter kernel support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_NE2K_PCI
- FILES:= \
- $(LINUX_DIR)/drivers/net/ethernet/8390/ne2k-pci.ko \
- $(LINUX_DIR)/drivers/net/ethernet/8390/8390.ko
- AUTOLOAD:=$(call AutoLoad,50,8390 ne2k-pci)
-endef
-
-define KernelPackage/ne2k-pci/description
- Kernel modules for NE2000 PCI Ethernet Adapter kernel.
-endef
-
-$(eval $(call KernelPackage,ne2k-pci))
-
-
-define KernelPackage/e100
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Intel(R) PRO/100+ cards kernel support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_E100
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e100.ko
- AUTOLOAD:=$(call AutoLoad,50,e100)
-endef
-
-define KernelPackage/e100/description
- Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
-endef
-
-define KernelPackage/e100/install
- $(INSTALL_DIR) $(1)/lib/firmware/e100
- $(foreach file,d101m_ucode.bin d101s_ucode.bin d102e_ucode.bin, \
- $(TARGET_CROSS)objcopy -Iihex -Obinary $(LINUX_DIR)/firmware/e100/$(file).ihex $(1)/lib/firmware/e100/$(file); \
- )
-endef
-
-$(eval $(call KernelPackage,e100))
-
-
-define KernelPackage/e1000
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Intel(R) PRO/1000 PCI cards kernel support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_E1000 \
- CONFIG_E1000_DISABLE_PACKET_SPLIT=n \
- CONFIG_E1000_NAPI=y
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko
- AUTOLOAD:=$(call AutoLoad,35,e1000)
-endef
-
-define KernelPackage/e1000/description
- Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,e1000))
-
-
-define KernelPackage/e1000e
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Intel(R) PRO/1000 PCIe cards kernel support
- DEPENDS:=@PCIE_SUPPORT
- KCONFIG:=CONFIG_E1000E
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko
- AUTOLOAD:=$(call AutoLoad,50,e1000e)
-endef
-
-define KernelPackage/e1000e/description
- Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,e1000e))
-
-
-define KernelPackage/b44
- TITLE:=Broadcom 44xx driver
- KCONFIG:=CONFIG_B44
- DEPENDS:=@PCI_SUPPORT +!TARGET_brcm47xx:kmod-ssb
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko
- AUTOLOAD:=$(call AutoLoad,50,b44)
-endef
-
-define KernelPackage/b44/description
- Kernel modules for Broadcom 44xx Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,b44))
-
-
-define KernelPackage/3c59x
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_VORTEX
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/3com/3c59x.ko
- AUTOLOAD:=$(call AutoLoad,50,3c59x)
-endef
-
-define KernelPackage/3c59x/description
- This option enables driver support for a large number of 10mbps and
- 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
- - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
- - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
- - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
- - "Tornado" (3c905) PCI
- - "Hurricane" (3c555/3cSOHO) PCI
-endef
-
-$(eval $(call KernelPackage,3c59x))
-
-
-define KernelPackage/pcnet32
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=AMD PCnet32 PCI support
- DEPENDS:=@(PCI_SUPPORT||TARGET_malta)
- KCONFIG:=CONFIG_PCNET32
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/pcnet32.ko
- AUTOLOAD:=$(call AutoLoad,50,pcnet32)
-endef
-
-define KernelPackage/pcnet32/description
- Kernel modules for AMD PCnet32 Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,pcnet32))
-
-
-define KernelPackage/tg3
- TITLE:=Broadcom Tigon3 Gigabit Ethernet
- KCONFIG:=CONFIG_TIGON3
- DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +(LINUX_3_8||LINUX_3_9||LINUX_3_10):kmod-ptp
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
- AUTOLOAD:=$(call AutoLoad,50,tg3)
-endef
-
-define KernelPackage/tg3/description
- Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,tg3))
-
-
-define KernelPackage/hfcpci
- TITLE:=HFC PCI cards (single port) support for mISDN
- KCONFIG:=CONFIG_MISDN_HFCPCI
- DEPENDS:=+kmod-misdn
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcpci.ko
- AUTOLOAD:=$(call AutoLoad,31,hfcpci)
-endef
-
-define KernelPackage/hfcpci/description
- Kernel modules for Cologne AG's HFC pci cards (single port)
- using the mISDN V2 stack.
-endef
-
-$(eval $(call KernelPackage,hfcpci))
-
-
-define KernelPackage/hfcmulti
- TITLE:=HFC multiport cards (HFC-4S/8S/E1) support for mISDN
- KCONFIG:=CONFIG_MISDN_HFCMULTI
- DEPENDS:=+kmod-misdn
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.ko
- AUTOLOAD:=$(call AutoLoad,31,hfcmulti)
-endef
-
-define KernelPackage/hfcmulti/description
- Kernel modules for Cologne AG's HFC multiport cards (HFC-4S/8S/E1)
- using the mISDN V2 stack.
-endef
-
-$(eval $(call KernelPackage,hfcmulti))
-
-
-define KernelPackage/gigaset
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Siemens Gigaset support for isdn4linux
- DEPENDS:=@USB_SUPPORT +kmod-isdn4linux +kmod-lib-crc-ccitt +kmod-usb-core
- URL:=http://gigaset307x.sourceforge.net/
- KCONFIG:= \
- CONFIG_ISDN_DRV_GIGASET \
- CONFIG_GIGASET_BASE \
- CONFIG_GIGASET_M101 \
- CONFIG_GIGASET_M105 \
- CONFIG_GIGASET_UNDOCREQ=y \
- CONFIG_GIGASET_I4L=y
- FILES:= \
- $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.ko \
- $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.ko \
- $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.ko \
- $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.ko
- AUTOLOAD:=$(call AutoLoad,50,gigaset bas_gigaset ser_gigaset usb_gigaset)
-endef
-
-define KernelPackage/gigaset/description
- This driver supports the Siemens Gigaset SX205/255 family of
- ISDN DECT bases, including the predecessors Gigaset 3070/3075
- and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus
- 721X.
-endef
-
-$(eval $(call KernelPackage,gigaset))
-
-
-define KernelPackage/macvlan
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=MAC-VLAN support
- KCONFIG:=CONFIG_MACVLAN
- FILES:=$(LINUX_DIR)/drivers/net/macvlan.ko
- AUTOLOAD:=$(call AutoLoad,50,macvlan)
-endef
-
-define KernelPackage/macvlan/description
- A kernel module which allows one to create virtual interfaces that
- map packets to or from specific MAC addresses to a particular interface.
-endef
-
-$(eval $(call KernelPackage,macvlan))
-
-define KernelPackage/tulip
- TITLE:=Tulip family network device support
- DEPENDS:=@PCI_SUPPORT
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- KCONFIG:= \
- CONFIG_NET_TULIP=y \
- CONFIG_DE2104X \
- CONFIG_DE2104X_DSL=0 \
- CONFIG_TULIP \
- CONFIG_TULIP_MWI=y \
- CONFIG_TULIP_MMIO=y \
- CONFIG_TULIP_NAPI=y \
- CONFIG_TULIP_NAPI_HW_MITIGATION=y \
- CONFIG_DE4X5 \
- CONFIG_WINBOND_840 \
- CONFIG_DM9102 \
- CONFIG_ULI526X
- FILES:= \
- $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/tulip.ko \
- $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de2104x.ko \
- $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de4x5.ko \
- $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/dmfe.ko \
- $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/uli526x.ko \
- $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/winbond-840.ko
- AUTOLOAD:=$(call AutoLoad,50,tulip)
-endef
-
-define KernelPackage/tulip/description
- Kernel modules for the Tulip family of network cards,
- including DECchip Tulip, DIGITAL EtherWORKS, Winbond W89c840,
- Davicom DM910x/DM980x and ULi M526x controller support.
-endef
-
-$(eval $(call KernelPackage,tulip))
-
-
-define KernelPackage/solos-pci
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Solos ADSL2+ multiport modem
- DEPENDS:=@PCI_SUPPORT +kmod-atm
- KCONFIG:=CONFIG_ATM_SOLOS
- FILES:=$(LINUX_DIR)/drivers/atm/solos-pci.ko
- AUTOLOAD:=$(call AutoLoad,50,solos-pci)
-endef
-
-define KernelPackage/solos-pci/description
- Kernel module for Traverse Technologies' Solos PCI cards
- and Geos ADSL2+ x86 motherboard.
-endef
-
-$(eval $(call KernelPackage,solos-pci))
-
-define KernelPackage/dummy
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Dummy network device
- KCONFIG:=CONFIG_DUMMY
- FILES:=$(LINUX_DIR)/drivers/net/dummy.ko
- AUTOLOAD:=$(call AutoLoad,34,dummy)
-endef
-
-define KernelPackage/dummy/description
- The dummy network device
-endef
-
-$(eval $(call KernelPackage,dummy))
-
-define KernelPackage/ifb
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Intermediate Functional Block support
- KCONFIG:= \
- CONFIG_IFB \
- CONFIG_NET_CLS=y
- FILES:=$(LINUX_DIR)/drivers/net/ifb.ko
- AUTOLOAD:=$(call AutoLoad,34,ifb)
-endef
-
-define KernelPackage/ifb/description
- The Intermediate Functional Block
-endef
-
-$(eval $(call KernelPackage,ifb))
-
-define KernelPackage/dm9000
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Davicom 9000 Ethernet support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_DM9000 \
- CONFIG_DM9000_DEBUGLEVEL=4 \
- CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL=y
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/davicom/dm9000.ko
- AUTOLOAD:=$(call AutoLoad,34,dm9000)
-endef
-
-define KernelPackage/dm9000/description
- Kernel driver for Davicom 9000 Ethernet adapters.
-endef
-
-$(eval $(call KernelPackage,dm9000))
-
-define KernelPackage/forcedeth
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=nForce Ethernet support
- DEPENDS:=@PCI_SUPPORT
- KCONFIG:=CONFIG_FORCEDETH
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/nvidia/forcedeth.ko
- AUTOLOAD:=$(call AutoLoad,50,forcedeth)
-endef
-
-define KernelPackage/forcedeth/description
- Kernel driver for Nvidia Ethernet support
-endef
-
-$(eval $(call KernelPackage,forcedeth))
-
-define KernelPackage/of-mdio
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=OpenFirmware MDIO support
- DEPENDS:=+kmod-libphy
- KCONFIG:=CONFIG_OF_MDIO
- FILES:=$(LINUX_DIR)/drivers/of/of_mdio.ko
- AUTOLOAD:=$(call AutoLoad,41,of_mdio)
-endef
-
-define KernelPackage/of-mdio/description
- Kernel driver for OpenFirmware MDIO support
-endef
-
-$(eval $(call KernelPackage,of-mdio))
-
-define KernelPackage/fsl-pq-mdio
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Freescale PQ MDIO bus support
- DEPENDS:=@TARGET_mpc85xx +kmod-of-mdio
- KCONFIG:=CONFIG_FSL_PQ_MDIO
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/fsl_pq_mdio.ko
- AUTOLOAD:=$(call AutoLoad,42,fsl_pq_mdio)
-endef
-
-define KernelPackage/fsl-pq-mdio/description
- Kernel driver for the Freescale PQ MDIO bus
-endef
-
-$(eval $(call KernelPackage,fsl-pq-mdio))
-
-
-define KernelPackage/gianfar
- SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Gianfar Ethernet support
- DEPENDS:=@TARGET_mpc85xx +kmod-fsl-pq-mdio
- KCONFIG:=CONFIG_GIANFAR
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_driver.ko
- AUTOLOAD:=$(call AutoLoad,50,gianfar_driver)
-endef
-
-define KernelPackage/gianfar/description
- Kernel driver for Freescale Gianfar Ethernet support
-endef
-
-$(eval $(call KernelPackage,gianfar))
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
deleted file mode 100644
index 4e4c85f45c..0000000000
--- a/package/kernel/modules/netfilter.mk
+++ /dev/null
@@ -1,575 +0,0 @@
-
-#
-# Copyright (C) 2006-2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-NF_MENU:=Netfilter Extensions
-NF_KMOD:=1
-include $(INCLUDE_DIR)/netfilter.mk
-
-define KernelPackage/ipt-core
- SUBMENU:=$(NF_MENU)
- TITLE:=Netfilter core
- KCONFIG:= \
- CONFIG_NETFILTER=y \
- CONFIG_NETFILTER_ADVANCED=y \
- $(KCONFIG_IPT_CORE)
- FILES:=$(foreach mod,$(IPT_CORE-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_CORE-m)))
-endef
-
-define KernelPackage/ipt-core/description
- Netfilter core kernel modules
- Includes:
- - comment
- - limit
- - LOG
- - mac
- - multiport
- - REJECT
- - TCPMSS
-endef
-
-$(eval $(call KernelPackage,ipt-core))
-
-
-define AddDepends/ipt
- SUBMENU:=$(NF_MENU)
- DEPENDS+= kmod-ipt-core $(1)
-endef
-
-
-define KernelPackage/ipt-conntrack
- TITLE:=Basic connection tracking modules
- KCONFIG:=$(KCONFIG_IPT_CONNTRACK)
- FILES:=$(foreach mod,$(IPT_CONNTRACK-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,41,$(notdir $(IPT_CONNTRACK-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-conntrack/description
- Netfilter (IPv4) kernel modules for connection tracking
- Includes:
- - conntrack
- - defrag
- - iptables_raw
- - NOTRACK
- - state
-endef
-
-$(eval $(call KernelPackage,ipt-conntrack))
-
-
-define KernelPackage/ipt-conntrack-extra
- TITLE:=Extra connection tracking modules
- KCONFIG:=$(KCONFIG_IPT_CONNTRACK_EXTRA)
- FILES:=$(foreach mod,$(IPT_CONNTRACK_EXTRA-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,42,$(notdir $(IPT_CONNTRACK_EXTRA-m)))
- $(call AddDepends/ipt,+kmod-ipt-conntrack)
-endef
-
-define KernelPackage/ipt-conntrack-extra/description
- Netfilter (IPv4) extra kernel modules for connection tracking
- Includes:
- - connbytes
- - connmark/CONNMARK
- - conntrack
- - helper
- - recent
-endef
-
-$(eval $(call KernelPackage,ipt-conntrack-extra))
-
-
-define KernelPackage/ipt-filter
- TITLE:=Modules for packet content inspection
- KCONFIG:=$(KCONFIG_IPT_FILTER)
- FILES:=$(foreach mod,$(IPT_FILTER-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_FILTER-m)))
- $(call AddDepends/ipt,+kmod-lib-textsearch)
-endef
-
-define KernelPackage/ipt-filter/description
- Netfilter (IPv4) kernel modules for packet content inspection
- Includes:
- - layer7
- - string
-endef
-
-$(eval $(call KernelPackage,ipt-filter))
-
-
-define KernelPackage/ipt-ipopt
- TITLE:=Modules for matching/changing IP packet options
- KCONFIG:=$(KCONFIG_IPT_IPOPT)
- FILES:=$(foreach mod,$(IPT_IPOPT-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_IPOPT-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-ipopt/description
- Netfilter (IPv4) modules for matching/changing IP packet options
- Includes:
- - CLASSIFY
- - dscp/DSCP
- - ecn/ECN
- - hl/HL
- - length
- - mark/MARK
- - statistic
- - tcpmss
- - time
- - ttl/TTL
- - unclean
-endef
-
-$(eval $(call KernelPackage,ipt-ipopt))
-
-
-define KernelPackage/ipt-ipsec
- TITLE:=Modules for matching IPSec packets
- KCONFIG:=$(KCONFIG_IPT_IPSEC)
- FILES:=$(foreach mod,$(IPT_IPSEC-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_IPSEC-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-ipsec/description
- Netfilter (IPv4) modules for matching IPSec packets
- Includes:
- - ah
- - esp
- - policy
-endef
-
-$(eval $(call KernelPackage,ipt-ipsec))
-
-
-define KernelPackage/ipt-nat
- TITLE:=Basic NAT targets
- KCONFIG:=$(KCONFIG_IPT_NAT)
- FILES:=$(foreach mod,$(IPT_NAT-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,42,$(notdir $(IPT_NAT-m)))
- $(call AddDepends/ipt,+kmod-ipt-conntrack)
-endef
-
-define KernelPackage/ipt-nat/description
- Netfilter (IPv4) kernel modules for basic NAT targets
- Includes:
- - MASQUERADE
-endef
-
-$(eval $(call KernelPackage,ipt-nat))
-
-
-define KernelPackage/ipt-nat-extra
- TITLE:=Extra NAT targets
- KCONFIG:=$(KCONFIG_IPT_NAT_EXTRA)
- FILES:=$(foreach mod,$(IPT_NAT_EXTRA-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,43,$(notdir $(IPT_NAT_EXTRA-m)))
- $(call AddDepends/ipt,+kmod-ipt-nat)
-endef
-
-define KernelPackage/ipt-nat-extra/description
- Netfilter (IPv4) kernel modules for extra NAT targets
- Includes:
- - NETMAP
- - REDIRECT
-endef
-
-$(eval $(call KernelPackage,ipt-nat-extra))
-
-
-define KernelPackage/ipt-nathelper
- TITLE:=Basic Conntrack and NAT helpers
- KCONFIG:=$(KCONFIG_IPT_NATHELPER)
- FILES:=$(foreach mod,$(IPT_NATHELPER-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_NATHELPER-m)))
- $(call AddDepends/ipt,+kmod-ipt-nat)
-endef
-
-define KernelPackage/ipt-nathelper/description
- Default Netfilter (IPv4) Conntrack and NAT helpers
- Includes:
- - ftp
- - irc
- - tftp
-endef
-
-$(eval $(call KernelPackage,ipt-nathelper))
-
-
-define KernelPackage/ipt-nathelper-extra
- TITLE:=Extra Conntrack and NAT helpers
- KCONFIG:=$(KCONFIG_IPT_NATHELPER_EXTRA)
- FILES:=$(foreach mod,$(IPT_NATHELPER_EXTRA-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_NATHELPER_EXTRA-m)))
- $(call AddDepends/ipt,+kmod-ipt-nat +kmod-lib-textsearch)
-endef
-
-define KernelPackage/ipt-nathelper-extra/description
- Extra Netfilter (IPv4) Conntrack and NAT helpers
- Includes:
- - amanda
- - h323
- - mms
- - pptp
- - proto_gre
- - sip
- - snmp_basic
- - broadcast
-endef
-
-$(eval $(call KernelPackage,ipt-nathelper-extra))
-
-
-define KernelPackage/ipt-queue
- TITLE:=Module for user-space packet queueing
- KCONFIG:=$(KCONFIG_IPT_QUEUE)
- DEPENDS:=@!LINUX_3_6
- FILES:=$(foreach mod,$(IPT_QUEUE-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_QUEUE-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-queue/description
- Netfilter (IPv4) module for user-space packet queueing
- Includes:
- - QUEUE
-endef
-
-$(eval $(call KernelPackage,ipt-queue))
-
-
-define KernelPackage/ipt-ulog
- TITLE:=Module for user-space packet logging
- KCONFIG:=$(KCONFIG_IPT_ULOG)
- FILES:=$(foreach mod,$(IPT_ULOG-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_ULOG-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-ulog/description
- Netfilter (IPv4) module for user-space packet logging
- Includes:
- - ULOG
-endef
-
-$(eval $(call KernelPackage,ipt-ulog))
-
-
-define KernelPackage/ipt-debug
- TITLE:=Module for debugging/development
- KCONFIG:=$(KCONFIG_IPT_DEBUG)
- DEFAULT:=n
- FILES:=$(foreach mod,$(IPT_DEBUG-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_DEBUG-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-debug/description
- Netfilter modules for debugging/development of the firewall
- Includes:
- - TRACE
-endef
-
-$(eval $(call KernelPackage,ipt-debug))
-
-
-define KernelPackage/ipt-led
- TITLE:=Module to trigger a LED with a Netfilter rule
- KCONFIG:=$(KCONFIG_IPT_LED)
- FILES:=$(foreach mod,$(IPT_LED-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,61,$(notdir $(IPT_LED-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-led/description
- Netfilter target to trigger a LED when a network packet is matched.
-endef
-
-$(eval $(call KernelPackage,ipt-led))
-
-define KernelPackage/ipt-tproxy
- TITLE:=Transparent proxying support
- DEPENDS+=+IPV6:kmod-ipv6
- KCONFIG:= \
- CONFIG_NETFILTER_TPROXY \
- CONFIG_NETFILTER_XT_MATCH_SOCKET \
- CONFIG_NETFILTER_XT_TARGET_TPROXY
- FILES:= \
- $(LINUX_DIR)/net/netfilter/nf_tproxy_core.ko \
- $(foreach mod,$(IPT_TPROXY-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,50,$(notdir nf_tproxy_core $(IPT_TPROXY-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-tproxy/description
- Kernel modules for Transparent Proxying
-endef
-
-$(eval $(call KernelPackage,ipt-tproxy))
-
-define KernelPackage/ipt-tee
- TITLE:=TEE support
- KCONFIG:= \
- CONFIG_NETFILTER_XT_TARGET_TEE
- FILES:= \
- $(LINUX_DIR)/net/netfilter/xt_TEE.ko \
- $(foreach mod,$(IPT_TEE-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir nf_tee $(IPT_TEE-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-tee/description
- Kernel modules for TEE
-endef
-
-$(eval $(call KernelPackage,ipt-tee))
-
-
-define KernelPackage/ipt-u32
- TITLE:=U32 support
- KCONFIG:= \
- CONFIG_NETFILTER_XT_MATCH_U32
- FILES:= \
- $(LINUX_DIR)/net/netfilter/xt_u32.ko \
- $(foreach mod,$(IPT_U32-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir nf_tee $(IPT_U32-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-u32/description
- Kernel modules for U32
-endef
-
-$(eval $(call KernelPackage,ipt-u32))
-
-
-define KernelPackage/ipt-iprange
- TITLE:=Module for matching ip ranges
- KCONFIG:=$(KCONFIG_IPT_IPRANGE)
- FILES:=$(foreach mod,$(IPT_IPRANGE-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_IPRANGE-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-iprange/description
- Netfilter (IPv4) module for matching ip ranges
- Includes:
- - iprange
-endef
-
-$(eval $(call KernelPackage,ipt-iprange))
-
-
-define KernelPackage/ipt-extra
- TITLE:=Extra modules
- KCONFIG:=$(KCONFIG_IPT_EXTRA)
- FILES:=$(foreach mod,$(IPT_EXTRA-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_EXTRA-m)))
- $(call AddDepends/ipt)
-endef
-
-define KernelPackage/ipt-extra/description
- Other Netfilter (IPv4) kernel modules
- Includes:
- - addrtype
- - owner
- - physdev (if bridge support was enabled in kernel)
- - pkttype
- - quota
-endef
-
-$(eval $(call KernelPackage,ipt-extra))
-
-
-define KernelPackage/ip6tables
- SUBMENU:=$(NF_MENU)
- TITLE:=IPv6 modules
- DEPENDS:=+kmod-ipv6
- KCONFIG:=$(KCONFIG_IPT_IPV6)
- FILES:=$(foreach mod,$(IPT_IPV6-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,49,$(notdir $(IPT_IPV6-m)))
-endef
-
-define KernelPackage/ip6tables/description
- Netfilter IPv6 firewalling support
-endef
-
-$(eval $(call KernelPackage,ip6tables))
-
-ARP_MODULES = arp_tables arpt_mangle arptable_filter
-define KernelPackage/arptables
- SUBMENU:=$(NF_MENU)
- TITLE:=ARP firewalling modules
- FILES:=$(LINUX_DIR)/net/ipv4/netfilter/arp*.ko
- KCONFIG:=CONFIG_IP_NF_ARPTABLES \
- CONFIG_IP_NF_ARPFILTER \
- CONFIG_IP_NF_ARP_MANGLE
- AUTOLOAD:=$(call AutoLoad,49,$(ARP_MODULES))
-endef
-
-define KernelPackage/arptables/description
- Kernel modules for ARP firewalling
-endef
-
-$(eval $(call KernelPackage,arptables))
-
-
-define KernelPackage/ebtables
- SUBMENU:=$(NF_MENU)
- TITLE:=Bridge firewalling modules
- FILES:=$(foreach mod,$(EBTABLES-m),$(LINUX_DIR)/net/$(mod).ko)
- KCONFIG:=CONFIG_BRIDGE_NETFILTER=y \
- $(KCONFIG_EBTABLES)
- AUTOLOAD:=$(call AutoLoad,49,$(notdir $(EBTABLES-m)))
-endef
-
-define KernelPackage/ebtables/description
- ebtables is a general, extensible frame/packet identification
- framework. It provides you to do Ethernet
- filtering/NAT/brouting on the Ethernet bridge.
-endef
-
-$(eval $(call KernelPackage,ebtables))
-
-
-define AddDepends/ebtables
- SUBMENU:=$(NF_MENU)
- DEPENDS+=kmod-ebtables $(1)
-endef
-
-
-define KernelPackage/ebtables-ipv4
- TITLE:=ebtables: IPv4 support
- FILES:=$(foreach mod,$(EBTABLES_IP4-m),$(LINUX_DIR)/net/$(mod).ko)
- KCONFIG:=$(KCONFIG_EBTABLES_IP4)
- AUTOLOAD:=$(call AutoLoad,49,$(notdir $(EBTABLES_IP4-m)))
- $(call AddDepends/ebtables)
-endef
-
-define KernelPackage/ebtables-ipv4/description
- This option adds the IPv4 support to ebtables, which allows basic
- IPv4 header field filtering, ARP filtering as well as SNAT, DNAT targets.
-endef
-
-$(eval $(call KernelPackage,ebtables-ipv4))
-
-
-define KernelPackage/ebtables-ipv6
- TITLE:=ebtables: IPv6 support
- FILES:=$(foreach mod,$(EBTABLES_IP6-m),$(LINUX_DIR)/net/$(mod).ko)
- KCONFIG:=$(KCONFIG_EBTABLES_IP6)
- AUTOLOAD:=$(call AutoLoad,49,$(notdir $(EBTABLES_IP6-m)))
- $(call AddDepends/ebtables)
-endef
-
-define KernelPackage/ebtables-ipv6/description
- This option adds the IPv6 support to ebtables, which allows basic
- IPv6 header field filtering and target support.
-endef
-
-$(eval $(call KernelPackage,ebtables-ipv6))
-
-
-define KernelPackage/ebtables-watchers
- TITLE:=ebtables: watchers support
- FILES:=$(foreach mod,$(EBTABLES_WATCHERS-m),$(LINUX_DIR)/net/$(mod).ko)
- KCONFIG:=$(KCONFIG_EBTABLES_WATCHERS)
- AUTOLOAD:=$(call AutoLoad,49,$(notdir $(EBTABLES_WATCHERS-m)))
- $(call AddDepends/ebtables)
-endef
-
-define KernelPackage/ebtables-watchers/description
- This option adds the log watchers, that you can use in any rule
- in any ebtables table.
-endef
-
-$(eval $(call KernelPackage,ebtables-watchers))
-
-
-define KernelPackage/nfnetlink
- SUBMENU:=$(NF_MENU)
- TITLE:=Netlink-based userspace interface
- DEPENDS:=+kmod-ipt-core
- FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink.ko
- KCONFIG:=CONFIG_NETFILTER_NETLINK
- AUTOLOAD:=$(call AutoLoad,48,nfnetlink)
-endef
-
-define KernelPackage/nfnetlink/description
- Kernel modules support for a netlink-based userspace interface
-endef
-
-$(eval $(call KernelPackage,nfnetlink))
-
-
-define AddDepends/nfnetlink
- SUBMENU:=$(NF_MENU)
- DEPENDS+=+kmod-nfnetlink $(1)
-endef
-
-
-define KernelPackage/nfnetlink-log
- TITLE:=Netfilter LOG over NFNETLINK interface
- FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink_log.ko
- KCONFIG:=CONFIG_NETFILTER_NETLINK_LOG
- AUTOLOAD:=$(call AutoLoad,48,nfnetlink_log)
- $(call AddDepends/nfnetlink)
-endef
-
-define KernelPackage/nfnetlink-log/description
- Kernel modules support for logging packets via NFNETLINK
-endef
-
-$(eval $(call KernelPackage,nfnetlink-log))
-
-
-define KernelPackage/nfnetlink-queue
- TITLE:=Netfilter QUEUE over NFNETLINK interface
- FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink_queue.ko
- KCONFIG:=CONFIG_NETFILTER_NETLINK_QUEUE
- AUTOLOAD:=$(call AutoLoad,48,nfnetlink_queue)
- $(call AddDepends/nfnetlink)
-endef
-
-define KernelPackage/nfnetlink-queue/description
- Kernel modules support for queueing packets via NFNETLINK
-endef
-
-$(eval $(call KernelPackage,nfnetlink-queue))
-
-
-define KernelPackage/nf-conntrack-netlink
- TITLE:=Connection tracking netlink interface
- FILES:=$(LINUX_DIR)/net/netfilter/nf_conntrack_netlink.ko
- KCONFIG:=CONFIG_NF_CT_NETLINK
- AUTOLOAD:=$(call AutoLoad,49,nf_conntrack_netlink)
- $(call AddDepends/nfnetlink,+kmod-ipt-conntrack)
-endef
-
-define KernelPackage/nf-conntrack-netlink/description
- Kernel modules support for a netlink-based connection tracking
- userspace interface
-endef
-
-$(eval $(call KernelPackage,nf-conntrack-netlink))
-
-define KernelPackage/ipt-hashlimit
- SUBMENU:=$(NF_MENU)
- TITLE:=Netfilter hashlimit match
- KCONFIG:=$(KCONFIG_IPT_HASHLIMIT)
- FILES:=$(LINUX_DIR)/net/netfilter/xt_hashlimit.ko
- AUTOLOAD:=$(call AutoLoad,50,xt_hashlimit)
- $(call KernelPackage/ipt)
-endef
-
-define KernelPackage/ipt-hashlimit/description
- Kernel modules support for the hashlimit bucket match module
-endef
-
-$(eval $(call KernelPackage,ipt-hashlimit))
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk
deleted file mode 100644
index ff1f794701..0000000000
--- a/package/kernel/modules/netsupport.mk
+++ /dev/null
@@ -1,908 +0,0 @@
-#
-# Copyright (C) 2006-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-NETWORK_SUPPORT_MENU:=Network Support
-
-define KernelPackage/atm
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=ATM support
- KCONFIG:= \
- CONFIG_ATM \
- CONFIG_ATM_BR2684
- FILES:= \
- $(LINUX_DIR)/net/atm/atm.ko \
- $(LINUX_DIR)/net/atm/br2684.ko
- AUTOLOAD:=$(call AutoLoad,30,atm br2684)
-endef
-
-define KernelPackage/atm/description
- Kernel modules for ATM support
-endef
-
-$(eval $(call KernelPackage,atm))
-
-
-define KernelPackage/atmtcp
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=ATM over TCP
- DEPENDS:=kmod-atm
- KCONFIG:=CONFIG_ATM_TCP CONFIG_ATM_DRIVERS=y
- FILES:=$(LINUX_DIR)/drivers/atm/atmtcp.ko
- AUTOLOAD:=$(call AutoLoad,40,atmtcp)
-endef
-
-define KernelPackage/atmtcp/description
- Kernel module for ATM over TCP support
-endef
-
-$(eval $(call KernelPackage,atmtcp))
-
-
-define KernelPackage/appletalk
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Appletalk protocol support
- KCONFIG:= \
- CONFIG_ATALK \
- CONFIG_DEV_APPLETALK \
- CONFIG_IPDDP \
- CONFIG_IPDDP_ENCAP=y \
- CONFIG_IPDDP_DECAP=y
- FILES:= \
- $(LINUX_DIR)/net/appletalk/appletalk.ko \
- $(LINUX_DIR)/drivers/net/appletalk/ipddp.ko
- AUTOLOAD:=$(call AutoLoad,40,appletalk ipddp)
-endef
-
-define KernelPackage/appletalk/description
- Kernel module for AppleTalk protocol.
-endef
-
-$(eval $(call KernelPackage,appletalk))
-
-
-define KernelPackage/bonding
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Ethernet bonding driver
- KCONFIG:=CONFIG_BONDING
- FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.ko
- AUTOLOAD:=$(call AutoLoad,40,bonding)
-endef
-
-define KernelPackage/bonding/description
- Kernel module for NIC bonding.
-endef
-
-$(eval $(call KernelPackage,bonding))
-
-
-define KernelPackage/bridge
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Ethernet bridging support
- DEPENDS:=+kmod-stp
- KCONFIG:= \
- CONFIG_BRIDGE \
- CONFIG_BRIDGE_IGMP_SNOOPING=y
- FILES:=$(LINUX_DIR)/net/bridge/bridge.ko
- AUTOLOAD:=$(call AutoLoad,11,bridge)
-endef
-
-define KernelPackage/bridge/description
- Kernel module for Ethernet bridging.
-endef
-
-$(eval $(call KernelPackage,bridge))
-
-define KernelPackage/llc
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=ANSI/IEEE 802.2 LLC support
- KCONFIG:=CONFIG_LLC
- FILES:=$(LINUX_DIR)/net/llc/llc.ko
- AUTOLOAD:=$(call AutoLoad,09,llc)
-endef
-
-define KernelPackage/llc/description
- Kernel module for ANSI/IEEE 802.2 LLC support.
-endef
-
-$(eval $(call KernelPackage,llc))
-
-define KernelPackage/stp
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Ethernet Spanning Tree Protocol support
- DEPENDS:=+kmod-llc
- KCONFIG:=CONFIG_STP
- FILES:=$(LINUX_DIR)/net/802/stp.ko
- AUTOLOAD:=$(call AutoLoad,10,stp)
-endef
-
-define KernelPackage/stp/description
- Kernel module for Ethernet Spanning Tree Protocol support.
-endef
-
-$(eval $(call KernelPackage,stp))
-
-define KernelPackage/8021q
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=802.1Q VLAN support
- KCONFIG:=CONFIG_VLAN_8021Q \
- CONFIG_VLAN_8021Q_GVRP=n
- FILES:=$(LINUX_DIR)/net/8021q/8021q.ko
- AUTOLOAD:=$(call AutoLoad,12,8021q)
-endef
-
-define KernelPackage/8021q/description
- Kernel module for 802.1Q VLAN support
-endef
-
-$(eval $(call KernelPackage,8021q))
-
-
-define KernelPackage/capi
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=CAPI (ISDN) Support
- KCONFIG:= \
- CONFIG_ISDN_CAPI \
- CONFIG_ISDN_CAPI_CAPI20 \
- CONFIG_ISDN_CAPIFS \
- CONFIG_ISDN_CAPI_CAPIFS
- FILES:= \
- $(LINUX_DIR)/drivers/isdn/capi/kernelcapi.ko \
- $(LINUX_DIR)/drivers/isdn/capi/capi.ko
- AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
-endef
-
-define KernelPackage/capi/description
- Kernel module for basic CAPI (ISDN) support
-endef
-
-$(eval $(call KernelPackage,capi))
-
-define KernelPackage/misdn
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=mISDN (ISDN) Support
- KCONFIG:= \
- CONFIG_ISDN=y \
- CONFIG_MISDN \
- CONFIG_MISDN_DSP \
- CONFIG_MISDN_L1OIP
- FILES:= \
- $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_core.ko \
- $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_dsp.ko \
- $(LINUX_DIR)/drivers/isdn/mISDN/l1oip.ko
- AUTOLOAD:=$(call AutoLoad,30,mISDN_core mISDN_dsp l1oip)
-endef
-
-define KernelPackage/misdn/description
- Modular ISDN driver support
-endef
-
-$(eval $(call KernelPackage,misdn))
-
-
-define KernelPackage/isdn4linux
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Old ISDN4Linux (deprecated)
- KCONFIG:= \
- CONFIG_ISDN=y \
- CONFIG_ISDN_I4L \
- CONFIG_ISDN_PPP=y \
- CONFIG_ISDN_PPP_VJ=y \
- CONFIG_ISDN_MPP=y \
- CONFIG_IPPP_FILTER=y \
- CONFIG_ISDN_PPP_BSDCOMP \
- CONFIG_ISDN_CAPI_MIDDLEWARE=y \
- CONFIG_ISDN_CAPI_CAPIFS_BOOL=y \
- CONFIG_ISDN_AUDIO=y \
- CONFIG_ISDN_TTY_FAX=y \
- CONFIG_ISDN_X25=y \
- CONFIG_ISDN_DIVERSION
- FILES:= \
- $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.ko \
- $(LINUX_DIR)/drivers/isdn/i4l/isdn.ko \
- $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.ko
- AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert)
-endef
-
-define KernelPackage/isdn4linux/description
- This driver allows you to use an ISDN adapter for networking
-endef
-
-$(eval $(call KernelPackage,isdn4linux))
-
-
-define KernelPackage/ipip
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=IP-in-IP encapsulation
- DEPENDS:=+kmod-iptunnel4
- KCONFIG:=CONFIG_NET_IPIP
- FILES:=$(LINUX_DIR)/net/ipv4/ipip.ko
- AUTOLOAD:=$(call AutoLoad,32,ipip)
-endef
-
-define KernelPackage/ipip/description
- Kernel modules for IP-in-IP encapsulation
-endef
-
-$(eval $(call KernelPackage,ipip))
-
-
-IPSEC-m:= \
- $(if $(CONFIG_LINUX_3_3),,xfrm/xfrm_algo) \
- xfrm/xfrm_ipcomp \
- xfrm/xfrm_user \
- key/af_key \
-
-define KernelPackage/ipsec
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=IPsec related modules (IPv4 and IPv6)
- DEPENDS:=+kmod-crypto-authenc +kmod-crypto-iv +kmod-crypto-des +kmod-crypto-hmac +kmod-crypto-md5 +kmod-crypto-sha1 +kmod-crypto-deflate +kmod-crypto-cbc
- KCONFIG:= \
- CONFIG_NET_KEY \
- CONFIG_XFRM_USER \
- CONFIG_INET_IPCOMP \
- CONFIG_XFRM_IPCOMP
- FILES:=$(foreach mod,$(IPSEC-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,30,$(notdir $(IPSEC-m)))
-endef
-
-define KernelPackage/ipsec/description
- Kernel modules for IPsec support in both IPv4 and IPv6.
- Includes:
- - af_key
- - xfrm_ipcomp
- - xfrm_user
-endef
-
-$(eval $(call KernelPackage,ipsec))
-
-
-IPSEC4-m:= \
- ipv4/ah4 \
- ipv4/esp4 \
- ipv4/xfrm4_mode_beet \
- ipv4/xfrm4_mode_transport \
- ipv4/xfrm4_mode_tunnel \
- ipv4/xfrm4_tunnel \
- ipv4/ipcomp \
-
-define KernelPackage/ipsec4
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=IPsec related modules (IPv4)
- DEPENDS:=kmod-ipsec +kmod-iptunnel4
- KCONFIG:= \
- CONFIG_INET_AH \
- CONFIG_INET_ESP \
- CONFIG_INET_IPCOMP \
- CONFIG_INET_XFRM_MODE_BEET \
- CONFIG_INET_XFRM_MODE_TRANSPORT \
- CONFIG_INET_XFRM_MODE_TUNNEL \
- CONFIG_INET_XFRM_TUNNEL
- FILES:=$(foreach mod,$(IPSEC4-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC4-m)))
-endef
-
-define KernelPackage/ipsec4/description
- Kernel modules for IPsec support in IPv4.
- Includes:
- - ah4
- - esp4
- - ipcomp4
- - xfrm4_mode_beet
- - xfrm4_mode_transport
- - xfrm4_mode_tunnel
- - xfrm4_tunnel
-endef
-
-$(eval $(call KernelPackage,ipsec4))
-
-
-IPSEC6-m:= \
- ipv6/ah6 \
- ipv6/esp6 \
- ipv6/xfrm6_mode_beet \
- ipv6/xfrm6_mode_transport \
- ipv6/xfrm6_mode_tunnel \
- ipv6/xfrm6_tunnel \
- ipv6/ipcomp6 \
-
-define KernelPackage/ipsec6
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=IPsec related modules (IPv6)
- DEPENDS:=kmod-ipsec +kmod-iptunnel6
- KCONFIG:= \
- CONFIG_INET6_AH \
- CONFIG_INET6_ESP \
- CONFIG_INET6_IPCOMP \
- CONFIG_INET6_XFRM_MODE_BEET \
- CONFIG_INET6_XFRM_MODE_TRANSPORT \
- CONFIG_INET6_XFRM_MODE_TUNNEL \
- CONFIG_INET6_XFRM_TUNNEL
- FILES:=$(foreach mod,$(IPSEC6-m),$(LINUX_DIR)/net/$(mod).ko)
- AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC6-m)))
-endef
-
-define KernelPackage/ipsec6/description
- Kernel modules for IPsec support in IPv6.
- Includes:
- - ah6
- - esp6
- - ipcomp6
- - xfrm6_mode_beet
- - xfrm6_mode_transport
- - xfrm6_mode_tunnel
- - xfrm6_tunnel
-endef
-
-$(eval $(call KernelPackage,ipsec6))
-
-
-# NOTE: tunnel4 is not selectable by itself, so enable ipip for that
-define KernelPackage/iptunnel4
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=IPv4 tunneling
- KCONFIG:= \
- CONFIG_NET_IPIP \
- CONFIG_INET_TUNNEL
- FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.ko
- AUTOLOAD:=$(call AutoLoad,31,tunnel4)
-endef
-
-define KernelPackage/iptunnel4/description
- Kernel modules for IPv4 tunneling
-endef
-
-$(eval $(call KernelPackage,iptunnel4))
-
-
-define KernelPackage/iptunnel6
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=IPv6 tunneling
- DEPENDS:= +kmod-ipv6
- KCONFIG:= \
- CONFIG_INET6_TUNNEL
- FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.ko
- AUTOLOAD:=$(call AutoLoad,31,tunnel6)
-endef
-
-define KernelPackage/iptunnel6/description
- Kernel modules for IPv6 tunneling
-endef
-
-$(eval $(call KernelPackage,iptunnel6))
-
-
-define KernelPackage/ipv6
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=IPv6 support
- KCONFIG:= \
- CONFIG_IPV6 \
- CONFIG_IPV6_PRIVACY=y \
- CONFIG_IPV6_MULTIPLE_TABLES=y \
- CONFIG_IPV6_MROUTE=y \
- CONFIG_IPV6_PIMSM_V2=n \
- CONFIG_IPV6_SUBTREES=y
- FILES:=$(LINUX_DIR)/net/ipv6/ipv6.ko
- AUTOLOAD:=$(call AutoLoad,20,ipv6)
-endef
-
-define KernelPackage/ipv6/description
- Kernel modules for IPv6 support
-endef
-
-$(eval $(call KernelPackage,ipv6))
-
-
-define KernelPackage/sit
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- DEPENDS:=+kmod-ipv6 +kmod-iptunnel4
- TITLE:=IPv6-in-IPv4 tunnel
- KCONFIG:=CONFIG_IPV6_SIT \
- CONFIG_IPV6_SIT_6RD=y
- FILES:=$(LINUX_DIR)/net/ipv6/sit.ko
- AUTOLOAD:=$(call AutoLoad,32,sit)
-endef
-
-define KernelPackage/sit/description
- Kernel modules for IPv6-in-IPv4 tunnelling
-endef
-
-$(eval $(call KernelPackage,sit))
-
-
-define KernelPackage/ip6-tunnel
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=IP-in-IPv6 tunnelling
- DEPENDS:= +kmod-ipv6 +kmod-iptunnel6
- KCONFIG:= CONFIG_IPV6_TUNNEL
- FILES:=$(LINUX_DIR)/net/ipv6/ip6_tunnel.ko
- AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
-endef
-
-define KernelPackage/ip6-tunnel/description
- Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
-endef
-
-$(eval $(call KernelPackage,ip6-tunnel))
-
-
-define KernelPackage/gre
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=GRE support
- DEPENDS:=+PACKAGE_kmod-ipv6:kmod-ipv6
- KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
- FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
- AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
-endef
-
-define KernelPackage/gre/description
- Generic Routing Encapsulation support
-endef
-
-$(eval $(call KernelPackage,gre))
-
-
-define KernelPackage/gre6
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=GRE support over IPV6
- DEPENDS:=+kmod-ipv6 +kmod-ip6-tunnel @!LINUX_3_3 @!LINUX_3_6
- KCONFIG:=CONFIG_IPV6_GRE
- FILES:=$(LINUX_DIR)/net/ipv6/ip6_gre.ko
- AUTOLOAD:=$(call AutoLoad,39,ip6_gre)
-endef
-
-define KernelPackage/gre6/description
- Generic Routing Encapsulation support over IPv6
-endef
-
-$(eval $(call KernelPackage,gre6))
-
-
-define KernelPackage/tun
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Universal TUN/TAP driver
- KCONFIG:=CONFIG_TUN
- FILES:=$(LINUX_DIR)/drivers/net/tun.ko
- AUTOLOAD:=$(call AutoLoad,30,tun)
-endef
-
-define KernelPackage/tun/description
- Kernel support for the TUN/TAP tunneling device
-endef
-
-$(eval $(call KernelPackage,tun))
-
-
-define KernelPackage/veth
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Virtual ethernet pair device
- KCONFIG:=CONFIG_VETH
- FILES:=$(LINUX_DIR)/drivers/net/veth.ko
- AUTOLOAD:=$(call AutoLoad,30,veth)
-endef
-
-define KernelPackage/veth/description
- This device is a local ethernet tunnel. Devices are created in pairs.
- When one end receives the packet it appears on its pair and vice
- versa.
-endef
-
-$(eval $(call KernelPackage,veth))
-
-
-define KernelPackage/ppp
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=PPP modules
- DEPENDS:=+kmod-lib-crc-ccitt
- KCONFIG:= \
- CONFIG_PPP \
- CONFIG_PPP_ASYNC \
- CONFIG_SLHC
- FILES:= \
- $(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
- $(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko \
- $(LINUX_DIR)/drivers/net/slip/slhc.ko
- AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
-endef
-
-define KernelPackage/ppp/description
- Kernel modules for PPP support
-endef
-
-$(eval $(call KernelPackage,ppp))
-
-
-define KernelPackage/ppp-synctty
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=PPP sync tty support
- DEPENDS:=kmod-ppp
- KCONFIG:=CONFIG_PPP_SYNC_TTY
- FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_synctty.ko
- AUTOLOAD:=$(call AutoLoad,40,ppp_synctty)
-endef
-
-define KernelPackage/ppp-synctty/description
- Kernel modules for PPP sync tty support
-endef
-
-$(eval $(call KernelPackage,ppp-synctty))
-
-
-define KernelPackage/pppox
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=PPPoX helper
- DEPENDS:=kmod-ppp
- KCONFIG:=CONFIG_PPPOE
- FILES:=$(LINUX_DIR)/drivers/net/ppp/pppox.ko
- AUTOLOAD:=$(call AutoLoad,40,pppox)
-endef
-
-define KernelPackage/pppox/description
- Kernel helper module for PPPoE and PPTP support
-endef
-
-$(eval $(call KernelPackage,pppox))
-
-
-define KernelPackage/pppoe
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=PPPoE support
- DEPENDS:=kmod-ppp +kmod-pppox
- KCONFIG:=CONFIG_PPPOE
- FILES:=$(LINUX_DIR)/drivers/net/ppp/pppoe.ko
- AUTOLOAD:=$(call AutoLoad,41,pppoe)
-endef
-
-define KernelPackage/pppoe/description
- Kernel module for PPPoE (PPP over Ethernet) support
-endef
-
-$(eval $(call KernelPackage,pppoe))
-
-
-define KernelPackage/pppoa
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=PPPoA support
- DEPENDS:=kmod-ppp +kmod-atm
- KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
- FILES:=$(LINUX_DIR)/net/atm/pppoatm.ko
- AUTOLOAD:=$(call AutoLoad,40,pppoatm)
-endef
-
-define KernelPackage/pppoa/description
- Kernel modules for PPPoA (PPP over ATM) support
-endef
-
-$(eval $(call KernelPackage,pppoa))
-
-
-define KernelPackage/pptp
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=PPtP support
- DEPENDS:=kmod-ppp +kmod-gre +kmod-pppox
- KCONFIG:=CONFIG_PPTP
- FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
- AUTOLOAD:=$(call AutoLoad,41,pptp)
-endef
-
-$(eval $(call KernelPackage,pptp))
-
-
-define KernelPackage/pppol2tp
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=PPPoL2TP support
- DEPENDS:=kmod-ppp +kmod-pppox +kmod-l2tp
- KCONFIG:=CONFIG_PPPOL2TP
- FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko
- AUTOLOAD:=$(call AutoLoad,41,l2tp_ppp)
-endef
-
-define KernelPackage/pppol2tp/description
- Kernel modules for PPPoL2TP (PPP over L2TP) support
-endef
-
-$(eval $(call KernelPackage,pppol2tp))
-
-
-define KernelPackage/ipoa
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=IPoA support
- DEPENDS:=kmod-atm
- KCONFIG:=CONFIG_ATM_CLIP
- FILES:=$(LINUX_DIR)/net/atm/clip.ko
- AUTOLOAD:=$(call AutoLoad,40,clip)
-endef
-
-define KernelPackage/ipoa/description
- Kernel modules for IPoA (IP over ATM) support
-endef
-
-$(eval $(call KernelPackage,ipoa))
-
-
-define KernelPackage/mppe
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Microsoft PPP compression/encryption
- DEPENDS:=kmod-ppp +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-sha1 +kmod-crypto-ecb
- KCONFIG:= \
- CONFIG_PPP_MPPE_MPPC \
- CONFIG_PPP_MPPE
- FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_mppe.ko
- AUTOLOAD:=$(call AutoLoad,31,ppp_mppe)
-endef
-
-define KernelPackage/mppe/description
- Kernel modules for Microsoft PPP compression/encryption
-endef
-
-$(eval $(call KernelPackage,mppe))
-
-
-SCHED_MODULES = $(patsubst $(LINUX_DIR)/net/sched/%.ko,%,$(wildcard $(LINUX_DIR)/net/sched/*.ko))
-SCHED_MODULES_CORE = sch_ingress sch_codel sch_fq_codel sch_hfsc cls_fw cls_route cls_flow cls_tcindex cls_u32 em_u32 act_mirred act_skbedit
-SCHED_MODULES_FILTER = $(SCHED_MODULES_CORE) act_connmark sch_esfq
-SCHED_MODULES_EXTRA = $(filter-out $(SCHED_MODULES_FILTER),$(SCHED_MODULES))
-SCHED_FILES = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(filter $(SCHED_MODULES_CORE),$(SCHED_MODULES)))
-SCHED_FILES_EXTRA = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_EXTRA))
-
-define KernelPackage/sched-core
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Traffic schedulers
- KCONFIG:= \
- CONFIG_NET_SCHED=y \
- CONFIG_NET_SCH_HFSC \
- CONFIG_NET_SCH_INGRESS \
- CONFIG_NET_SCH_CODEL \
- CONFIG_NET_SCH_FQ_CODEL \
- CONFIG_NET_CLS=y \
- CONFIG_NET_CLS_ACT=y \
- CONFIG_NET_CLS_FLOW \
- CONFIG_NET_CLS_FW \
- CONFIG_NET_CLS_ROUTE4 \
- CONFIG_NET_CLS_TCINDEX \
- CONFIG_NET_CLS_U32 \
- CONFIG_NET_ACT_MIRRED \
- CONFIG_NET_ACT_SKBEDIT \
- CONFIG_NET_EMATCH=y \
- CONFIG_NET_EMATCH_U32
- FILES:=$(SCHED_FILES)
- AUTOLOAD:=$(call AutoLoad,70, $(SCHED_MODULES_CORE))
-endef
-
-define KernelPackage/sched-core/description
- Core kernel scheduler support for IP traffic
-endef
-
-$(eval $(call KernelPackage,sched-core))
-
-
-define KernelPackage/sched-connmark
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Traffic shaper conntrack mark support
- DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack-extra
- KCONFIG:=CONFIG_NET_ACT_CONNMARK
- FILES:=$(LINUX_DIR)/net/sched/act_connmark.ko
- AUTOLOAD:=$(call AutoLoad,71, act_connmark)
-endef
-$(eval $(call KernelPackage,sched-connmark))
-
-define KernelPackage/sched-esfq
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Traffic shaper ESFQ support
- DEPENDS:=+kmod-sched-core +kmod-ipt-core
- KCONFIG:= \
- CONFIG_NET_SCH_ESFQ \
- CONFIG_NET_SCH_ESFQ_NFCT=y
- FILES:=$(LINUX_DIR)/net/sched/sch_esfq.ko
- AUTOLOAD:=$(call AutoLoad,72, sch_esfq)
-endef
-$(eval $(call KernelPackage,sched-esfq))
-
-define KernelPackage/sched
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Extra traffic schedulers
- DEPENDS:=+kmod-sched-core
- KCONFIG:= \
- CONFIG_NET_SCH_DSMARK \
- CONFIG_NET_SCH_HTB \
- CONFIG_NET_SCH_FIFO \
- CONFIG_NET_SCH_GRED \
- CONFIG_NET_SCH_PRIO \
- CONFIG_NET_SCH_RED \
- CONFIG_NET_SCH_TBF \
- CONFIG_NET_SCH_SFQ \
- CONFIG_NET_SCH_TEQL \
- CONFIG_NET_CLS_BASIC \
- CONFIG_NET_ACT_POLICE \
- CONFIG_NET_ACT_IPT \
- CONFIG_NET_EMATCH_CMP \
- CONFIG_NET_EMATCH_NBYTE \
- CONFIG_NET_EMATCH_META \
- CONFIG_NET_EMATCH_TEXT
- FILES:=$(SCHED_FILES_EXTRA)
- AUTOLOAD:=$(call AutoLoad,73, $(SCHED_MODULES_EXTRA))
-endef
-
-define KernelPackage/sched/description
- Extra kernel schedulers modules for IP traffic
-endef
-
-$(eval $(call KernelPackage,sched))
-
-
-define KernelPackage/ax25
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=AX25 support
- KCONFIG:= \
- CONFIG_AX25 \
- CONFIG_MKISS
- FILES:= \
- $(LINUX_DIR)/net/ax25/ax25.ko \
- $(LINUX_DIR)/drivers/net/hamradio/mkiss.ko
- AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
- $(call AddDepends/crc16)
-endef
-
-define KernelPackage/ax25/description
- Kernel modules for AX25 support
-endef
-
-$(eval $(call KernelPackage,ax25))
-
-
-define KernelPackage/mp-alg
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=ECMP caching algorithms
- KCONFIG:= \
- CONFIG_IP_ROUTE_MULTIPATH_RR \
- CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
- CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
- CONFIG_IP_ROUTE_MULTIPATH_DRR
- FILES:= \
- $(LINUX_DIR)/net/ipv4/multipath_rr.ko \
- $(LINUX_DIR)/net/ipv4/multipath_random.ko \
- $(LINUX_DIR)/net/ipv4/multipath_wrandom.ko \
- $(LINUX_DIR)/net/ipv4/multipath_drr.ko
- AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
-endef
-
-define KernelPackage/mp-alg/description
- Kernel modules that provide several different algorithms for multipath
- route selection from the route cache. The iproute "mpath" argument allows
- specifying which algorithm to use for routes.
- quagga (at least <=0.99.6) requires a multipath patch to support this
- cached mp route feature.
-endef
-
-$(eval $(call KernelPackage,mp-alg))
-
-
-define KernelPackage/pktgen
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- DEPENDS:=@!TARGET_uml
- TITLE:=Network packet generator
- KCONFIG:=CONFIG_NET_PKTGEN
- FILES:=$(LINUX_DIR)/net/core/pktgen.ko
- AUTOLOAD:=$(call AutoLoad,99,pktgen)
-endef
-
-define KernelPackage/pktgen/description
- Kernel modules for the Network Packet Generator
-endef
-
-$(eval $(call KernelPackage,pktgen))
-
-define KernelPackage/l2tp
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Layer Two Tunneling Protocol (L2TP)
- KCONFIG:=CONFIG_L2TP \
- CONFIG_L2TP_V3=y \
- CONFIG_L2TP_DEBUGFS=n
- FILES:=$(LINUX_DIR)/net/l2tp/l2tp_core.ko \
- $(LINUX_DIR)/net/l2tp/l2tp_netlink.ko
- AUTOLOAD:=$(call AutoLoad,32,l2tp_core l2tp_netlink)
-endef
-
-define KernelPackage/l2tp/description
- Kernel modules for L2TP V3 Support
-endef
-
-$(eval $(call KernelPackage,l2tp))
-
-
-define KernelPackage/l2tp-eth
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=L2TP ethernet pseudowire support for L2TPv3
- DEPENDS:=+kmod-l2tp
- KCONFIG:=CONFIG_L2TP_ETH
- FILES:=$(LINUX_DIR)/net/l2tp/l2tp_eth.ko
- AUTOLOAD:=$(call AutoLoad,33,l2tp_eth)
-endef
-
-define KernelPackage/l2tp-eth/description
- Kernel modules for L2TP ethernet pseudowire support for L2TPv3
-endef
-
-$(eval $(call KernelPackage,l2tp-eth))
-
-define KernelPackage/l2tp-ip
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=L2TP IP encapsulation for L2TPv3
- DEPENDS:=+kmod-l2tp
- KCONFIG:=CONFIG_L2TP_IP
- FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ip.ko
- AUTOLOAD:=$(call AutoLoad,33,l2tp_ip)
-endef
-
-define KernelPackage/l2tp-ip/description
- Kernel modules for L2TP IP encapsulation for L2TPv3
-endef
-
-$(eval $(call KernelPackage,l2tp-ip))
-
-
-define KernelPackage/sctp
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=SCTP protocol kernel support
- KCONFIG:=\
- CONFIG_IP_SCTP \
- CONFIG_SCTP_DBG_MSG=n \
- CONFIG_SCTP_DBG_OBJCNT=n \
- CONFIG_SCTP_HMAC_NONE=n \
- CONFIG_SCTP_HMAC_SHA1=n \
- CONFIG_SCTP_HMAC_MD5=y \
- CONFIG_SCTP_COOKIE_HMAC_SHA1=n \
- CONFIG_SCTP_COOKIE_HMAC_MD5=y \
- CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE=n \
- CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=n \
- CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
- FILES:= $(LINUX_DIR)/net/sctp/sctp.ko
- AUTOLOAD:= $(call AutoLoad,32,sctp)
- DEPENDS:=+kmod-lib-crc32c +kmod-crypto-md5 +kmod-crypto-hmac
-endef
-
-define KernelPackage/sctp/description
- Kernel modules for SCTP protocol support
-endef
-
-$(eval $(call KernelPackage,sctp))
-
-
-define KernelPackage/netem
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Network emulation functionality
- DEPENDS:=+kmod-sched
- KCONFIG:=CONFIG_NET_SCH_NETEM
- FILES:=$(LINUX_DIR)/net/sched/sch_netem.ko
- AUTOLOAD:=$(call AutoLoad,99,netem)
-endef
-
-define KernelPackage/netem/description
- Kernel modules for emulating the properties of wide area networks
-endef
-
-$(eval $(call KernelPackage,netem))
-
-define KernelPackage/slip
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=SLIP modules
- KCONFIG:= \
- CONFIG_SLIP \
- CONFIG_SLIP_COMPRESSED=y \
- CONFIG_SLIP_SMART=y \
- CONFIG_SLIP_MODE_SLIP6=y
-
- FILES:= \
- $(LINUX_DIR)/drivers/net/slip/slip.ko
- AUTOLOAD:=$(call AutoLoad,30,slip)
-endef
-
-define KernelPackage/slip/description
- Kernel modules for SLIP support
-endef
-
-$(eval $(call KernelPackage,slip))
-
diff --git a/package/kernel/modules/nls.mk b/package/kernel/modules/nls.mk
deleted file mode 100644
index 28791b6b7b..0000000000
--- a/package/kernel/modules/nls.mk
+++ /dev/null
@@ -1,228 +0,0 @@
-#
-# Copyright (C) 2006-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define KernelPackage/nls-base
- SUBMENU:=Native Language Support
- TITLE:=Native Language Support
- KCONFIG:=CONFIG_NLS
- FILES:=$(LINUX_DIR)/fs/nls/nls_base.ko
- AUTOLOAD:=$(call AutoLoad,20,nls_base,1)
-endef
-
-define KernelPackage/nls-base/description
- Kernel module for NLS (Native Language Support)
-endef
-
-$(eval $(call KernelPackage,nls-base))
-
-
-define KernelPackage/nls-cp437
- SUBMENU:=Native Language Support
- TITLE:=Codepage 437 (United States, Canada)
- KCONFIG:=CONFIG_NLS_CODEPAGE_437
- FILES:=$(LINUX_DIR)/fs/nls/nls_cp437.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_cp437)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-cp437/description
- Kernel module for NLS Codepage 437 (United States, Canada)
-endef
-
-$(eval $(call KernelPackage,nls-cp437))
-
-
-define KernelPackage/nls-cp775
- SUBMENU:=Native Language Support
- TITLE:=Codepage 775 (Baltic Rim)
- KCONFIG:=CONFIG_NLS_CODEPAGE_775
- FILES:=$(LINUX_DIR)/fs/nls/nls_cp775.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_cp775)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-cp775/description
- Kernel module for NLS Codepage 775 (Baltic Rim)
-endef
-
-$(eval $(call KernelPackage,nls-cp775))
-
-
-define KernelPackage/nls-cp850
- SUBMENU:=Native Language Support
- TITLE:=Codepage 850 (Europe)
- KCONFIG:=CONFIG_NLS_CODEPAGE_850
- FILES:=$(LINUX_DIR)/fs/nls/nls_cp850.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_cp850)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-cp850/description
- Kernel module for NLS Codepage 850 (Europe)
-endef
-
-$(eval $(call KernelPackage,nls-cp850))
-
-
-define KernelPackage/nls-cp852
- SUBMENU:=Native Language Support
- TITLE:=Codepage 852 (Europe)
- KCONFIG:=CONFIG_NLS_CODEPAGE_852
- FILES:=$(LINUX_DIR)/fs/nls/nls_cp852.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_cp852)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-cp852/description
- Kernel module for NLS Codepage 852 (Europe)
-endef
-
-$(eval $(call KernelPackage,nls-cp852))
-
-
-define KernelPackage/nls-cp866
- SUBMENU:=Native Language Support
- TITLE:=Codepage 866 (Cyrillic)
- KCONFIG:=CONFIG_NLS_CODEPAGE_866
- FILES:=$(LINUX_DIR)/fs/nls/nls_cp866.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_cp866)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-cp866/description
- Kernel module for NLS Codepage 866 (Cyrillic)
-endef
-
-$(eval $(call KernelPackage,nls-cp866))
-
-
-define KernelPackage/nls-cp1250
- SUBMENU:=Native Language Support
- TITLE:=Codepage 1250 (Eastern Europe)
- KCONFIG:=CONFIG_NLS_CODEPAGE_1250
- FILES:=$(LINUX_DIR)/fs/nls/nls_cp1250.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_cp1250)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-cp1250/description
- Kernel module for NLS Codepage 1250 (Eastern Europe)
-endef
-
-$(eval $(call KernelPackage,nls-cp1250))
-
-
-define KernelPackage/nls-cp1251
- SUBMENU:=Native Language Support
- TITLE:=Codepage 1251 (Russian)
- KCONFIG:=CONFIG_NLS_CODEPAGE_1251
- FILES:=$(LINUX_DIR)/fs/nls/nls_cp1251.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_cp1251)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-cp1251/description
- Kernel module for NLS Codepage 1251 (Russian)
-endef
-
-$(eval $(call KernelPackage,nls-cp1251))
-
-
-define KernelPackage/nls-iso8859-1
- SUBMENU:=Native Language Support
- TITLE:=ISO 8859-1 (Latin 1; Western European Languages)
- KCONFIG:=CONFIG_NLS_ISO8859_1
- FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-1.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-1)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-iso8859-1/description
- Kernel module for NLS ISO 8859-1 (Latin 1)
-endef
-
-$(eval $(call KernelPackage,nls-iso8859-1))
-
-
-define KernelPackage/nls-iso8859-2
- SUBMENU:=Native Language Support
- TITLE:=ISO 8859-2 (Latin 2; Central European Languages)
- KCONFIG:=CONFIG_NLS_ISO8859_2
- FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-2.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-2)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-iso8859-2/description
- Kernel module for NLS ISO 8859-2 (Latin 2)
-endef
-
-$(eval $(call KernelPackage,nls-iso8859-2))
-
-
-define KernelPackage/nls-iso8859-13
- SUBMENU:=Native Language Support
- TITLE:=ISO 8859-13 (Latin 7; Baltic)
- KCONFIG:=CONFIG_NLS_ISO8859_13
- FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-13.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-13)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-iso8859-13/description
- Kernel module for NLS ISO 8859-13 (Latin 7; Baltic)
-endef
-
-$(eval $(call KernelPackage,nls-iso8859-13))
-
-
-define KernelPackage/nls-iso8859-15
- SUBMENU:=Native Language Support
- TITLE:=ISO 8859-15 (Latin 9; Western, with Euro symbol)
- KCONFIG:=CONFIG_NLS_ISO8859_15
- FILES:=$(LINUX_DIR)/fs/nls/nls_iso8859-15.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_iso8859-15)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-iso8859-15/description
- Kernel module for NLS ISO 8859-15 (Latin 9)
-endef
-
-$(eval $(call KernelPackage,nls-iso8859-15))
-
-
-define KernelPackage/nls-koi8r
- SUBMENU:=Native Language Support
- TITLE:=KOI8-R (Russian)
- KCONFIG:=CONFIG_NLS_KOI8_R
- FILES:=$(LINUX_DIR)/fs/nls/nls_koi8-r.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_koi8-r)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-koi8r/description
- Kernel module for NLS KOI8-R (Russian)
-endef
-
-$(eval $(call KernelPackage,nls-koi8r))
-
-
-define KernelPackage/nls-utf8
- SUBMENU:=Native Language Support
- TITLE:=UTF-8
- KCONFIG:=CONFIG_NLS_UTF8
- FILES:=$(LINUX_DIR)/fs/nls/nls_utf8.ko
- AUTOLOAD:=$(call AutoLoad,25,nls_utf8)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/nls-utf8/description
- Kernel module for NLS UTF-8
-endef
-
-$(eval $(call KernelPackage,nls-utf8))
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
deleted file mode 100644
index aa16c142eb..0000000000
--- a/package/kernel/modules/other.mk
+++ /dev/null
@@ -1,686 +0,0 @@
-#
-# Copyright (C) 2006-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-OTHER_MENU:=Other modules
-
-WATCHDOG_DIR:=watchdog
-
-
-define KernelPackage/bluetooth
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Bluetooth support
- DEPENDS:=@USB_SUPPORT +kmod-usb-core
- KCONFIG:= \
- CONFIG_BLUEZ \
- CONFIG_BLUEZ_L2CAP \
- CONFIG_BLUEZ_SCO \
- CONFIG_BLUEZ_RFCOMM \
- CONFIG_BLUEZ_BNEP \
- CONFIG_BLUEZ_HCIUART \
- CONFIG_BLUEZ_HCIUSB \
- CONFIG_BLUEZ_HIDP \
- CONFIG_BT \
- CONFIG_BT_L2CAP=y \
- CONFIG_BT_SCO=y \
- CONFIG_BT_RFCOMM \
- CONFIG_BT_BNEP \
- CONFIG_BT_HCIBTUSB \
- CONFIG_BT_HCIUSB \
- CONFIG_BT_HCIUART \
- CONFIG_BT_HCIUART_H4 \
- CONFIG_BT_HIDP \
- CONFIG_HID_SUPPORT=y
- $(call AddDepends/crc16)
- $(call AddDepends/hid)
- $(call AddDepends/rfkill)
- FILES:= \
- $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
- $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
- $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
- $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
- $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
- $(LINUX_DIR)/drivers/bluetooth/btusb.ko
- AUTOLOAD:=$(call AutoLoad,90,bluetooth rfcomm bnep hidp hci_uart btusb)
-endef
-
-define KernelPackage/bluetooth/description
- Kernel support for Bluetooth devices
-endef
-
-$(eval $(call KernelPackage,bluetooth))
-
-
-define KernelPackage/bluetooth-hci-h4p
- SUBMENU:=$(OTHER_MENU)
- TITLE:=HCI driver with H4 Nokia extensions
- DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
- KCONFIG:=CONFIG_BT_HCIH4P
- FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
- AUTOLOAD:=$(call AutoLoad,91,hci_h4p)
-endef
-
-define KernelPackage/bluetooth-hci-h4p/description
- HCI driver with H4 Nokia extensions
-endef
-
-$(eval $(call KernelPackage,bluetooth-hci-h4p))
-
-
-define KernelPackage/eeprom-93cx6
- SUBMENU:=$(OTHER_MENU)
- TITLE:=EEPROM 93CX6 support
- KCONFIG:=CONFIG_EEPROM_93CX6
- FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
- AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
-endef
-
-define KernelPackage/eeprom-93cx6/description
- Kernel module for EEPROM 93CX6 support
-endef
-
-$(eval $(call KernelPackage,eeprom-93cx6))
-
-
-define KernelPackage/eeprom-at24
- SUBMENU:=$(OTHER_MENU)
- TITLE:=EEPROM AT24 support
- KCONFIG:=CONFIG_EEPROM_AT24
- DEPENDS:=+kmod-i2c-core
- FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
- AUTOLOAD:=$(call AutoLoad,60,at24)
-endef
-
-define KernelPackage/eeprom-at24/description
- Kernel module for most I2C EEPROMs
-endef
-
-$(eval $(call KernelPackage,eeprom-at24))
-
-
-define KernelPackage/eeprom-at25
- SUBMENU:=$(OTHER_MENU)
- TITLE:=EEPROM AT25 support
- KCONFIG:=CONFIG_EEPROM_AT25
- FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
- AUTOLOAD:=$(call AutoLoad,61,at25)
-endef
-
-define KernelPackage/eeprom-at25/description
- Kernel module for most SPI EEPROMs
-endef
-
-$(eval $(call KernelPackage,eeprom-at25))
-
-
-define KernelPackage/gpio-dev
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Generic GPIO char device support
- DEPENDS:=@GPIO_SUPPORT
- KCONFIG:=CONFIG_GPIO_DEVICE
- FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
- AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
-endef
-
-define KernelPackage/gpio-dev/description
- Kernel module to allows control of GPIO pins using a character device.
-endef
-
-$(eval $(call KernelPackage,gpio-dev))
-
-
-define KernelPackage/gpio-mcp23s08
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Microchip MCP23xxx I/O expander
- DEPENDS:=@GPIO_SUPPORT
- KCONFIG:=CONFIG_GPIO_MCP23S08
- FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
- AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
-endef
-
-define KernelPackage/gpio-mcp23s08/description
- Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
-endef
-
-$(eval $(call KernelPackage,gpio-mcp23s08))
-
-
-define KernelPackage/gpio-nxp-74hc164
- SUBMENU:=$(OTHER_MENU)
- TITLE:=NXP 74HC164 GPIO expander support
- KCONFIG:=CONFIG_GPIO_NXP_74HC164
- FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
- AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
-endef
-
-define KernelPackage/gpio-nxp-74hc164/description
- Kernel module for NXP 74HC164 GPIO expander
-endef
-
-$(eval $(call KernelPackage,gpio-nxp-74hc164))
-
-define KernelPackage/gpio-pcf857x
- SUBMENU:=$(OTHER_MENU)
- DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
- TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
- KCONFIG:=CONFIG_GPIO_PCF857X
- FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
- AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
-endef
-
-define KernelPackage/gpio-pcf857x/description
- Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
-endef
-
-$(eval $(call KernelPackage,gpio-pcf857x))
-
-define KernelPackage/lp
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Parallel port and line printer support
- DEPENDS:=@BROKEN
- KCONFIG:= \
- CONFIG_PARPORT \
- CONFIG_PRINTER \
- CONFIG_PPDEV
- FILES:= \
- $(LINUX_DIR)/drivers/parport/parport.ko \
- $(LINUX_DIR)/drivers/char/lp.ko \
- $(LINUX_DIR)/drivers/char/ppdev.ko
- AUTOLOAD:=$(call AutoLoad,50,parport lp)
-endef
-
-$(eval $(call KernelPackage,lp))
-
-
-define KernelPackage/mmc
- SUBMENU:=$(OTHER_MENU)
- TITLE:=MMC/SD Card Support
- KCONFIG:= \
- CONFIG_MMC \
- CONFIG_MMC_BLOCK \
- CONFIG_MMC_DEBUG=n \
- CONFIG_MMC_UNSAFE_RESUME=n \
- CONFIG_MMC_BLOCK_BOUNCE=y \
- CONFIG_MMC_SDHCI=n \
- CONFIG_MMC_TIFM_SD=n \
- CONFIG_MMC_WBSD=n \
- CONFIG_SDIO_UART=n
- FILES:= \
- $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
- $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
- AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
-endef
-
-define KernelPackage/mmc/description
- Kernel support for MMC/SD cards
-endef
-
-$(eval $(call KernelPackage,mmc))
-
-
-define KernelPackage/oprofile
- SUBMENU:=$(OTHER_MENU)
- TITLE:=OProfile profiling support
- KCONFIG:=CONFIG_OPROFILE
- FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
- DEPENDS:=@KERNEL_PROFILING
-endef
-
-define KernelPackage/oprofile/description
- Kernel module for support for oprofile system profiling.
-endef
-
-$(eval $(call KernelPackage,oprofile))
-
-
-define KernelPackage/rfkill
- SUBMENU:=$(OTHER_MENU)
- TITLE:=RF switch subsystem support
- KCONFIG:= \
- CONFIG_RFKILL \
- CONFIG_RFKILL_INPUT=y \
- CONFIG_RFKILL_LEDS=y \
- CONFIG_RFKILL_GPIO=y
- FILES:= \
- $(LINUX_DIR)/net/rfkill/rfkill.ko
- AUTOLOAD:=$(call AutoLoad,20,rfkill)
- $(call SetDepends/rfkill)
-endef
-
-define KernelPackage/rfkill/description
- Say Y here if you want to have control over RF switches
- found on many WiFi and Bluetooth cards.
-endef
-
-$(eval $(call KernelPackage,rfkill))
-
-
-define KernelPackage/softdog
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Software watchdog driver
- KCONFIG:=CONFIG_SOFT_WATCHDOG
- FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
- AUTOLOAD:=$(call AutoLoad,50,softdog)
-endef
-
-define KernelPackage/softdog/description
- Software watchdog driver
-endef
-
-$(eval $(call KernelPackage,softdog))
-
-
-define KernelPackage/ssb
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Silicon Sonics Backplane glue code
- DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
- KCONFIG:=\
- CONFIG_SSB \
- CONFIG_SSB_B43_PCI_BRIDGE=y \
- CONFIG_SSB_DRIVER_MIPS=n \
- CONFIG_SSB_DRIVER_PCICORE=y \
- CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
- CONFIG_SSB_PCIHOST=y \
- CONFIG_SSB_PCIHOST_POSSIBLE=y \
- CONFIG_SSB_POSSIBLE=y \
- CONFIG_SSB_SPROM=y \
- CONFIG_SSB_SILENT=y
- FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
- AUTOLOAD:=$(call AutoLoad,29,ssb)
-endef
-
-define KernelPackage/ssb/description
- Silicon Sonics Backplane glue code.
-endef
-
-$(eval $(call KernelPackage,ssb))
-
-
-define KernelPackage/bcma
- SUBMENU:=$(OTHER_MENU)
- TITLE:=BCMA support
- DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
- KCONFIG:=\
- CONFIG_BCMA \
- CONFIG_BCMA_POSSIBLE=y \
- CONFIG_BCMA_BLOCKIO=y \
- CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
- CONFIG_BCMA_HOST_PCI=y \
- CONFIG_BCMA_DRIVER_MIPS=n \
- CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
- CONFIG_BCMA_DRIVER_GMAC_CMN=n \
- CONFIG_BCMA_DEBUG=n
- FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
- AUTOLOAD:=$(call AutoLoad,29,bcma)
-endef
-
-define KernelPackage/bcma/description
- Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
-endef
-
-$(eval $(call KernelPackage,bcma))
-
-
-define KernelPackage/wdt-omap
- SUBMENU:=$(OTHER_MENU)
- TITLE:=OMAP Watchdog timer
- DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
- KCONFIG:=CONFIG_OMAP_WATCHDOG
- FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
- AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
-endef
-
-define KernelPackage/wdt-omap/description
- Kernel module for TI omap watchdog timer.
-endef
-
-$(eval $(call KernelPackage,wdt-omap))
-
-
-define KernelPackage/wdt-orion
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Marvell Orion Watchdog timer
- DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu
- KCONFIG:=CONFIG_ORION_WATCHDOG
- FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
- AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
-endef
-
-define KernelPackage/wdt-orion/description
- Kernel module for Marvell Orion, Kirkwood and Armada XP/370 watchdog timer.
-endef
-
-$(eval $(call KernelPackage,wdt-orion))
-
-
-define KernelPackage/booke-wdt
- SUBMENU:=$(OTHER_MENU)
- TITLE:=PowerPC Book-E Watchdog Timer
- DEPENDS:=@(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x)
- KCONFIG:=CONFIG_BOOKE_WDT
- FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
- AUTOLOAD:=$(call AutoLoad,50,booke_wdt)
-endef
-
-define KernelPackage/booke-wdt/description
- Kernel module for PowerPC Book-E Watchdog Timer.
-endef
-
-$(eval $(call KernelPackage,booke-wdt))
-
-
-define KernelPackage/pwm
- SUBMENU:=$(OTHER_MENU)
- TITLE:=PWM generic API
- KCONFIG:=CONFIG_GENERIC_PWM
- FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
- AUTOLOAD:=$(call AutoLoad,50,pwm)
-endef
-
-define KernelPackage/pwm/description
- Kernel module that implement a generic PWM API
-endef
-
-$(eval $(call KernelPackage,pwm))
-
-
-define KernelPackage/pwm-gpio
- SUBMENU:=$(OTHER_MENU)
- TITLE:=PWM over GPIO
- DEPENDS:=+kmod-pwm
- KCONFIG:=CONFIG_GPIO_PWM
- FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
- AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
-endef
-
-define KernelPackage/pwm-gpio/description
- Kernel module to models a single-channel PWM device using a timer and a GPIO pin
-endef
-
-$(eval $(call KernelPackage,pwm-gpio))
-
-
-define KernelPackage/rtc-isl1208
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Intersil ISL1208 RTC support
- $(call AddDepends/rtc)
- DEPENDS+=+kmod-i2c-core
- KCONFIG:=CONFIG_RTC_DRV_ISL1208
- FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
- AUTOLOAD:=$(call AutoLoad,60,rtc-isl1208)
-endef
-
-define KernelPackage/rtc-isl1208/description
- Kernel module for Intersil ISL1208 RTC.
-endef
-
-$(eval $(call KernelPackage,rtc-isl1208))
-
-
-define KernelPackage/rtc-marvell
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Marvell SoC built-in RTC support
- $(call AddDepends/rtc)
- DEPENDS+=@TARGET_kirkwood||TARGET_orion||TARGET_mvebu
- KCONFIG:=CONFIG_RTC_DRV_MV
- FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
- AUTOLOAD:=$(call AutoLoad,60,rtc-mv)
-endef
-
-define KernelPackage/rtc-marvell/description
- Kernel module for Marvell SoC built-in RTC.
-endef
-
-$(eval $(call KernelPackage,rtc-marvell))
-
-define KernelPackage/rtc-pcf8563
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Philips PCF8563/Epson RTC8564 RTC support
- $(call AddDepends/rtc)
- KCONFIG:=CONFIG_RTC_DRV_PCF8563
- FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
- AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
-endef
-
-define KernelPackage/rtc-pcf8563/description
- Kernel module for Philips PCF8563 RTC chip.
- The Epson RTC8564 should work as well.
-endef
-
-$(eval $(call KernelPackage,rtc-pcf8563))
-
-
-define KernelPackage/rtc-pcf2123
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Philips PCF2123 RTC support
- $(call AddDepends/rtc)
- KCONFIG:=CONFIG_RTC_DRV_PCF2123
- FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
- AUTOLOAD:=$(call AutoLoad,60,rtc-pcf2123)
-endef
-
-define KernelPackage/rtc-pcf2123/description
- Kernel module for Philips PCF2123 RTC chip.
-endef
-
-$(eval $(call KernelPackage,rtc-pcf2123))
-
-define KernelPackage/rtc-pt7c4338
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Pericom PT7C4338 RTC support
- $(call AddDepends/rtc,+kmod-i2c-core)
- KCONFIG:=CONFIG_RTC_DRV_PT7C4338
- FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
- AUTOLOAD:=$(call AutoLoad,60,rtc-pt7c4338)
-endef
-
-define KernelPackage/rtc-pt7c4338/description
- Kernel module for Pericom PT7C4338 i2c RTC chip.
-endef
-
-$(eval $(call KernelPackage,rtc-pt7c4338))
-
-
-define KernelPackage/mtdtests
- SUBMENU:=$(OTHER_MENU)
- TITLE:=MTD subsystem tests
- KCONFIG:=CONFIG_MTD_TESTS
- FILES:=\
- $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
- $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
- $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
- $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
- $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
- $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
- $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
- $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
-endef
-
-define KernelPackage/mtdtests/description
- Kernel modules for MTD subsystem/driver testing.
-endef
-
-$(eval $(call KernelPackage,mtdtests))
-
-
-define KernelPackage/nand
- SUBMENU:=$(OTHER_MENU)
- TITLE:=NAND flash support
- KCONFIG:=CONFIG_MTD_NAND \
- CONFIG_MTD_NAND_IDS \
- CONFIG_MTD_NAND_ECC
- FILES:= \
- $(LINUX_DIR)/drivers/mtd/nand/nand_ids.ko \
- $(LINUX_DIR)/drivers/mtd/nand/nand_ecc.ko \
- $(LINUX_DIR)/drivers/mtd/nand/nand.ko
- AUTOLOAD:=$(call AutoLoad,20,nand_ids nand_ecc nand)
-endef
-
-define KernelPackage/nand/description
- Kernel module for NAND support.
-endef
-
-$(eval $(call KernelPackage,nand))
-
-
-define KernelPackage/nandsim
- SUBMENU:=$(OTHER_MENU)
- TITLE:=NAND simulator
- DEPENDS:=+kmod-nand
- KCONFIG:=CONFIG_MTD_NAND_NANDSIM
- FILES:=$(LINUX_DIR)/drivers/mtd/nand/nandsim.ko
-endef
-
-define KernelPackage/nandsim/description
- Kernel module for NAND flash simulation.
-endef
-
-$(eval $(call KernelPackage,nandsim))
-
-define KernelPackage/serial-8250
- SUBMENU:=$(OTHER_MENU)
- TITLE:=8250 UARTs
- KCONFIG:= CONFIG_SERIAL_8250 \
- CONFIG_SERIAL_8250_NR_UARTS=16 \
- CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
- CONFIG_SERIAL_8250_EXTENDED=y \
- CONFIG_SERIAL_8250_MANY_PORTS=y \
- CONFIG_SERIAL_8250_SHARE_IRQ=y \
- CONFIG_SERIAL_8250_DETECT_IRQ=n \
- CONFIG_SERIAL_8250_RSA=n
- FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250$(if $(call kernel_patchver_ge,3.7),$(if $(call kernel_patchver_le,3.9),_core)).ko
-endef
-
-define KernelPackage/serial-8250/description
- Kernel module for 8250 UART based serial ports.
-endef
-
-$(eval $(call KernelPackage,serial-8250))
-
-
-define KernelPackage/regmap
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Generic register map support
- DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
- KCONFIG:=CONFIG_REGMAP \
- CONFIG_REGMAP_SPI \
- CONFIG_REGMAP_I2C \
- CONFIG_SPI=y
- FILES:= \
- $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
- $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
- $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
- AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi)
-endef
-
-define KernelPackage/regmap/description
- Generic register map support
-endef
-
-$(eval $(call KernelPackage,regmap))
-
-define KernelPackage/ikconfig
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Kernel configuration via /proc/config.gz
- KCONFIG:=CONFIG_IKCONFIG \
- CONFIG_IKCONFIG_PROC=y
- FILES:=$(LINUX_DIR)/kernel/configs.ko
- AUTOLOAD:=$(call AutoLoad,70,configs)
-endef
-
-define KernelPackage/ikconfig/description
- Kernel configuration via /proc/config.gz
-endef
-
-$(eval $(call KernelPackage,ikconfig))
-
-
-define KernelPackage/zram
- SUBMENU:=$(OTHER_MENU)
- TITLE:=ZRAM
- DEPENDS:=@!LINUX_3_3 +kmod-lib-lzo
- KCONFIG:= \
- CONFIG_ZSMALLOC \
- CONFIG_ZRAM \
- CONFIG_ZRAM_DEBUG=n
- FILES:= \
- $(LINUX_DIR)/drivers/staging/zsmalloc/zsmalloc.ko \
- $(LINUX_DIR)/drivers/staging/zram/zram.ko
- AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
-endef
-
-define KernelPackage/zram/description
- Compressed RAM block device support
-endef
-
-$(eval $(call KernelPackage,zram))
-
-
-define KernelPackage/mvsdio
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Marvell SDIO support
- DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu +kmod-mmc
- KCONFIG:=CONFIG_MMC_MVSDIO
- FILES:=$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
- AUTOLOAD:=$(call AutoLoad,91,mvsdio)
-endef
-
-define KernelPacakge/mvsdio/description
- Kernel support for the Marvell SDIO controller
-endef
-
-$(eval $(call KernelPackage,mvsdio))
-
-
-define KernelPackage/pps
- SUBMENU:=$(OTHER_MENU)
- TITLE:=PPS support
- KCONFIG:=CONFIG_PPS
- FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
- AUTOLOAD:=$(call AutoLoad,20,pps_core)
-endef
-
-define KernelPacakge/pps/description
- PPS (Pulse Per Second) is a special pulse provided by some GPS
- antennae. Userland can use it to get a high-precision time
- reference.
-endef
-
-$(eval $(call KernelPackage,pps))
-
-
-define KernelPackage/ptp
- SUBMENU:=$(OTHER_MENU)
- TITLE:=PTP clock support
- DEPENDS:=+kmod-pps
- KCONFIG:=CONFIG_PTP_1588_CLOCK
- FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
- AUTOLOAD:=$(call AutoLoad,25,ptp)
-endef
-
-define KernelPacakge/ptp/description
- The IEEE 1588 standard defines a method to precisely
- synchronize distributed clocks over Ethernet networks.
-endef
-
-$(eval $(call KernelPackage,ptp))
-
-
-define KernelPackage/ptp-gianfar
- SUBMENU:=$(OTHER_MENU)
- TITLE:=Freescale Gianfar PTP support
- DEPENDS:=@TARGET_mpc85xx +kmod-gianfar +kmod-ptp
- KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
- FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
- AUTOLOAD:=$(call AutoLoad,51,gianfar_ptp)
-endef
-
-define KernelPacakge/ptp-gianfar/description
- Kernel module for IEEE 1588 support for Freescale
- Gianfar Ethernet drivers.
-endef
-
-$(eval $(call KernelPackage,ptp-gianfar))
diff --git a/package/kernel/modules/pcmcia.mk b/package/kernel/modules/pcmcia.mk
deleted file mode 100644
index cac727719c..0000000000
--- a/package/kernel/modules/pcmcia.mk
+++ /dev/null
@@ -1,80 +0,0 @@
-#
-# Copyright (C) 2006-2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-PCMCIA_MENU:=PCMCIA support
-
-define KernelPackage/pcmcia-core
- SUBMENU:=$(PCMCIA_MENU)
- TITLE:=PCMCIA/CardBus support
- DEPENDS:=@PCMCIA_SUPPORT
- KCONFIG:= \
- CONFIG_PCMCIA \
- CONFIG_CARDBUS \
- CONFIG_PCCARD \
- PCMCIA_DEBUG=n
- FILES:= \
- $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \
- $(LINUX_DIR)/drivers/pcmcia/pcmcia.ko
- AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia)
-endef
-
-define KernelPackage/pcmcia-core/description
- Kernel support for PCMCIA/CardBus controllers
-endef
-
-$(eval $(call KernelPackage,pcmcia-core))
-
-define KernelPackage/pcmcia-rsrc
- SUBMENU:=$(PCMCIA_MENU)
- TITLE:=PCMCIA resource support
- DEPENDS:=kmod-pcmcia-core
- KCONFIG:=CONFIG_PCCARD_NONSTATIC=y
-# For Linux 2.6.35+
-ifneq ($(wildcard $(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko),)
- FILES:=$(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko
- AUTOLOAD:=$(call AutoLoad,26,pcmcia_rsrc)
-else
- FILES:=$(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.ko
- AUTOLOAD:=$(call AutoLoad,26,rsrc_nonstatic)
-endif
-endef
-
-define KernelPackage/pcmcia-rsrc/description
- Kernel support for PCMCIA resource allocation
-endef
-
-$(eval $(call KernelPackage,pcmcia-rsrc))
-
-
-define KernelPackage/pcmcia-yenta
- SUBMENU:=$(PCMCIA_MENU)
- TITLE:=yenta socket driver
- DEPENDS:=kmod-pcmcia-rsrc
- KCONFIG:=CONFIG_YENTA
- FILES:=$(LINUX_DIR)/drivers/pcmcia/yenta_socket.ko
- AUTOLOAD:=$(call AutoLoad,41,pcmcia_rsrc yenta_socket)
-endef
-
-$(eval $(call KernelPackage,pcmcia-yenta))
-
-
-define KernelPackage/pcmcia-serial
- SUBMENU:=$(PCMCIA_MENU)
- TITLE:=Serial devices support
- DEPENDS:=kmod-pcmcia-core
- KCONFIG:= \
- CONFIG_PCMCIA_SERIAL_CS \
- CONFIG_SERIAL_8250_CS
- FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/serial_cs.ko
- AUTOLOAD:=$(call AutoLoad,45,serial_cs)
-endef
-
-define KernelPackage/pcmcia-serial/description
- Kernel support for PCMCIA/CardBus serial devices
-endef
-
-$(eval $(call KernelPackage,pcmcia-serial))
diff --git a/package/kernel/modules/sound.mk b/package/kernel/modules/sound.mk
deleted file mode 100644
index 494394603b..0000000000
--- a/package/kernel/modules/sound.mk
+++ /dev/null
@@ -1,220 +0,0 @@
-#
-# Copyright (C) 2006-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-SOUND_MENU:=Sound Support
-
-# allow targets to override the soundcore stuff
-SOUNDCORE_LOAD ?= \
- soundcore \
- snd \
- snd-page-alloc \
- snd-hwdep \
- snd-seq-device \
- snd-rawmidi \
- snd-timer \
- snd-pcm \
- snd-mixer-oss \
- snd-pcm-oss
-
-SOUNDCORE_FILES ?= \
- $(LINUX_DIR)/sound/soundcore.ko \
- $(LINUX_DIR)/sound/core/snd.ko \
- $(LINUX_DIR)/sound/core/snd-page-alloc.ko \
- $(LINUX_DIR)/sound/core/snd-hwdep.ko \
- $(LINUX_DIR)/sound/core/seq/snd-seq-device.ko \
- $(LINUX_DIR)/sound/core/snd-rawmidi.ko \
- $(LINUX_DIR)/sound/core/snd-timer.ko \
- $(LINUX_DIR)/sound/core/snd-pcm.ko \
- $(LINUX_DIR)/sound/core/oss/snd-mixer-oss.ko \
- $(LINUX_DIR)/sound/core/oss/snd-pcm-oss.ko
-
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.3.0)),1)
-SOUNDCORE_LOAD += \
- snd-compress
-
-SOUNDCORE_FILES += \
- $(LINUX_DIR)/sound/core/snd-compress.ko
-endif
-
-define KernelPackage/sound-core
- SUBMENU:=$(SOUND_MENU)
- TITLE:=Sound support
- DEPENDS:=@AUDIO_SUPPORT
- KCONFIG:= \
- CONFIG_SOUND \
- CONFIG_SND \
- CONFIG_SND_HWDEP \
- CONFIG_SND_RAWMIDI \
- CONFIG_SND_TIMER \
- CONFIG_SND_PCM \
- CONFIG_SND_SEQUENCER \
- CONFIG_SND_VIRMIDI \
- CONFIG_SND_SEQ_DUMMY \
- CONFIG_SND_SEQUENCER_OSS=y \
- CONFIG_HOSTAUDIO \
- CONFIG_SND_PCM_OSS \
- CONFIG_SND_MIXER_OSS \
- CONFIG_SOUND_OSS_CORE_PRECLAIM=y \
- CONFIG_SND_COMPRESS_OFFLOAD
- FILES:=$(SOUNDCORE_FILES)
- AUTOLOAD:=$(call AutoLoad,30,$(SOUNDCORE_LOAD))
- $(call AddDepends/input)
-endef
-
-define KernelPackage/sound-core/uml
- FILES:= \
- $(LINUX_DIR)/sound/soundcore.ko \
- $(LINUX_DIR)/arch/um/drivers/hostaudio.ko
- AUTOLOAD:=$(call AutoLoad,30,soundcore hostaudio)
-endef
-
-define KernelPackage/sound-core/description
- Kernel modules for sound support
-endef
-
-$(eval $(call KernelPackage,sound-core))
-
-
-define AddDepends/sound
- SUBMENU:=$(SOUND_MENU)
- DEPENDS+=kmod-sound-core $(1) @!TARGET_uml
-endef
-
-
-define KernelPackage/ac97
- TITLE:=ac97 controller
- KCONFIG:=CONFIG_SND_AC97_CODEC
- FILES:= \
- $(LINUX_DIR)/sound/ac97_bus.ko \
- $(LINUX_DIR)/sound/pci/ac97/snd-ac97-codec.ko
- AUTOLOAD:=$(call AutoLoad,35,ac97_bus snd-ac97-codec)
- $(call AddDepends/sound)
-endef
-
-define KernelPackage/ac97/description
- The ac97 controller
-endef
-
-$(eval $(call KernelPackage,ac97))
-
-
-define KernelPackage/sound-seq
- TITLE:=Sequencer support
- FILES:= \
- $(LINUX_DIR)/sound/core/seq/snd-seq.ko \
- $(LINUX_DIR)/sound/core/seq/snd-seq-midi-event.ko \
- $(LINUX_DIR)/sound/core/seq/snd-seq-midi.ko
- AUTOLOAD:=$(call AutoLoad,35,snd-seq snd-seq-midi-event snd-seq-midi)
- $(call AddDepends/sound)
-endef
-
-define KernelPackage/sound-seq/description
- Kernel modules for sequencer support
-endef
-
-$(eval $(call KernelPackage,sound-seq))
-
-
-define KernelPackage/sound-i8x0
- TITLE:=Intel/SiS/nVidia/AMD/ALi AC97 Controller
- DEPENDS:=+kmod-ac97
- KCONFIG:=CONFIG_SND_INTEL8X0
- FILES:=$(LINUX_DIR)/sound/pci/snd-intel8x0.ko
- AUTOLOAD:=$(call AutoLoad,36,snd-intel8x0)
- $(call AddDepends/sound)
-endef
-
-define KernelPackage/sound-i8x0/description
- support for the integrated AC97 sound device on motherboards
- with Intel/SiS/nVidia/AMD chipsets, or ALi chipsets using
- the M5455 Audio Controller.
-endef
-
-$(eval $(call KernelPackage,sound-i8x0))
-
-
-define KernelPackage/sound-cs5535audio
- TITLE:=CS5535 PCI Controller
- DEPENDS:=+kmod-ac97
- KCONFIG:=CONFIG_SND_CS5535AUDIO
- FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
- AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
- $(call AddDepends/sound)
-endef
-
-define KernelPackage/sound-cs5535audio/description
- support for the integrated AC97 sound device on olpc
-endef
-
-$(eval $(call KernelPackage,sound-cs5535audio))
-
-
-define KernelPackage/sound-soc-core
- TITLE:=SoC sound support
- DEPENDS:=+kmod-regmap
- KCONFIG:= \
- CONFIG_SND_SOC \
- CONFIG_SND_SOC_DMAENGINE_PCM=y \
- CONFIG_SND_SOC_ALL_CODECS=n
- FILES:=$(LINUX_DIR)/sound/soc/snd-soc-core.ko
- AUTOLOAD:=$(call AutoLoad,55, snd-soc-core)
- $(call AddDepends/sound)
-endef
-
-$(eval $(call KernelPackage,sound-soc-core))
-
-
-define KernelPackage/sound-soc-ac97
- TITLE:=AC97 Codec support
- KCONFIG:=CONFIG_SND_SOC_AC97_CODEC
- FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-ac97.ko
- AUTOLOAD:=$(call AutoLoad,57,snd-soc-ac97)
- DEPENDS:=+kmod-ac97 +kmod-sound-soc-core
- $(call AddDepends/sound)
-endef
-
-$(eval $(call KernelPackage,sound-soc-ac97))
-
-
-define KernelPackage/sound-soc-gw_avila
- TITLE:=Gateworks Avila SoC sound support
- KCONFIG:= \
- CONFIG_SND_GW_AVILA_SOC \
- CONFIG_SND_GW_AVILA_SOC_PCM \
- CONFIG_SND_GW_AVILA_SOC_HSS
- FILES:= \
- $(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic3x.ko \
- $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila.ko \
- $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila-pcm.ko \
- $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila-hss.ko
- AUTOLOAD:=$(call AutoLoad,65,snd-soc-tlv320aic3x snd-soc-gw-avila snd-soc-gw-avila-pcm snd-soc-gw-avila-hss)
- DEPENDS:=@TARGET_ixp4xx +kmod-sound-soc-core
- $(call AddDepends/sound)
-endef
-
-$(eval $(call KernelPackage,sound-soc-gw_avila))
-
-
-define KernelPackage/pcspkr
- DEPENDS:=@!TARGET_x86
- TITLE:=PC speaker support
- KCONFIG:= \
- CONFIG_INPUT_PCSPKR \
- CONFIG_SND_PCSP
- FILES:= \
- $(LINUX_DIR)/drivers/input/misc/pcspkr.ko \
- $(LINUX_DIR)/sound/drivers/pcsp/snd-pcsp.ko
- AUTOLOAD:=$(call AutoLoad,50,pcspkr snd-pcsp)
- $(call AddDepends/input)
- $(call AddDepends/sound)
-endef
-
-define KernelPackage/pcspkr/description
- This enables sounds (tones) through the pc speaker
-endef
-
-$(eval $(call KernelPackage,pcspkr))
diff --git a/package/kernel/modules/spi.mk b/package/kernel/modules/spi.mk
deleted file mode 100644
index 416209825f..0000000000
--- a/package/kernel/modules/spi.mk
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# Copyright (C) 2006-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-SPI_MENU:=SPI Support
-
-define KernelPackage/mmc-spi
- SUBMENU:=$(SPI_MENU)
- TITLE:=MMC/SD over SPI Support
- DEPENDS:=+kmod-mmc +kmod-lib-crc-itu-t +kmod-lib-crc7
- KCONFIG:=CONFIG_MMC_SPI \
- CONFIG_SPI=y \
- CONFIG_SPI_MASTER=y
- FILES:=$(LINUX_DIR)/drivers/mmc/host/mmc_spi.ko
- AUTOLOAD:=$(call AutoLoad,90,mmc_spi)
-endef
-
-define KernelPackage/mmc-spi/description
- Kernel support for MMC/SD over SPI
-endef
-
-$(eval $(call KernelPackage,mmc-spi))
-
-
-define KernelPackage/spi-bitbang
- SUBMENU:=$(SPI_MENU)
- TITLE:=Serial Peripheral Interface bitbanging library
- KCONFIG:=CONFIG_SPI_BITBANG \
- CONFIG_SPI=y \
- CONFIG_SPI_MASTER=y
- FILES:=$(LINUX_DIR)/drivers/spi/spi-bitbang.ko
- AUTOLOAD:=$(call AutoLoad,91,spi-bitbang)
-endef
-
-define KernelPackage/spi-bitbang/description
- This package contains the SPI bitbanging library
-endef
-
-$(eval $(call KernelPackage,spi-bitbang))
-
-
-define KernelPackage/spi-gpio-old
- SUBMENU:=$(SPI_MENU)
- TITLE:=Old GPIO based bitbanging SPI controller (DEPRECATED)
- DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
- KCONFIG:=CONFIG_SPI_GPIO_OLD
- FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio_old.ko
- AUTOLOAD:=$(call AutoLoad,92,spi_gpio_old)
-endef
-
-define KernelPackage/spi-gpio-old/description
- This package contains the GPIO based bitbanging SPI controller driver
-endef
-
-$(eval $(call KernelPackage,spi-gpio-old))
-
-define KernelPackage/spi-gpio
- SUBMENU:=$(SPI_MENU)
- TITLE:=GPIO-based bitbanging SPI Master
- DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
- KCONFIG:=CONFIG_SPI_GPIO
- FILES:=$(LINUX_DIR)/drivers/spi/spi-gpio.ko
- AUTOLOAD:=$(call AutoLoad,92,spi-gpio)
-endef
-
-define KernelPackage/spi-gpio/description
- This package contains the GPIO-based bitbanging SPI Master
-endef
-
-$(eval $(call KernelPackage,spi-gpio))
-
-define KernelPackage/spi-dev
- SUBMENU:=$(SPI_MENU)
- TITLE:=User mode SPI device driver
- KCONFIG:=CONFIG_SPI_SPIDEV \
- CONFIG_SPI=y \
- CONFIG_SPI_MASTER=y
- FILES:=$(LINUX_DIR)/drivers/spi/spidev.ko
- AUTOLOAD:=$(call AutoLoad,93,spidev)
-endef
-
-define KernelPackage/spi-dev/description
- This package contains the user mode SPI device driver
-endef
-
-$(eval $(call KernelPackage,spi-dev))
-
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
deleted file mode 100644
index 1cb8e2c1b2..0000000000
--- a/package/kernel/modules/usb.mk
+++ /dev/null
@@ -1,1002 +0,0 @@
-#
-# Copyright (C) 2006-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-USB_MENU:=USB Support
-
-USBNET_DIR:=net/usb
-USBHID_DIR?=hid/usbhid
-USBINPUT_DIR?=input/misc
-
-define KernelPackage/usb-core
- SUBMENU:=$(USB_MENU)
- TITLE:=Support for USB
- DEPENDS:=@USB_SUPPORT
- KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
- FILES:= \
- $(LINUX_DIR)/drivers/usb/core/usbcore.ko \
- $(LINUX_DIR)/drivers/usb/usb-common.ko
- AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
- $(call AddDepends/nls)
-endef
-
-define KernelPackage/usb-core/description
- Kernel support for USB
-endef
-
-$(eval $(call KernelPackage,usb-core))
-
-
-define AddDepends/usb
- SUBMENU:=$(USB_MENU)
- DEPENDS+=+kmod-usb-core $(1)
-endef
-
-
-define KernelPackage/usb-gadget
- TITLE:=USB Gadget support
- KCONFIG:=CONFIG_USB_GADGET
- FILES:=
- AUTOLOAD:=
- DEPENDS:=@USB_GADGET_SUPPORT
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-gadget/description
- Kernel support for USB Gadget mode.
-endef
-
-$(eval $(call KernelPackage,usb-gadget))
-
-
-define KernelPackage/usb-eth-gadget
- TITLE:=USB Ethernet Gadget support
- KCONFIG:= \
- CONFIG_USB_ETH \
- CONFIG_USB_ETH_RNDIS=y \
- CONFIG_USB_ETH_EEM=y
- DEPENDS:=+kmod-usb-gadget
- FILES:=$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
- AUTOLOAD:=$(call AutoLoad,52,g_ether)
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-eth-gadget/description
- Kernel support for USB Ethernet Gadget.
-endef
-
-$(eval $(call KernelPackage,usb-eth-gadget))
-
-
-define KernelPackage/usb-uhci
- TITLE:=Support for UHCI controllers
- KCONFIG:= \
- CONFIG_USB_UHCI_ALT \
- CONFIG_USB_UHCI_HCD
- FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
- AUTOLOAD:=$(call AutoLoad,50,uhci-hcd,1)
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-uhci/description
- Kernel support for USB UHCI controllers
-endef
-
-$(eval $(call KernelPackage,usb-uhci,1))
-
-
-define KernelPackage/usb-ohci
- TITLE:=Support for OHCI controllers
- DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx
- KCONFIG:= \
- CONFIG_USB_OHCI \
- CONFIG_USB_OHCI_HCD \
- CONFIG_USB_OHCI_ATH79=y \
- CONFIG_USB_OHCI_BCM63XX=y \
- CONFIG_USB_OCTEON_OHCI=y \
- CONFIG_USB_OHCI_HCD_PLATFORM=y
- FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
- AUTOLOAD:=$(call AutoLoad,50,ohci-hcd,1)
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-ohci/description
- Kernel support for USB OHCI controllers
-endef
-
-$(eval $(call KernelPackage,usb-ohci,1))
-
-
-define KernelPackage/usb2-fsl
- TITLE:=Support for Freescale USB2 controllers
- DEPENDS:=TARGET_mpc85xx
- KCONFIG:=\
- CONFIG_USB_FSL_MPH_DR_OF \
- CONFIG_USB_EHCI_FSL=y
- FILES:=$(LINUX_DIR)/drivers/usb/host/fsl-mph-dr-of.ko
- AUTOLOAD:=$(call AutoLoad,39,fsl-mph-dr-of,1)
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb2-fsl/description
- Kernel support for Freescale USB2 (EHCI) controllers
-endef
-
-$(eval $(call KernelPackage,usb2-fsl))
-
-
-define KernelPackage/usb2
- TITLE:=Support for USB2 controllers
- DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx +TARGET_mpc85xx:kmod-usb2-fsl
- KCONFIG:=CONFIG_USB_EHCI_HCD \
- CONFIG_USB_EHCI_ATH79=y \
- CONFIG_USB_EHCI_BCM63XX=y \
- CONFIG_USB_OCTEON_EHCI=y \
- CONFIG_USB_EHCI_HCD_ORION=y \
- CONFIG_USB_EHCI_HCD_PLATFORM=y
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.8.0)),1)
- FILES:= \
- $(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko \
- $(LINUX_DIR)/drivers/usb/host/ehci-platform.ko
- AUTOLOAD:=$(call AutoLoad,40,ehci-hcd ehci-platform,1)
-else
- FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko
- AUTOLOAD:=$(call AutoLoad,40,ehci-hcd,1)
-endif
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb2/description
- Kernel support for USB2 (EHCI) controllers
-endef
-
-$(eval $(call KernelPackage,usb2))
-
-
-define KernelPackage/usb2-pci
- TITLE:=Support for PCI USB2 controllers
- DEPENDS:=@PCI_SUPPORT @(LINUX_3_8||LINUX_3_9||LINUX_3_10) +kmod-usb2
- KCONFIG:=CONFIG_USB_EHCI_PCI
- FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko
- AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1)
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb2-pci/description
- Kernel support for PCI USB2 (EHCI) controllers
-endef
-
-$(eval $(call KernelPackage,usb2-pci))
-
-
-define KernelPackage/usb-acm
- TITLE:=Support for modems/isdn controllers
- KCONFIG:=CONFIG_USB_ACM
- FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
- AUTOLOAD:=$(call AutoLoad,60,cdc-acm)
-$(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-acm/description
- Kernel support for USB ACM devices (modems/isdn controllers)
-endef
-
-$(eval $(call KernelPackage,usb-acm))
-
-
-define KernelPackage/usb-wdm
- TITLE:=USB Wireless Device Management
- KCONFIG:=CONFIG_USB_WDM
- FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-wdm.ko
- AUTOLOAD:=$(call AutoLoad,60,cdc-wdm)
-$(call AddDepends/usb)
-$(call AddDepends/usb-net)
-endef
-
-define KernelPackage/usb-wdm/description
- USB Wireless Device Management support
-endef
-
-$(eval $(call KernelPackage,usb-wdm))
-
-
-define KernelPackage/usb-audio
- TITLE:=Support for USB audio devices
- KCONFIG:= \
- CONFIG_USB_AUDIO \
- CONFIG_SND_USB_AUDIO
- $(call AddDepends/usb)
- $(call AddDepends/sound)
-# For Linux 2.6.35+
-ifneq ($(wildcard $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko),)
- FILES:= \
- $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
- $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
- AUTOLOAD:=$(call AutoLoad,60,snd-usbmidi-lib snd-usb-audio)
-else
- FILES:= \
- $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
- $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
- AUTOLOAD:=$(call AutoLoad,60,snd-usb-lib snd-usb-audio)
-endif
-endef
-
-define KernelPackage/usb-audio/description
- Kernel support for USB audio devices
-endef
-
-$(eval $(call KernelPackage,usb-audio))
-
-
-define KernelPackage/usb-printer
- TITLE:=Support for printers
- KCONFIG:=CONFIG_USB_PRINTER
- FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
- AUTOLOAD:=$(call AutoLoad,60,usblp)
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-printer/description
- Kernel support for USB printers
-endef
-
-$(eval $(call KernelPackage,usb-printer))
-
-
-define KernelPackage/usb-serial
- TITLE:=Support for USB-to-Serial converters
- KCONFIG:=CONFIG_USB_SERIAL
- FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.ko
- AUTOLOAD:=$(call AutoLoad,60,usbserial)
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-serial/description
- Kernel support for USB-to-Serial converters
-endef
-
-$(eval $(call KernelPackage,usb-serial))
-
-
-define AddDepends/usb-serial
- SUBMENU:=$(USB_MENU)
- DEPENDS+=kmod-usb-serial $(1)
-endef
-
-
-define KernelPackage/usb-serial-belkin
- TITLE:=Support for Belkin devices
- KCONFIG:=CONFIG_USB_SERIAL_BELKIN
- FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.ko
- AUTOLOAD:=$(call AutoLoad,65,belkin_sa)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-belkin/description
- Kernel support for Belkin USB-to-Serial converters
-endef
-
-$(eval $(call KernelPackage,usb-serial-belkin))
-
-
-define KernelPackage/usb-serial-ch341
- TITLE:=Support for CH341 devices
- KCONFIG:=CONFIG_USB_SERIAL_CH341
- FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.ko
- AUTOLOAD:=$(call AutoLoad,65,ch341)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-ch341/description
- Kernel support for Winchiphead CH341 USB-to-Serial converters
-endef
-
-$(eval $(call KernelPackage,usb-serial-ch341))
-
-
-define KernelPackage/usb-serial-ftdi
- TITLE:=Support for FTDI devices
- KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
- FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.ko
- AUTOLOAD:=$(call AutoLoad,65,ftdi_sio)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-ftdi/description
- Kernel support for FTDI USB-to-Serial converters
-endef
-
-$(eval $(call KernelPackage,usb-serial-ftdi))
-
-
-define KernelPackage/usb-serial-ti-usb
- TITLE:=Support for TI USB 3410/5052
- KCONFIG:=CONFIG_USB_SERIAL_TI
- FILES:=$(LINUX_DIR)/drivers/usb/serial/ti_usb_3410_5052.ko
- AUTOLOAD:=$(call AutoLoad,65,ti_usb_3410_5052)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-ti-usb/description
- Kernel support for TI USB 3410/5052 devices
-endef
-
-$(eval $(call KernelPackage,usb-serial-ti-usb))
-
-
-define KernelPackage/usb-serial-ipw
- TITLE:=Support for IPWireless 3G devices
- KCONFIG:=CONFIG_USB_SERIAL_IPW
- FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko
- AUTOLOAD:=$(call AutoLoad,65,ipw)
- $(call AddDepends/usb-serial)
-endef
-
-$(eval $(call KernelPackage,usb-serial-ipw))
-
-
-define KernelPackage/usb-serial-mct
- TITLE:=Support for Magic Control Tech. devices
- KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
- FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.ko
- AUTOLOAD:=$(call AutoLoad,65,mct_u232)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-mct/description
- Kernel support for Magic Control Technology USB-to-Serial converters
-endef
-
-$(eval $(call KernelPackage,usb-serial-mct))
-
-
-define KernelPackage/usb-serial-mos7720
- TITLE:=Support for Moschip MOS7720 devices
- KCONFIG:=CONFIG_USB_SERIAL_MOS7720
- FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
- AUTOLOAD:=$(call AutoLoad,65,mos7720)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-mos7720/description
- Kernel support for Moschip MOS7720 USB-to-Serial converters
-endef
-
-$(eval $(call KernelPackage,usb-serial-mos7720))
-
-
-define KernelPackage/usb-serial-pl2303
- TITLE:=Support for Prolific PL2303 devices
- KCONFIG:=CONFIG_USB_SERIAL_PL2303
- FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.ko
- AUTOLOAD:=$(call AutoLoad,65,pl2303)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-pl2303/description
- Kernel support for Prolific PL2303 USB-to-Serial converters
-endef
-
-$(eval $(call KernelPackage,usb-serial-pl2303))
-
-
-define KernelPackage/usb-serial-cp210x
- TITLE:=Support for Silicon Labs cp210x devices
- KCONFIG:=CONFIG_USB_SERIAL_CP210X
- FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.ko
- AUTOLOAD:=$(call AutoLoad,65,cp210x)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-cp210x/description
- Kernel support for Silicon Labs cp210x USB-to-Serial converters
-endef
-
-$(eval $(call KernelPackage,usb-serial-cp210x))
-
-
-define KernelPackage/usb-serial-ark3116
- TITLE:=Support for ArkMicroChips ARK3116 devices
- KCONFIG:=CONFIG_USB_SERIAL_ARK3116
- FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.ko
- AUTOLOAD:=$(call AutoLoad,65,ark3116)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-ark3116/description
- Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
-endef
-
-$(eval $(call KernelPackage,usb-serial-ark3116))
-
-
-define KernelPackage/usb-serial-oti6858
- TITLE:=Support for Ours Technology OTI6858 devices
- KCONFIG:=CONFIG_USB_SERIAL_OTI6858
- FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.ko
- AUTOLOAD:=$(call AutoLoad,65,oti6858)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-oti6858/description
- Kernel support for Ours Technology OTI6858 USB-to-Serial converters
-endef
-
-$(eval $(call KernelPackage,usb-serial-oti6858))
-
-
-define KernelPackage/usb-serial-sierrawireless
- TITLE:=Support for Sierra Wireless devices
- KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
- FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.ko
- AUTOLOAD:=$(call AutoLoad,65,sierra)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-sierrawireless/description
- Kernel support for Sierra Wireless devices
-endef
-
-$(eval $(call KernelPackage,usb-serial-sierrawireless))
-
-
-define KernelPackage/usb-serial-motorola-phone
- TITLE:=Support for Motorola usb phone
- KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
- FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.ko
- AUTOLOAD:=$(call AutoLoad,65,moto_modem)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-motorola-phone/description
- Kernel support for Motorola usb phone
-endef
-
-$(eval $(call KernelPackage,usb-serial-motorola-phone))
-
-
-define KernelPackage/usb-serial-visor
- TITLE:=Support for Handspring Visor devices
- KCONFIG:=CONFIG_USB_SERIAL_VISOR
- FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.ko
- AUTOLOAD:=$(call AutoLoad,65,visor)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-visor/description
- Kernel support for Handspring Visor PDAs
-endef
-
-$(eval $(call KernelPackage,usb-serial-visor))
-
-
-define KernelPackage/usb-serial-cypress-m8
- TITLE:=Support for CypressM8 USB-Serial
- KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
- FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.ko
- AUTOLOAD:=$(call AutoLoad,65,cypress_m8)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-cypress-m8/description
- Kernel support for devices with Cypress M8 USB to Serial chip
- (for example, the Delorme Earthmate LT-20 GPS)
- Supported microcontrollers in the CY4601 family are:
- CY7C63741 CY7C63742 CY7C63743 CY7C64013
-endef
-
-$(eval $(call KernelPackage,usb-serial-cypress-m8))
-
-
-define KernelPackage/usb-serial-keyspan
- TITLE:=Support for Keyspan USB-to-Serial devices
- KCONFIG:= \
- CONFIG_USB_SERIAL_KEYSPAN \
- CONFIG_USB_SERIAL_KEYSPAN_USA28 \
- CONFIG_USB_SERIAL_KEYSPAN_USA28X \
- CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
- CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
- CONFIG_USB_SERIAL_KEYSPAN_USA19 \
- CONFIG_USB_SERIAL_KEYSPAN_USA18X \
- CONFIG_USB_SERIAL_KEYSPAN_USA19W \
- CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
- CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
- CONFIG_USB_SERIAL_KEYSPAN_MPR \
- CONFIG_USB_SERIAL_KEYSPAN_USA49W \
- CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
- FILES:=$(LINUX_DIR)/drivers/usb/serial/keyspan.ko
- AUTOLOAD:=$(call AutoLoad,65,keyspan)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-keyspan/description
- Kernel support for Keyspan USB-to-Serial devices
-endef
-
-$(eval $(call KernelPackage,usb-serial-keyspan))
-
-
-define KernelPackage/usb-serial-wwan
- TITLE:=Support for GSM and CDMA modems
- KCONFIG:=CONFIG_USB_SERIAL_WWAN
- FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
- AUTOLOAD:=$(call AutoLoad,61,usb_wwan)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-wwan/description
- Kernel support for USB GSM and CDMA modems
-endef
-
-$(eval $(call KernelPackage,usb-serial-wwan))
-
-
-define KernelPackage/usb-serial-option
- TITLE:=Support for Option HSDPA modems
- DEPENDS:=+kmod-usb-serial-wwan
- KCONFIG:=CONFIG_USB_SERIAL_OPTION
- FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
- AUTOLOAD:=$(call AutoLoad,65,option)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-option/description
- Kernel support for Option HSDPA modems
-endef
-
-$(eval $(call KernelPackage,usb-serial-option))
-
-
-define KernelPackage/usb-serial-qualcomm
- TITLE:=Support for Qualcomm USB serial
- KCONFIG:=CONFIG_USB_SERIAL_QUALCOMM
- FILES:=$(LINUX_DIR)/drivers/usb/serial/qcserial.ko
- AUTOLOAD:=$(call AutoLoad,65,qcserial)
- $(call AddDepends/usb-serial)
-endef
-
-define KernelPackage/usb-serial-qualcomm/description
- Kernel support for Qualcomm USB Serial devices (Gobi)
-endef
-
-$(eval $(call KernelPackage,usb-serial-qualcomm))
-
-
-define KernelPackage/usb-storage
- TITLE:=USB Storage support
- DEPENDS:= +kmod-scsi-core
- KCONFIG:=CONFIG_USB_STORAGE
- FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko
- AUTOLOAD:=$(call AutoLoad,60,usb-storage,1)
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-storage/description
- Kernel support for USB Mass Storage devices
-endef
-
-$(eval $(call KernelPackage,usb-storage))
-
-
-define KernelPackage/usb-storage-extras
- SUBMENU:=$(USB_MENU)
- TITLE:=Extra drivers for usb-storage
- DEPENDS:=+kmod-usb-storage
- KCONFIG:= \
- CONFIG_USB_STORAGE_ALAUDA \
- CONFIG_USB_STORAGE_CYPRESS_ATACB \
- CONFIG_USB_STORAGE_DATAFAB \
- CONFIG_USB_STORAGE_FREECOM \
- CONFIG_USB_STORAGE_ISD200 \
- CONFIG_USB_STORAGE_JUMPSHOT \
- CONFIG_USB_STORAGE_KARMA \
- CONFIG_USB_STORAGE_SDDR09 \
- CONFIG_USB_STORAGE_SDDR55 \
- CONFIG_USB_STORAGE_USBAT
- FILES:= \
- $(LINUX_DIR)/drivers/usb/storage/ums-alauda.ko \
- $(LINUX_DIR)/drivers/usb/storage/ums-cypress.ko \
- $(LINUX_DIR)/drivers/usb/storage/ums-datafab.ko \
- $(LINUX_DIR)/drivers/usb/storage/ums-freecom.ko \
- $(LINUX_DIR)/drivers/usb/storage/ums-isd200.ko \
- $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.ko \
- $(LINUX_DIR)/drivers/usb/storage/ums-karma.ko \
- $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.ko \
- $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.ko \
- $(LINUX_DIR)/drivers/usb/storage/ums-usbat.ko
- AUTOLOAD:=$(call AutoLoad,60,ums-alauda ums-cypress ums-datafab \
- ums-freecom ums-isd200 ums-jumpshot \
- ums-karma ums-sddr09 ums-sddr55 ums-usbat)
-endef
-
-define KernelPackage/usb-storage-extras/description
- Say Y here if you want to have some more drivers,
- such as for SmartMedia card readers.
-endef
-
-$(eval $(call KernelPackage,usb-storage-extras))
-
-
-define KernelPackage/usb-atm
- TITLE:=Support for ATM on USB bus
- DEPENDS:=+kmod-atm
- KCONFIG:=CONFIG_USB_ATM
- FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko
- AUTOLOAD:=$(call AutoLoad,60,usbatm)
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-atm/description
- Kernel support for USB DSL modems
-endef
-
-$(eval $(call KernelPackage,usb-atm))
-
-
-define AddDepends/usb-atm
- SUBMENU:=$(USB_MENU)
- DEPENDS+=kmod-usb-atm $(1)
-endef
-
-
-define KernelPackage/usb-atm-speedtouch
- TITLE:=SpeedTouch USB ADSL modems support
- KCONFIG:=CONFIG_USB_SPEEDTOUCH
- FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.ko
- AUTOLOAD:=$(call AutoLoad,70,speedtch)
- $(call AddDepends/usb-atm)
-endef
-
-define KernelPackage/usb-atm-speedtouch/description
- Kernel support for SpeedTouch USB ADSL modems
-endef
-
-$(eval $(call KernelPackage,usb-atm-speedtouch))
-
-
-define KernelPackage/usb-atm-ueagle
- TITLE:=Eagle 8051 based USB ADSL modems support
- FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.ko
- KCONFIG:=CONFIG_USB_UEAGLEATM
- AUTOLOAD:=$(call AutoLoad,70,ueagle-atm)
- $(call AddDepends/usb-atm)
-endef
-
-define KernelPackage/usb-atm-ueagle/description
- Kernel support for Eagle 8051 based USB ADSL modems
-endef
-
-$(eval $(call KernelPackage,usb-atm-ueagle))
-
-
-define KernelPackage/usb-atm-cxacru
- TITLE:=cxacru
- FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko
- KCONFIG:=CONFIG_USB_CXACRU
- AUTOLOAD:=$(call AutoLoad,70,cxacru)
- $(call AddDepends/usb-atm)
-endef
-
-define KernelPackage/usb-atm-cxacru/description
- Kernel support for cxacru based USB ADSL modems
-endef
-
-$(eval $(call KernelPackage,usb-atm-cxacru))
-
-
-define KernelPackage/usb-net
- TITLE:=Kernel modules for USB-to-Ethernet convertors
- KCONFIG:=CONFIG_USB_USBNET CONFIG_MII=y
- AUTOLOAD:=$(call AutoLoad,60,usbnet)
- FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-net/description
- Kernel modules for USB-to-Ethernet convertors
-endef
-
-$(eval $(call KernelPackage,usb-net))
-
-
-define AddDepends/usb-net
- SUBMENU:=$(USB_MENU)
- DEPENDS+=kmod-usb-net $(1)
-endef
-
-
-define KernelPackage/usb-net-asix
- TITLE:=Kernel module for USB-to-Ethernet Asix convertors
- KCONFIG:=CONFIG_USB_NET_AX8817X
- FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
- AUTOLOAD:=$(call AutoLoad,61,asix)
- $(call AddDepends/usb-net)
-endef
-
-define KernelPackage/usb-net-asix/description
- Kernel module for USB-to-Ethernet Asix convertors
-endef
-
-$(eval $(call KernelPackage,usb-net-asix))
-
-
-define KernelPackage/usb-net-hso
- TITLE:=Kernel module for Option USB High Speed Mobile Devices
- KCONFIG:=CONFIG_USB_HSO
- FILES:= \
- $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko
- AUTOLOAD:=$(call AutoLoad,61,hso)
- $(call AddDepends/usb-net)
- $(call AddDepends/rfkill)
-endef
-
-define KernelPackage/usb-net-hso/description
- Kernel module for Option USB High Speed Mobile Devices
-endef
-
-$(eval $(call KernelPackage,usb-net-hso))
-
-
-define KernelPackage/usb-net-kaweth
- TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
- KCONFIG:=CONFIG_USB_KAWETH
- FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.ko
- AUTOLOAD:=$(call AutoLoad,61,kaweth)
- $(call AddDepends/usb-net)
-endef
-
-define KernelPackage/usb-net-kaweth/description
- Kernel module for USB-to-Ethernet Kaweth convertors
-endef
-
-$(eval $(call KernelPackage,usb-net-kaweth))
-
-
-define KernelPackage/usb-net-pegasus
- TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
- KCONFIG:=CONFIG_USB_PEGASUS
- FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.ko
- AUTOLOAD:=$(call AutoLoad,61,pegasus)
- $(call AddDepends/usb-net)
-endef
-
-define KernelPackage/usb-net-pegasus/description
- Kernel module for USB-to-Ethernet Pegasus convertors
-endef
-
-$(eval $(call KernelPackage,usb-net-pegasus))
-
-
-define KernelPackage/usb-net-mcs7830
- TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
- KCONFIG:=CONFIG_USB_NET_MCS7830
- FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.ko
- AUTOLOAD:=$(call AutoLoad,61,mcs7830)
- $(call AddDepends/usb-net)
-endef
-
-define KernelPackage/usb-net-mcs7830/description
- Kernel module for USB-to-Ethernet MCS7830 convertors
-endef
-
-$(eval $(call KernelPackage,usb-net-mcs7830))
-
-
-define KernelPackage/usb-net-dm9601-ether
- TITLE:=Support for DM9601 ethernet connections
- KCONFIG:=CONFIG_USB_NET_DM9601
- FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.ko
- AUTOLOAD:=$(call AutoLoad,61,dm9601)
- $(call AddDepends/usb-net)
-endef
-
-define KernelPackage/usb-net-dm9601-ether/description
- Kernel support for USB DM9601 devices
-endef
-
-$(eval $(call KernelPackage,usb-net-dm9601-ether))
-
-define KernelPackage/usb-net-cdc-ether
- TITLE:=Support for cdc ethernet connections
- KCONFIG:=CONFIG_USB_NET_CDCETHER
- FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.ko
- AUTOLOAD:=$(call AutoLoad,61,cdc_ether)
- $(call AddDepends/usb-net)
-endef
-
-define KernelPackage/usb-net-cdc-ether/description
- Kernel support for USB CDC Ethernet devices
-endef
-
-$(eval $(call KernelPackage,usb-net-cdc-ether))
-
-
-define KernelPackage/usb-net-qmi-wwan
- TITLE:=QMI WWAN driver
- KCONFIG:=CONFIG_USB_NET_QMI_WWAN
- FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/qmi_wwan.ko
- AUTOLOAD:=$(call AutoLoad,61,qmi_wwan)
- $(call AddDepends/usb-net,+kmod-usb-wdm)
-endef
-
-define KernelPackage/usb-net-qmi-wwan/description
- QMI WWAN driver for Qualcomm MSM based 3G and LTE modems
-endef
-
-$(eval $(call KernelPackage,usb-net-qmi-wwan))
-
-
-define KernelPackage/usb-net-rndis
- TITLE:=Support for RNDIS connections
- KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
- FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.ko
- AUTOLOAD:=$(call AutoLoad,62,rndis_host)
- $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
-endef
-
-define KernelPackage/usb-net-rndis/description
- Kernel support for RNDIS connections
-endef
-
-$(eval $(call KernelPackage,usb-net-rndis))
-
-define KernelPackage/usb-net-cdc-mbim
- SUBMENU:=$(USB_MENU)
- TITLE:=Kernel module for MBIM Devices
- KCONFIG:=CONFIG_USB_NET_CDC_MBIM
- FILES:= \
- $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_mbim.ko
- AUTOLOAD:=$(call AutoLoad,62,cdc_mbim)
- $(call AddDepends/usb-net,+kmod-usb-wdm,+kmod-usb-net-cdc-ncm)
-endef
-
-define KernelPackage/usb-net-cdc-mbim/description
- Kernel module for Option USB High Speed Mobile Devices
-endef
-
-$(eval $(call KernelPackage,usb-net-cdc-mbim))
-
-define KernelPackage/usb-net-cdc-ncm
- TITLE:=Support for CDC NCM connections
- KCONFIG:=CONFIG_USB_NET_CDC_NCM
- FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
- AUTOLOAD:=$(call AutoLoad,61,cdc_ncm)
- $(call AddDepends/usb-net)
-endef
-
-define KernelPackage/usb-net-cdc-ncm/description
- Kernel support for CDC NCM connections
-endef
-
-$(eval $(call KernelPackage,usb-net-cdc-ncm))
-
-
-define KernelPackage/usb-net-sierrawireless
- TITLE:=Support for Sierra Wireless devices
- KCONFIG:=CONFIG_USB_SIERRA_NET
- FILES:=$(LINUX_DIR)/drivers/net/usb/sierra_net.ko
- AUTOLOAD:=$(call AutoLoad,65,sierra_net)
- $(call AddDepends/usb-net)
-endef
-
-define KernelPackage/usb-net-sierrawireless/description
- Kernel support for Sierra Wireless devices
-endef
-
-$(eval $(call KernelPackage,usb-net-sierrawireless))
-
-
-define KernelPackage/usb-net-ipheth
- TITLE:=Apple iPhone USB Ethernet driver
- KCONFIG:=CONFIG_USB_IPHETH
- FILES:=$(LINUX_DIR)/drivers/net/usb/ipheth.ko
- AUTOLOAD:=$(call AutoLoad,64,ipheth)
- $(call AddDepends/usb-net)
-endef
-
-define KernelPackage/usb-net-ipheth/description
- Kernel support for Apple iPhone USB Ethernet driver
-endef
-
-$(eval $(call KernelPackage,usb-net-ipheth))
-
-
-define KernelPackage/usb-hid
- TITLE:=Support for USB Human Input Devices
- KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
- FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
- AUTOLOAD:=$(call AutoLoad,70,usbhid)
- $(call AddDepends/usb)
- $(call AddDepends/hid)
- $(call AddDepends/input,+kmod-input-evdev)
-endef
-
-
-define KernelPackage/usb-hid/description
- Kernel support for USB HID devices such as keyboards and mice
-endef
-
-$(eval $(call KernelPackage,usb-hid))
-
-
-define KernelPackage/usb-yealink
- TITLE:=USB Yealink VOIP phone
- KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
- FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
- AUTOLOAD:=$(call AutoLoad,70,yealink)
- $(call AddDepends/usb)
- $(call AddDepends/input,+kmod-input-evdev)
-endef
-
-define KernelPackage/usb-yealink/description
- Kernel support for Yealink VOIP phone
-endef
-
-$(eval $(call KernelPackage,usb-yealink))
-
-
-define KernelPackage/usb-cm109
- TITLE:=Support for CM109 device
- KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
- FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
- AUTOLOAD:=$(call AutoLoad,70,cm109)
- $(call AddDepends/usb)
- $(call AddDepends/input,+kmod-input-evdev)
-endef
-
-define KernelPackage/usb-cm109/description
- Kernel support for CM109 VOIP phone
-endef
-
-$(eval $(call KernelPackage,usb-cm109))
-
-
-define KernelPackage/usb-test
- TITLE:=USB Testing Driver
- DEPENDS:=@DEVEL
- KCONFIG:=CONFIG_USB_TEST
- FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
- $(call AddDepends/usb)
-endef
-
-define KernelPackage/usb-test/description
- Kernel support for testing USB Host Controller software.
-endef
-
-$(eval $(call KernelPackage,usb-test))
-
-
-define KernelPackage/usbip
- TITLE := USB-over-IP kernel support
- KCONFIG:= \
- CONFIG_USBIP_CORE \
- CONFIG_USBIP_DEBUG=n
- FILES:=$(LINUX_DIR)/drivers/staging/usbip/usbip-core.ko
- AUTOLOAD:=$(call AutoLoad,90,usbip-core)
- $(call AddDepends/usb)
-endef
-$(eval $(call KernelPackage,usbip))
-
-define KernelPackage/usbip-client
- TITLE := USB-over-IP client driver
- DEPENDS := +kmod-usbip
- KCONFIG := CONFIG_USBIP_VHCI_HCD
- FILES := $(LINUX_DIR)/drivers/staging/usbip/vhci-hcd.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD := $(call AutoLoad,95,vhci-hcd)
- $(call AddDepends/usb)
-endef
-$(eval $(call KernelPackage,usbip-client))
-
-define KernelPackage/usbip-server
-$(call KernelPackage/usbip/Default)
- TITLE := USB-over-IP host driver
- DEPENDS := +kmod-usbip
- KCONFIG := CONFIG_USBIP_HOST
- FILES := $(LINUX_DIR)/drivers/staging/usbip/usbip-host.ko
- AUTOLOAD := $(call AutoLoad,95,usbip-host)
- $(call AddDepends/usb)
-endef
-$(eval $(call KernelPackage,usbip-server))
diff --git a/package/kernel/modules/video.mk b/package/kernel/modules/video.mk
deleted file mode 100644
index e652e8a4f0..0000000000
--- a/package/kernel/modules/video.mk
+++ /dev/null
@@ -1,730 +0,0 @@
-#
-# Copyright (C) 2009 David Cooper <dave@kupesoft.com>
-# Copyright (C) 2006-2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-VIDEO_MENU:=Video Support
-
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.7.0)),1)
-V4L2_DIR=v4l2-core
-V4L2_USB_DIR=usb
-else
-V4L2_DIR=video
-V4L2_USB_DIR=video
-endif
-
-
-define KernelPackage/fb
- SUBMENU:=$(VIDEO_MENU)
- TITLE:=Framebuffer support
- DEPENDS:=@DISPLAY_SUPPORT
- KCONFIG:=CONFIG_FB
- FILES:=$(LINUX_DIR)/drivers/video/fb.ko
- AUTOLOAD:=$(call AutoLoad,06,fb)
-endef
-
-define KernelPackage/fb/description
- Kernel support for framebuffers
-endef
-
-$(eval $(call KernelPackage,fb))
-
-define KernelPackage/fb-cfb-fillrect
- SUBMENU:=$(VIDEO_MENU)
- TITLE:=Framebuffer software rectangle filling support
- DEPENDS:=+kmod-fb
- KCONFIG:=CONFIG_FB_CFB_FILLRECT
- FILES:=$(LINUX_DIR)/drivers/video/cfbfillrect.ko
- AUTOLOAD:=$(call AutoLoad,07,cfbfillrect)
-endef
-
-define KernelPackage/fb-cfb-fillrect/description
- Kernel support for software rectangle filling
-endef
-
-$(eval $(call KernelPackage,fb-cfb-fillrect))
-
-
-define KernelPackage/fb-cfb-copyarea
- SUBMENU:=$(VIDEO_MENU)
- TITLE:=Framebuffer software copy area support
- DEPENDS:=+kmod-fb
- KCONFIG:=CONFIG_FB_CFB_COPYAREA
- FILES:=$(LINUX_DIR)/drivers/video/cfbcopyarea.ko
- AUTOLOAD:=$(call AutoLoad,07,cfbcopyarea)
-endef
-
-define KernelPackage/fb-cfb-copyarea/description
- Kernel support for software copy area
-endef
-
-$(eval $(call KernelPackage,fb-cfb-copyarea))
-
-define KernelPackage/fb-cfb-imgblt
- SUBMENU:=$(VIDEO_MENU)
- TITLE:=Framebuffer software image blit support
- DEPENDS:=+kmod-fb
- KCONFIG:=CONFIG_FB_CFB_IMAGEBLIT
- FILES:=$(LINUX_DIR)/drivers/video/cfbimgblt.ko
- AUTOLOAD:=$(call AutoLoad,07,cfbimgblt)
-endef
-
-define KernelPackage/fb-cfb-imgblt/description
- Kernel support for software image blitting
-endef
-
-$(eval $(call KernelPackage,fb-cfb-imgblt))
-
-
-define KernelPackage/video-core
- SUBMENU:=$(VIDEO_MENU)
- TITLE=Video4Linux support
- DEPENDS:=@PCI_SUPPORT||USB_SUPPORT
- KCONFIG:= \
- CONFIG_MEDIA_SUPPORT=m \
- CONFIG_MEDIA_CAMERA_SUPPORT=y \
- CONFIG_VIDEO_DEV \
- CONFIG_VIDEO_V4L1=y \
- CONFIG_VIDEO_ALLOW_V4L1=y \
- CONFIG_VIDEO_CAPTURE_DRIVERS=y \
- CONFIG_V4L_USB_DRIVERS=y \
- CONFIG_V4L_PCI_DRIVERS=y \
- CONFIG_V4L_PLATFORM_DRIVERS=y \
- CONFIG_V4L_ISA_PARPORT_DRIVERS=y
- FILES:= \
- $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \
- $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
- AUTOLOAD:=$(call AutoLoad,60, videodev v4l2-common)
-endef
-
-define KernelPackage/video-core/description
- Kernel modules for Video4Linux support
-endef
-
-$(eval $(call KernelPackage,video-core))
-
-
-define AddDepends/video
- SUBMENU:=$(VIDEO_MENU)
- DEPENDS+=kmod-video-core $(1)
-endef
-
-define AddDepends/camera
- SUBMENU:=$(VIDEO_MENU)
- KCONFIG+=CONFIG_MEDIA_USB_SUPPORT=y \
- CONFIG_MEDIA_CAMERA_SUPPORT=y
- DEPENDS+=kmod-video-core $(1)
-endef
-
-
-define KernelPackage/video-videobuf2
- TITLE:=videobuf2 lib
- KCONFIG:= \
- CONFIG_VIDEOBUF2_CORE \
- CONFIG_VIDEOBUF2_MEMOPS \
- CONFIG_VIDEOBUF2_VMALLOC
- FILES:= \
- $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-core.ko \
- $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-memops.ko \
- $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-vmalloc.ko
- AUTOLOAD:=$(call AutoLoad,65,videobuf2-core videobuf2-memops videobuf2-vmalloc)
- $(call AddDepends/video)
-endef
-
-define KernelPackage/video-videobuf2/description
- Kernel modules that implements three basic types of media buffers.
-endef
-
-$(eval $(call KernelPackage,video-videobuf2))
-
-
-define KernelPackage/video-cpia2
- TITLE:=CPIA2 video driver
- DEPENDS:=@USB_SUPPORT +kmod-usb-core
- KCONFIG:=CONFIG_VIDEO_CPIA2
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/cpia2/cpia2.ko
- AUTOLOAD:=$(call AutoLoad,70,cpia2)
- $(call AddDepends/camera)
-endef
-
-define KernelPackage/video-cpia2/description
- Kernel modules for supporting CPIA2 USB based cameras.
-endef
-
-$(eval $(call KernelPackage,video-cpia2))
-
-
-define KernelPackage/video-sn9c102
- TITLE:=SN9C102 Camera Chip support
- DEPENDS:=@USB_SUPPORT +kmod-usb-core
- KCONFIG:=CONFIG_USB_SN9C102
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/sn9c102/sn9c102.ko
- AUTOLOAD:=$(call AutoLoad,70,gspca_sn9c20x)
- $(call AddDepends/camera)
-endef
-
-
-define KernelPackage/video-sn9c102/description
- Kernel modules for supporting SN9C102
- camera chips.
-endef
-
-$(eval $(call KernelPackage,video-sn9c102))
-
-
-define KernelPackage/video-pwc
- TITLE:=Philips USB webcam support
- DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-video-videobuf2
- KCONFIG:= \
- CONFIG_USB_PWC \
- CONFIG_USB_PWC_DEBUG=n
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/pwc/pwc.ko
- AUTOLOAD:=$(call AutoLoad,70,pwc)
- $(call AddDepends/camera)
-endef
-
-
-define KernelPackage/video-pwc/description
- Kernel modules for supporting Philips USB based cameras.
-endef
-
-$(eval $(call KernelPackage,video-pwc))
-
-define KernelPackage/video-uvc
- TITLE:=USB Video Class (UVC) support
- DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-video-videobuf2
- KCONFIG:= CONFIG_USB_VIDEO_CLASS
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/uvc/uvcvideo.ko
- AUTOLOAD:=$(call AutoLoad,90,uvcvideo)
- $(call AddDepends/camera)
- $(call AddDepends/input)
-endef
-
-
-define KernelPackage/video-uvc/description
- Kernel modules for supporting USB Video Class (UVC) devices.
-endef
-
-$(eval $(call KernelPackage,video-uvc))
-
-
-define KernelPackage/video-gspca-core
- MENU:=1
- TITLE:=GSPCA webcam core support framework
- DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-input-core
- KCONFIG:=CONFIG_USB_GSPCA
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_main.ko
- AUTOLOAD:=$(call AutoLoad,70,gspca_main)
- $(call AddDepends/camera)
-endef
-
-define KernelPackage/video-gspca-core/description
- Kernel modules for supporting GSPCA based webcam devices. Note this is just
- the core of the driver, please select a submodule that supports your webcam.
-endef
-
-$(eval $(call KernelPackage,video-gspca-core))
-
-
-define AddDepends/camera-gspca
- SUBMENU:=$(VIDEO_MENU)
- DEPENDS+=kmod-video-gspca-core $(1)
-endef
-
-
-define KernelPackage/video-gspca-conex
- TITLE:=conex webcam support
- KCONFIG:=CONFIG_USB_GSPCA_CONEX
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_conex.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_conex)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-conex/description
- The Conexant Camera Driver (conex) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-conex))
-
-
-define KernelPackage/video-gspca-etoms
- TITLE:=etoms webcam support
- KCONFIG:=CONFIG_USB_GSPCA_ETOMS
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_etoms.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_etoms)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-etoms/description
- The Etoms USB Camera Driver (etoms) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-etoms))
-
-
-define KernelPackage/video-gspca-finepix
- TITLE:=finepix webcam support
- KCONFIG:=CONFIG_USB_GSPCA_FINEPIX
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_finepix.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_finepix)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-finepix/description
- The Fujifilm FinePix USB V4L2 driver (finepix) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-finepix))
-
-
-define KernelPackage/video-gspca-mars
- TITLE:=mars webcam support
- KCONFIG:=CONFIG_USB_GSPCA_MARS
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_mars.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_mars)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-mars/description
- The Mars USB Camera Driver (mars) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-mars))
-
-
-define KernelPackage/video-gspca-mr97310a
- TITLE:=mr97310a webcam support
- KCONFIG:=CONFIG_USB_GSPCA_MR97310A
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_mr97310a.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_mr97310a)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-mr97310a/description
- The Mars-Semi MR97310A USB Camera Driver (mr97310a) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-mr97310a))
-
-
-define KernelPackage/video-gspca-ov519
- TITLE:=ov519 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_OV519
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov519.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_ov519)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-ov519/description
- The OV519 USB Camera Driver (ov519) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-ov519))
-
-
-define KernelPackage/video-gspca-ov534
- TITLE:=ov534 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_OV534
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov534.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_ov534)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-ov534/description
- The OV534 USB Camera Driver (ov534) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-ov534))
-
-
-define KernelPackage/video-gspca-ov534-9
- TITLE:=ov534-9 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_OV534_9
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov534_9.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_ov534_9)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-ov534-9/description
- The OV534-9 USB Camera Driver (ov534_9) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-ov534-9))
-
-
-define KernelPackage/video-gspca-pac207
- TITLE:=pac207 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_PAC207
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_pac207.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_pac207)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-pac207/description
- The Pixart PAC207 USB Camera Driver (pac207) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-pac207))
-
-
-define KernelPackage/video-gspca-pac7311
- TITLE:=pac7311 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_PAC7311
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_pac7311.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_pac7311)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-pac7311/description
- The Pixart PAC7311 USB Camera Driver (pac7311) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-pac7311))
-
-
-define KernelPackage/video-gspca-se401
- TITLE:=se401 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SE401
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_se401.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_se401)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-se401/description
- The SE401 USB Camera Driver kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-se401))
-
-
-define KernelPackage/video-gspca-sn9c20x
- TITLE:=sn9c20x webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SN9C20X
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sn9c20x.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sn9c20x)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-sn9c20x/description
- The SN9C20X USB Camera Driver (sn9c20x) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-sn9c20x))
-
-
-define KernelPackage/video-gspca-sonixb
- TITLE:=sonixb webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SONIXB
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sonixb.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sonixb)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-sonixb/description
- The SONIX Bayer USB Camera Driver (sonixb) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-sonixb))
-
-
-define KernelPackage/video-gspca-sonixj
- TITLE:=sonixj webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SONIXJ
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sonixj.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sonixj)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-sonixj/description
- The SONIX JPEG USB Camera Driver (sonixj) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-sonixj))
-
-
-define KernelPackage/video-gspca-spca500
- TITLE:=spca500 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SPCA500
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca500.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca500)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-spca500/description
- The SPCA500 USB Camera Driver (spca500) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-spca500))
-
-
-define KernelPackage/video-gspca-spca501
- TITLE:=spca501 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SPCA501
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca501.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca501)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-spca501/description
- The SPCA501 USB Camera Driver (spca501) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-spca501))
-
-
-define KernelPackage/video-gspca-spca505
- TITLE:=spca505 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SPCA505
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca505.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca505)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-spca505/description
- The SPCA505 USB Camera Driver (spca505) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-spca505))
-
-
-define KernelPackage/video-gspca-spca506
- TITLE:=spca506 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SPCA506
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca506.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca506)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-spca506/description
- The SPCA506 USB Camera Driver (spca506) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-spca506))
-
-
-define KernelPackage/video-gspca-spca508
- TITLE:=spca508 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SPCA508
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca508.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca508)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-spca508/description
- The SPCA508 USB Camera Driver (spca508) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-spca508))
-
-
-define KernelPackage/video-gspca-spca561
- TITLE:=spca561 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SPCA561
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca561.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca561)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-spca561/description
- The SPCA561 USB Camera Driver (spca561) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-spca561))
-
-
-define KernelPackage/video-gspca-sq905
- TITLE:=sq905 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SQ905
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sq905.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sq905)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-sq905/description
- The SQ Technologies SQ905 based USB Camera Driver (sq905) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-sq905))
-
-
-define KernelPackage/video-gspca-sq905c
- TITLE:=sq905c webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SQ905C
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sq905c.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sq905c)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-sq905c/description
- The SQ Technologies SQ905C based USB Camera Driver (sq905c) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-sq905c))
-
-
-define KernelPackage/video-gspca-stk014
- TITLE:=stk014 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_STK014
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_stk014.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_stk014)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-stk014/description
- The Syntek DV4000 (STK014) USB Camera Driver (stk014) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-stk014))
-
-
-define KernelPackage/video-gspca-sunplus
- TITLE:=sunplus webcam support
- KCONFIG:=CONFIG_USB_GSPCA_SUNPLUS
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sunplus.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sunplus)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-sunplus/description
- The SUNPLUS USB Camera Driver (sunplus) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-sunplus))
-
-
-define KernelPackage/video-gspca-t613
- TITLE:=t613 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_T613
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_t613.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_t613)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-t613/description
- The T613 (JPEG Compliance) USB Camera Driver (t613) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-t613))
-
-
-define KernelPackage/video-gspca-tv8532
- TITLE:=tv8532 webcam support
- KCONFIG:=CONFIG_USB_GSPCA_TV8532
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_tv8532.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_tv8532)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-tv8532/description
- The TV8532 USB Camera Driver (tv8532) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-tv8532))
-
-
-define KernelPackage/video-gspca-vc032x
- TITLE:=vc032x webcam support
- KCONFIG:=CONFIG_USB_GSPCA_VC032X
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_vc032x.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_vc032x)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-vc032x/description
- The VC032X USB Camera Driver (vc032x) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-vc032x))
-
-
-define KernelPackage/video-gspca-zc3xx
- TITLE:=zc3xx webcam support
- KCONFIG:=CONFIG_USB_GSPCA_ZC3XX
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_zc3xx.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_zc3xx)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-zc3xx/description
- The ZC3XX USB Camera Driver (zc3xx) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-zc3xx))
-
-
-define KernelPackage/video-gspca-m5602
- TITLE:=m5602 webcam support
- KCONFIG:=CONFIG_USB_M5602
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/m5602/gspca_m5602.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_m5602)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-m5602/description
- The ALi USB m5602 Camera Driver (m5602) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-m5602))
-
-
-define KernelPackage/video-gspca-stv06xx
- TITLE:=stv06xx webcam support
- KCONFIG:=CONFIG_USB_STV06XX
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/stv06xx/gspca_stv06xx.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_stv06xx)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-stv06xx/description
- The STV06XX USB Camera Driver (stv06xx) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-stv06xx))
-
-
-define KernelPackage/video-gspca-gl860
- TITLE:=gl860 webcam support
- KCONFIG:=CONFIG_USB_GL860
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gl860/gspca_gl860.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_gl860)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-gl800/description
- The GL860 USB Camera Driver (gl860) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-gl860))
-
-
-define KernelPackage/video-gspca-jeilinj
- TITLE:=jeilinj webcam support
- KCONFIG:=CONFIG_USB_GSPCA_JEILINJ
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_jeilinj.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_jeilinj)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-jeilinj/description
- The JEILINJ USB Camera Driver (jeilinj) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-jeilinj))
-
-
-define KernelPackage/video-gspca-konica
- TITLE:=konica webcam support
- KCONFIG:=CONFIG_USB_GSPCA_KONICA
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_konica.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_konica)
- $(call AddDepends/camera-gspca)
-endef
-
-define KernelPackage/video-gspca-konica/description
- The Konica USB Camera Driver (konica) kernel module.
-endef
-
-$(eval $(call KernelPackage,video-gspca-konica))
diff --git a/package/kernel/modules/virtual.mk b/package/kernel/modules/virtual.mk
deleted file mode 100644
index 5f8428be65..0000000000
--- a/package/kernel/modules/virtual.mk
+++ /dev/null
@@ -1,171 +0,0 @@
-#
-# Copyright (C) 2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-VIRTUAL_MENU:=Virtualization Support
-
-
-define KernelPackage/virtio-balloon
- SUBMENU:=$(VIRTUAL_MENU)
- TITLE:=VirtIO balloon driver
- DEPENDS:=@TARGET_x86_kvm_guest
- KCONFIG:=CONFIG_VIRTIO_BALLOON
- FILES:=$(LINUX_DIR)/drivers/virtio/virtio_balloon.ko
- AUTOLOAD:=$(call AutoLoad,06,virtio-balloon)
-endef
-
-define KernelPackage/virtio-balloon/description
- Kernel module for VirtIO memory ballooning support
-endef
-
-$(eval $(call KernelPackage,virtio-balloon))
-
-
-define KernelPackage/virtio-net
- SUBMENU:=$(VIRTUAL_MENU)
- TITLE:=VirtIO network driver
- DEPENDS:=@TARGET_x86_kvm_guest
- KCONFIG:=CONFIG_VIRTIO_NET
- FILES:=$(LINUX_DIR)/drivers/net/virtio_net.ko
- AUTOLOAD:=$(call AutoLoad,50,virtio_net)
-endef
-
-define KernelPackage/virtio-net/description
- Kernel module for the VirtIO paravirtualized network device
-endef
-
-$(eval $(call KernelPackage,virtio-net))
-
-
-define KernelPackage/virtio-random
- SUBMENU:=$(VIRTUAL_MENU)
- TITLE:=VirtIO Random Number Generator support
- DEPENDS:=@TARGET_x86_kvm_guest
- KCONFIG:=CONFIG_HW_RANDOM_VIRTIO
- FILES:=$(LINUX_DIR)/drivers/char/hw_random/virtio-rng.ko
- AUTOLOAD:=$(call AutoLoad,09,virtio-rng)
-endef
-
-define KernelPackage/virtio-random/description
- Kernel module for the VirtIO Random Number Generator
-endef
-
-$(eval $(call KernelPackage,virtio-random))
-
-define KernelPackage/xen-fs
- SUBMENU:=$(VIRTUAL_MENU)
- TITLE:=Xen filesystem
- DEPENDS:=@TARGET_x86_xen_domu
- KCONFIG:= \
- CONFIG_XENFS \
- CONFIG_XEN_COMPAT_XENFS=y
- FILES:=$(LINUX_DIR)/drivers/xen/xenfs/xenfs.ko
- AUTOLOAD:=$(call AutoLoad,05,xenfs)
-endef
-
-define KernelPackage/xen-fs/description
- Kernel module for the Xen filesystem
-endef
-
-$(eval $(call KernelPackage,xen-fs))
-
-
-define KernelPackage/xen-evtchn
- SUBMENU:=$(VIRTUAL_MENU)
- TITLE:=Xen event channels
- DEPENDS:=@TARGET_x86_xen_domu
- KCONFIG:=CONFIG_XEN_DEV_EVTCHN
- FILES:=$(LINUX_DIR)/drivers/xen/xen-evtchn.ko
- AUTOLOAD:=$(call AutoLoad,06,xen-evtchn)
-endef
-
-define KernelPackage/xen-evtchn/description
- Kernel module for the /dev/xen/evtchn device
-endef
-
-$(eval $(call KernelPackage,xen-evtchn))
-
-define KernelPackage/xen-fbdev
- SUBMENU:=$(VIRTUAL_MENU)
- TITLE:=Xen virtual frame buffer
- DEPENDS:=@TARGET_x86_xen_domu +kmod-fb
- KCONFIG:= \
- CONFIG_XEN_FBDEV_FRONTEND \
- CONFIG_FB_DEFERRED_IO=y \
- CONFIG_FB_SYS_COPYAREA \
- CONFIG_FB_SYS_FILLRECT \
- CONFIG_FB_SYS_FOPS \
- CONFIG_FB_SYS_IMAGEBLIT \
- CONFIG_FIRMWARE_EDID=n
- FILES:= \
- $(LINUX_DIR)/drivers/video/xen-fbfront.ko \
- $(LINUX_DIR)/drivers/video/syscopyarea.ko \
- $(LINUX_DIR)/drivers/video/sysfillrect.ko \
- $(LINUX_DIR)/drivers/video/fb_sys_fops.ko \
- $(LINUX_DIR)/drivers/video/sysimgblt.ko
- AUTOLOAD:=$(call AutoLoad,07, \
- fb \
- syscopyarea \
- sysfillrect \
- fb_sys_fops \
- sysimgblt \
- xen-fbfront \
- )
-endef
-
-define KernelPackage/xen-fbdev/description
- Kernel module for the Xen virtual frame buffer
-endef
-
-$(eval $(call KernelPackage,xen-fbdev))
-
-
-define KernelPackage/xen-kbddev
- SUBMENU:=$(VIRTUAL_MENU)
- TITLE:=Xen virtual keyboard and mouse
- DEPENDS:=@TARGET_x86_xen_domu
- KCONFIG:=CONFIG_XEN_KBDDEV_FRONTEND
- FILES:=$(LINUX_DIR)/drivers/input/xen-kbdfront.ko
- AUTOLOAD:=$(call AutoLoad,08,xen-kbdfront)
-endef
-
-define KernelPackage/xen-kbddev/description
- Kernel module for the Xen virtual keyboard and mouse
-endef
-
-$(eval $(call KernelPackage,xen-kbddev))
-
-
-define KernelPackage/xen-netdev
- SUBMENU:=$(VIRTUAL_MENU)
- TITLE:=Xen network device frontend
- DEPENDS:=@TARGET_x86_xen_domu
- KCONFIG:=CONFIG_XEN_NETDEV_FRONTEND
- FILES:=$(LINUX_DIR)/drivers/net/xen-netfront.ko
- AUTOLOAD:=$(call AutoLoad,09,xen-netfront)
-endef
-
-define KernelPackage/xen-netdev/description
- Kernel module for the Xen network device frontend
-endef
-
-$(eval $(call KernelPackage,xen-netdev))
-
-
-define KernelPackage/xen-pcidev
- SUBMENU:=$(VIRTUAL_MENU)
- TITLE:=Xen PCI device frontend
- DEPENDS:=@TARGET_x86_xen_domu
- KCONFIG:=CONFIG_XEN_PCIDEV_FRONTEND
- FILES:=$(LINUX_DIR)/drivers/pci/xen-pcifront.ko
- AUTOLOAD:=$(call AutoLoad,10,xen-pcifront)
-endef
-
-define KernelPackage/xen-pcidev/description
- Kernel module for the Xen network device frontend
-endef
-
-$(eval $(call KernelPackage,xen-pcidev))
diff --git a/package/kernel/modules/w1.mk b/package/kernel/modules/w1.mk
deleted file mode 100644
index 9093216831..0000000000
--- a/package/kernel/modules/w1.mk
+++ /dev/null
@@ -1,160 +0,0 @@
-#
-# Copyright (C) 2008-2010 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-W1_MENU:=W1 support
-W1_MASTERS_DIR:=$(LINUX_DIR)/drivers/w1/masters
-W1_SLAVES_DIR:=$(LINUX_DIR)/drivers/w1/slaves
-
-define KernelPackage/w1
- SUBMENU:=$(W1_MENU)
- TITLE:=Dallas's 1-wire support
- KCONFIG:=CONFIG_W1
- FILES:=$(LINUX_DIR)/drivers/w1/wire.ko
- AUTOLOAD:=$(call AutoLoad,50,wire)
-endef
-
-define KernelPackage/w1/description
- Kernel module for Dallas's 1-wire support
-endef
-
-$(eval $(call KernelPackage,w1))
-
-
-define AddDepends/w1
- SUBMENU:=$(W1_MENU)
- DEPENDS+=kmod-w1 $(1)
-endef
-
-
-#
-# 1-wire masters
-#
-define KernelPackage/w1-master-gpio
- TITLE:=GPIO 1-wire bus master driver
- DEPENDS:=@GPIO_SUPPORT
- KCONFIG:=CONFIG_W1_MASTER_GPIO
- FILES:=$(W1_MASTERS_DIR)/w1-gpio.ko
- AUTOLOAD:=$(call AutoLoad,60,w1-gpio)
- $(call AddDepends/w1)
-endef
-
-define KernelPackage/w1-master-gpio/description
- Kernel module for the GPIO 1-wire bus master driver
-endef
-
-$(eval $(call KernelPackage,w1-master-gpio))
-
-define KernelPackage/w1-master-ds2482
- TITLE:=DS2482 1-wire i2c bus master driver
- KCONFIG:=CONFIG_W1_MASTER_DS2482
- FILES:=$(W1_MASTERS_DIR)/ds2482.ko
- AUTOLOAD:=$(call AutoLoad,60,ds2482)
- $(call AddDepends/w1,+kmod-i2c-core)
-endef
-
-define KernelPackage/w1-master-ds2482/description
- Kernel module for the DS2482 i2c 1-wire bus master driver
- NOTE: Init with: echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device
- or use owfs
-endef
-
-$(eval $(call KernelPackage,w1-master-ds2482))
-
-
-define KernelPackage/w1-master-ds2490
- TITLE:=DS2490 1-wire usb bus master driver
- DEPENDS:=@USB_SUPPORT +kmod-usb-core
- KCONFIG:=CONFIG_W1_MASTER_DS2490
- FILES:=$(W1_MASTERS_DIR)/ds2490.ko
- AUTOLOAD:=$(call AutoLoad,60,ds2490)
- $(call AddDepends/w1)
-endef
-
-define KernelPackage/w1-master-ds2490/description
- Kernel module for the DS2490 usb 1-wire bus master driver
-endef
-
-$(eval $(call KernelPackage,w1-master-ds2490))
-
-#
-# 1-wire slaves
-#
-define KernelPackage/w1-slave-therm
- TITLE:=Thermal family implementation
- KCONFIG:=CONFIG_W1_SLAVE_THERM
- FILES:=$(W1_SLAVES_DIR)/w1_therm.ko
- AUTOLOAD:=$(call AutoLoad,70,w1_therm)
- $(call AddDepends/w1)
-endef
-
-define KernelPackage/w1-slave-therm/description
- Kernel module for 1-wire thermal sensors
-endef
-
-$(eval $(call KernelPackage,w1-slave-therm))
-
-
-define KernelPackage/w1-slave-smem
- TITLE:=Simple 64bit memory family implementation
- KCONFIG:=CONFIG_W1_SLAVE_SMEM
- FILES:=$(W1_SLAVES_DIR)/w1_smem.ko
- AUTOLOAD:=$(call AutoLoad,70,w1_smem)
- $(call AddDepends/w1)
-endef
-
-define KernelPackage/w1-slave-smem/description
- Kernel module for 1-wire simple 64bit memory rom(ds2401/ds2411/ds1990*)
-endef
-
-$(eval $(call KernelPackage,w1-slave-smem))
-
-define KernelPackage/w1-slave-ds2431
- TITLE:=DS2431 1kb EEPROM driver
- KCONFIG:= CONFIG_W1_SLAVE_DS2431
- FILES:=$(W1_SLAVES_DIR)/w1_ds2431.ko
- AUTOLOAD:=$(call AutoLoad,70,w1_ds2431)
- $(call AddDepends/w1)
-endef
-
-define KernelPackage/w1-slave-ds2431/description
- Kernel module for 1-wire 1kb EEPROM (DS2431)
-endef
-
-$(eval $(call KernelPackage,w1-slave-ds2431))
-
-define KernelPackage/w1-slave-ds2433
- TITLE:=DS2433 4kb EEPROM driver
- KCONFIG:= \
- CONFIG_W1_SLAVE_DS2433 \
- CONFIG_W1_SLAVE_DS2433_CRC=n
- FILES:=$(W1_SLAVES_DIR)/w1_ds2433.ko
- AUTOLOAD:=$(call AutoLoad,70,w1_ds2433)
- $(call AddDepends/w1)
-endef
-
-define KernelPackage/w1-slave-ds2433/description
- Kernel module for 1-wire 4kb EEPROM (DS2433)
-endef
-
-$(eval $(call KernelPackage,w1-slave-ds2433))
-
-
-define KernelPackage/w1-slave-ds2760
- TITLE:=Dallas 2760 battery monitor chip (HP iPAQ & others)
- KCONFIG:= \
- CONFIG_W1_SLAVE_DS2760 \
- CONFIG_W1_SLAVE_DS2433_CRC=n
- FILES:=$(W1_SLAVES_DIR)/w1_ds2760.ko
- AUTOLOAD:=$(call AutoLoad,70,w1_ds2760)
- $(call AddDepends/w1)
-endef
-
-define KernelPackage/w1-slave-ds2760/description
- Kernel module for 1-wire DS2760 battery monitor chip support
-endef
-
-$(eval $(call KernelPackage,w1-slave-ds2760))
diff --git a/package/kernel/modules/wireless.mk b/package/kernel/modules/wireless.mk
deleted file mode 100644
index ee0f965944..0000000000
--- a/package/kernel/modules/wireless.mk
+++ /dev/null
@@ -1,109 +0,0 @@
-#
-# Copyright (C) 2006-2008 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-WIRELESS_MENU:=Wireless Drivers
-
-define KernelPackage/net-airo
- SUBMENU:=$(WIRELESS_MENU)
- TITLE:=Cisco Aironet driver
- DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
- KCONFIG:=CONFIG_AIRO
- FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.ko
- AUTOLOAD:=$(call AutoLoad,50,airo)
-endef
-
-define KernelPackage/net-airo/description
- Kernel support for Cisco Aironet cards
-endef
-
-$(eval $(call KernelPackage,net-airo))
-
-
-define KernelPackage/net-zd1201
- SUBMENU:=$(WIRELESS_MENU)
- TITLE:=Zydas ZD1201 support
- DEPENDS:=@USB_SUPPORT +@DRIVER_WEXT_SUPPORT
- KCONFIG:=CONFIG_USB_ZD1201
- FILES:=$(LINUX_DIR)/drivers/net/wireless/zd1201.ko
- AUTOLOAD:=$(call AutoLoad,60,zd1201)
-endef
-
-define KernelPackage/net-zd1201/description
- Kernel modules for Zydas ZD1201 support
- Devices using this chip:
- * Sweex LC100020
- * Zyxel ZyAir B-220
- * Peabird USB
- * Gigafast WF741-UIC
- * E-Tech Wireless USB Adapter
- * DSE 802.11b USB wireless LAN adapter
- * CC and C WLAN USB Adapter (WL 1202)
- * Edimax EW-7117U
- * X-Micro WLAN 11b USB Adapter
- * Belkin F5D6051
- * Topcom SKYR@CER WIRELESS USB STICK 11
- * Surecom EP-9001
- * JAHT WN-1011U
- * BeWAN Wi-Fi USB 11
- * NorthQ NQ9000
- * MSI UB11B
- * Origo WLL-1610
- * Longshine LCS-8131R
- * Gigabyte GN-WLBZ201
-endef
-
-ZD1201FW_NAME:=zd1201
-ZD1201FW_VERSION:=0.14
-ZD1201FW_DIR:=$(ZD1201FW_NAME)-$(ZD1201FW_VERSION)-fw
-ZD1201FW_FILE:=$(ZD1201FW_DIR).tar.gz
-
-define Download/net-zd1201
- FILE:=$(ZD1201FW_FILE)
- #http://downloads.sourceforge.net/project/linux-lc100020/%28NEW%29%20zd1201%20driver/zd1201.%20Version%200.14/zd1201-0.14-fw.tar.gz
- URL:=@SF/linux-lc100020/\(NEW\)\ $(ZD1201FW_NAME)\ driver/$(ZD1201FW_NAME).\ Version\ $(ZD1201FW_VERSION)/
- MD5SUM:=07a4febc365121f975e2c5e59791d55d
-endef
-
-define KernelPackage/net-zd1201/install
- $(INSTALL_DIR) $(1)/lib/firmware
- $(TAR) -C $(1)/lib/firmware -zxf $(DL_DIR)/$(ZD1201FW_FILE) --strip-components=1 $(ZD1201FW_DIR)/$(ZD1201FW_NAME).fw $(ZD1201FW_DIR)/$(ZD1201FW_NAME)-ap.fw
-endef
-
-$(eval $(call Download,net-zd1201))
-$(eval $(call KernelPackage,net-zd1201))
-
-
-define KernelPackage/net-prism54
- SUBMENU:=$(WIRELESS_MENU)
- TITLE:=Intersil Prism54 support
- DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
- KCONFIG:=CONFIG_PRISM54
- FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.ko
- AUTOLOAD:=$(call AutoLoad,60,prism54)
-endef
-
-define KernelPackage/net-prism54/description
- Kernel modules for Intersil Prism54 support
-endef
-
-# Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
-PRISM54_FW:=1.0.4.3.arm
-
-define Download/net-prism54
- FILE:=$(PRISM54_FW)
- URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
- MD5SUM:=8bd4310971772a486b9784c77f8a6df9
-endef
-
-define KernelPackage/net-prism54/install
- $(INSTALL_DIR) $(1)/lib/firmware
- $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
-endef
-
-$(eval $(call Download,net-prism54))
-$(eval $(call KernelPackage,net-prism54))
-