diff options
author | John Crispin <blogic@openwrt.org> | 2013-09-17 21:45:17 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-09-17 21:45:17 +0000 |
commit | 751f92881546b07452e922ad15be9d446f23f592 (patch) | |
tree | 2659076169733540dabefd531b086be6ce69f345 /package/kernel | |
parent | a1d883cc85daebe3acdcbb5e61183db57040d02a (diff) | |
download | master-187ad058-751f92881546b07452e922ad15be9d446f23f592.tar.gz master-187ad058-751f92881546b07452e922ad15be9d446f23f592.tar.bz2 master-187ad058-751f92881546b07452e922ad15be9d446f23f592.zip |
kernel: make most modules use AutoProbe
now that we have modprobe we can set more than half of the modules to AutoProbe
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38021 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/hostap-driver/Makefile | 8 | ||||
-rw-r--r-- | package/kernel/linux/modules/block.mk | 8 | ||||
-rw-r--r-- | package/kernel/linux/modules/crypto.mk | 4 | ||||
-rw-r--r-- | package/kernel/linux/modules/firewire.mk | 7 | ||||
-rw-r--r-- | package/kernel/linux/modules/hwmon.mk | 23 | ||||
-rw-r--r-- | package/kernel/linux/modules/i2c.mk | 1 | ||||
-rw-r--r-- | package/kernel/linux/modules/input.mk | 12 | ||||
-rw-r--r-- | package/kernel/linux/modules/lib.mk | 12 | ||||
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 52 | ||||
-rw-r--r-- | package/kernel/linux/modules/netfilter.mk | 58 | ||||
-rw-r--r-- | package/kernel/linux/modules/netsupport.mk | 13 | ||||
-rw-r--r-- | package/kernel/linux/modules/nls.mk | 1 | ||||
-rw-r--r-- | package/kernel/linux/modules/other.mk | 30 | ||||
-rw-r--r-- | package/kernel/linux/modules/spi.mk | 9 | ||||
-rw-r--r-- | package/kernel/linux/modules/usb.mk | 104 | ||||
-rw-r--r-- | package/kernel/linux/modules/video.mk | 76 | ||||
-rw-r--r-- | package/kernel/linux/modules/w1.mk | 17 | ||||
-rw-r--r-- | package/kernel/linux/modules/wireless.mk | 6 | ||||
-rw-r--r-- | package/kernel/mac80211/Makefile | 108 | ||||
-rw-r--r-- | package/kernel/mmc_over_gpio/Makefile | 2 |
20 files changed, 256 insertions, 295 deletions
diff --git a/package/kernel/hostap-driver/Makefile b/package/kernel/hostap-driver/Makefile index d08fd9c0a5..6a95c1e1d8 100644 --- a/package/kernel/hostap-driver/Makefile +++ b/package/kernel/hostap-driver/Makefile @@ -37,7 +37,7 @@ $(call KernelPackage/hostap/Default) DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-lib80211 +wireless-tools KCONFIG:=CONFIG_HOSTAP CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap.ko - AUTOLOAD:=$(call AutoLoad,60,hostap) + AUTOLOAD:=$(call AutoProbe,hostap) endef define KernelPackage/hostap/description @@ -54,7 +54,7 @@ $(call KernelPackage/hostap/Default) DEPENDS:=@PCMCIA_SUPPORT +kmod-hostap +kmod-pcmcia-core KCONFIG:=CONFIG_HOSTAP_CS FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_cs.ko - AUTOLOAD:=$(call AutoLoad,60,hostap_cs) + AUTOLOAD:=$(call AutoProbe,hostap_cs) endef define KernelPackage/hostap-cs/description @@ -69,7 +69,7 @@ $(call KernelPackage/hostap/Default) DEPENDS:=@PCI_SUPPORT +kmod-hostap KCONFIG:=CONFIG_HOSTAP_PCI FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_pci.ko - AUTOLOAD:=$(call AutoLoad,60,hostap_pci) + AUTOLOAD:=$(call AutoProbe,hostap_pci) endef define KernelPackage/hostap-pci/description @@ -84,7 +84,7 @@ $(call KernelPackage/hostap/Default) DEPENDS:=@PCI_SUPPORT +kmod-hostap KCONFIG:=CONFIG_HOSTAP_PLX FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_plx.ko - AUTOLOAD:=$(call AutoLoad,60,hostap_plx) + AUTOLOAD:=$(call AutoProbe,hostap_plx) endef define KernelPackage/hostap-plx/description diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk index 2b6dfacabb..8a84aa4e22 100644 --- a/package/kernel/linux/modules/block.mk +++ b/package/kernel/linux/modules/block.mk @@ -28,7 +28,6 @@ define KernelPackage/ata-core 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)) @@ -395,9 +394,6 @@ define KernelPackage/ide-core 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 @@ -571,7 +567,7 @@ define KernelPackage/scsi-core 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) + AUTOLOAD:=$(call AutoLoad,40,sd_mod,1) endef $(eval $(call KernelPackage,scsi-core)) @@ -601,7 +597,7 @@ define KernelPackage/scsi-cdrom FILES:= \ $(LINUX_DIR)/drivers/cdrom/cdrom.ko \ $(LINUX_DIR)/drivers/scsi/sr_mod.ko - AUTOLOAD:=$(call AutoLoad,30,cdrom) $(call AutoLoad,45,sr_mod) + AUTOLOAD:=$(call AutoLoad,45,sr_mod) endef $(eval $(call KernelPackage,scsi-cdrom)) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 42f37fe832..bb5bb2854b 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -27,7 +27,6 @@ define KernelPackage/crypto-core 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)) @@ -58,7 +57,6 @@ define KernelPackage/crypto-manager 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 @@ -217,7 +215,7 @@ endef define KernelPackage/crypto-aes/x86 FILES+=$(LINUX_DIR)/arch/x86/crypto/aes-i586.ko - AUTOLOAD:=$(call AutoLoad,09,aes_generic aes-i586) + AUTOLOAD:=$(call AutoLoad,09,aes-i586) endef $(eval $(call KernelPackage,crypto-aes)) diff --git a/package/kernel/linux/modules/firewire.mk b/package/kernel/linux/modules/firewire.mk index 0d5a7dfc7d..18b531a29b 100644 --- a/package/kernel/linux/modules/firewire.mk +++ b/package/kernel/linux/modules/firewire.mk @@ -13,7 +13,6 @@ define KernelPackage/firewire DEPENDS:=@PCI_SUPPORT +kmod-lib-crc-itu-t KCONFIG:=CONFIG_FIREWIRE FILES:=$(LINUX_DIR)/drivers/firewire/firewire-core.ko - AUTOLOAD:=$(call AutoLoad,25,firewire-core) endef define KernelPackage/firewire/description @@ -32,7 +31,7 @@ define KernelPackage/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) + AUTOLOAD:=$(call AutoProbe,firewire-ohci) endef @@ -49,7 +48,7 @@ define KernelPackage/firewire-sbp2 DEPENDS:=kmod-firewire +kmod-scsi-core KCONFIG:=CONFIG_FIREWIRE_SBP2 FILES:=$(LINUX_DIR)/drivers/firewire/firewire-sbp2.ko - AUTOLOAD:=$(call AutoLoad,50,firewire-sbp2) + AUTOLOAD:=$(call AutoProbe,firewire-sbp2) endef define KernelPackage/firewire-sbp2/description @@ -65,7 +64,7 @@ define KernelPackage/firewire-net DEPENDS:=kmod-firewire KCONFIG:=CONFIG_FIREWIRE_NET FILES:=$(LINUX_DIR)/drivers/firewire/firewire-net.ko - AUTOLOAD:=$(call AutoLoad,50,firewire-net) + AUTOLOAD:=$(call AutoProbe,firewire-net) endef define KernelPackage/firewire-net/description diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 54e9b180b3..5d117be27e 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -15,7 +15,6 @@ define KernelPackage/hwmon-core CONFIG_HWMON_DEBUG_CHIP=n FILES:= \ $(LINUX_DIR)/drivers/hwmon/hwmon.ko - AUTOLOAD:=$(call AutoLoad,17,hwmon,1) endef define KernelPackage/hwmon-core/description @@ -49,7 +48,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,adt7475) $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) endef @@ -64,7 +63,7 @@ define KernelPackage/hwmon-ina2xx TITLE:=INA2XX monitoring support KCONFIG:=CONFIG_SENSORS_INA2XX FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko - AUTOLOAD:=$(call AutoLoad,60,ina2xx) + AUTOLOAD:=$(call AutoProbe,ina2xx) $(call AddDepends/hwmon,+kmod-i2c-core) endef @@ -79,7 +78,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,lm63) $(call AddDepends/hwmon,+kmod-i2c-core) endef @@ -94,7 +93,7 @@ define KernelPackage/hwmon-lm75 TITLE:=LM75 monitoring support KCONFIG:=CONFIG_SENSORS_LM75 FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko - AUTOLOAD:=$(call AutoLoad,60,lm75) + AUTOLOAD:=$(call AutoProbe,lm75) $(call AddDepends/hwmon,+kmod-i2c-core) endef @@ -109,7 +108,7 @@ define KernelPackage/hwmon-lm77 TITLE:=LM77 monitoring support KCONFIG:=CONFIG_SENSORS_LM77 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko - AUTOLOAD:=$(call AutoLoad,60,lm77) + AUTOLOAD:=$(call AutoProbe,lm77) $(call AddDepends/hwmon,+kmod-i2c-core) endef @@ -124,7 +123,7 @@ define KernelPackage/hwmon-lm85 TITLE:=LM85 monitoring support KCONFIG:=CONFIG_SENSORS_LM85 FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko - AUTOLOAD:=$(call AutoLoad,60,lm85) + AUTOLOAD:=$(call AutoProbe,lm85) $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) endef @@ -139,7 +138,7 @@ define KernelPackage/hwmon-lm90 TITLE:=LM90 monitoring support KCONFIG:=CONFIG_SENSORS_LM90 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko - AUTOLOAD:=$(call AutoLoad,60,lm90) + AUTOLOAD:=$(call AutoProbe,lm90) $(call AddDepends/hwmon,+kmod-i2c-core) endef @@ -153,7 +152,7 @@ define KernelPackage/hwmon-lm92 TITLE:=LM92 monitoring support KCONFIG:=CONFIG_SENSORS_LM92 FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko - AUTOLOAD:=$(call AutoLoad,60,lm92) + AUTOLOAD:=$(call AutoProbe,lm92) $(call AddDepends/hwmon,+kmod-i2c-core) endef @@ -167,7 +166,7 @@ define KernelPackage/hwmon-lm95241 TITLE:=LM95241 monitoring support KCONFIG:=CONFIG_SENSORS_LM95241 FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko - AUTOLOAD:=$(call AutoLoad,60,lm95241) + AUTOLOAD:=$(call AutoProbe,lm95241) $(call AddDepends/hwmon,+kmod-i2c-core) endef @@ -181,7 +180,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,sht21) $(call AddDepends/hwmon,+kmod-i2c-core) endef @@ -195,7 +194,7 @@ define KernelPackage/hwmon-pc87360 TITLE:=PC87360 monitoring support KCONFIG:=CONFIG_SENSORS_PC87360 FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko - AUTOLOAD:=$(call AutoLoad,50,pc87360) + AUTOLOAD:=$(call AutoProbe,pc87360) $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid) endef diff --git a/package/kernel/linux/modules/i2c.mk b/package/kernel/linux/modules/i2c.mk index 92d82460f2..f1eea31807 100644 --- a/package/kernel/linux/modules/i2c.mk +++ b/package/kernel/linux/modules/i2c.mk @@ -30,6 +30,7 @@ endif define KernelPackage/i2c-core $(call i2c_defaults,$(I2C_CORE_MODULES),51) + AUTOLOAD:= TITLE:=I2C support endef diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk index 1daaad3471..421a6b8fca 100644 --- a/package/kernel/linux/modules/input.mk +++ b/package/kernel/linux/modules/input.mk @@ -27,7 +27,7 @@ define KernelPackage/hid-generic TITLE:=Generic HID device support KCONFIG:=CONFIG_HID_GENERIC FILES:=$(LINUX_DIR)/drivers/hid/hid-generic.ko - AUTOLOAD:=$(call AutoLoad,62,hid-generic) + AUTOLOAD:=$(call AutoProbe,hid-generic) $(call AddDepends/hid) endef @@ -42,7 +42,6 @@ define KernelPackage/input-core 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 @@ -76,7 +75,7 @@ define KernelPackage/input-gpio-keys CONFIG_KEYBOARD_GPIO \ CONFIG_INPUT_KEYBOARD=y FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko - AUTOLOAD:=$(call AutoLoad,60,gpio_keys) + AUTOLOAD:=$(call AutoProbe,gpio_keys) $(call AddDepends/input) endef @@ -96,7 +95,7 @@ define KernelPackage/input-gpio-keys-polled 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) + AUTOLOAD:=$(call AutoProbe,gpio_keys_polled,1) $(call AddDepends/input) endef @@ -112,7 +111,7 @@ define KernelPackage/input-gpio-encoder 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) + AUTOLOAD:=$(call AutoProbe,rotary_encoder) $(call AddDepends/input,@GPIO_SUPPORT) endef @@ -128,7 +127,7 @@ define KernelPackage/input-joydev TITLE:=Joystick device support KCONFIG:=CONFIG_INPUT_JOYDEV FILES:=$(LINUX_DIR)/drivers/input/joydev.ko - AUTOLOAD:=$(call AutoLoad,62,joydev) + AUTOLOAD:=$(call AutoProbe,joydev) $(call AddDepends/input) endef @@ -144,7 +143,6 @@ define KernelPackage/input-polldev 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 diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk index df8e99f073..fd7b54f2f8 100644 --- a/package/kernel/linux/modules/lib.mk +++ b/package/kernel/linux/modules/lib.mk @@ -12,7 +12,6 @@ define KernelPackage/lib-crc-ccitt 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 @@ -27,7 +26,6 @@ define KernelPackage/lib-crc-itu-t 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 @@ -42,7 +40,6 @@ define KernelPackage/lib-crc7 TITLE:=CRC7 support KCONFIG:=CONFIG_CRC7 FILES:=$(LINUX_DIR)/lib/crc7.ko - AUTOLOAD:=$(call AutoLoad,20,crc7) endef define KernelPackage/lib-crc7/description @@ -57,7 +54,6 @@ define KernelPackage/lib-crc8 TITLE:=CRC8 support KCONFIG:=CONFIG_CRC8 FILES:=$(LINUX_DIR)/lib/crc8.ko - AUTOLOAD:=$(call AutoLoad,20,crc8) endef define KernelPackage/lib-crc8/description @@ -72,7 +68,6 @@ define KernelPackage/lib-crc16 TITLE:=CRC16 support KCONFIG:=CONFIG_CRC16 FILES:=$(LINUX_DIR)/lib/crc16.ko - AUTOLOAD:=$(call AutoLoad,20,crc16,1) endef define KernelPackage/lib-crc16/description @@ -88,7 +83,6 @@ define KernelPackage/lib-crc32c 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 @@ -107,7 +101,6 @@ define KernelPackage/lib-lzo 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 @@ -123,7 +116,6 @@ define KernelPackage/lib-raid6 HIDDEN:=1 KCONFIG:=CONFIG_RAID6_PQ FILES:=$(LINUX_DIR)/lib/raid6/raid6_pq.ko - AUTOLOAD:=$(call AutoLoad,20,raid6_pq,1) endef define KernelPackage/lib-raid6/description @@ -139,7 +131,6 @@ define KernelPackage/lib-xor HIDDEN:=1 KCONFIG:=CONFIG_XOR_BLOCKS FILES:=$(LINUX_DIR)/crypto/xor.ko - AUTOLOAD:=$(call AutoLoad,20,xor,1) endef define KernelPackage/lib-xor/description @@ -161,7 +152,6 @@ SUBMENU:=$(LIB_MENU) $(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)) @@ -176,7 +166,6 @@ define KernelPackage/lib-zlib 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)) @@ -187,7 +176,6 @@ define KernelPackage/lib-cordic TITLE:=Cordic function support KCONFIG:=CONFIG_CORDIC FILES:=$(LINUX_DIR)/lib/cordic.ko - AUTOLOAD:=$(call AutoLoad,20,cordic) endef define KernelPackage/lib-cordic/description diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 99944c07a5..9c808e1ba5 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -13,7 +13,7 @@ define KernelPackage/sis190 DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_SIS190 FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis190.ko - AUTOLOAD:=$(call AutoLoad,50,sis190) + AUTOLOAD:=$(call AutoProbe,sis190) endef $(eval $(call KernelPackage,sis190)) @@ -27,7 +27,7 @@ define KernelPackage/skge CONFIG_SKGE_DEBUG=n \ CONFIG_SKGE_GENESIS=n FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/skge.ko - AUTOLOAD:=$(call AutoLoad,50,skge) + AUTOLOAD:=$(call AutoProbe,skge) endef $(eval $(call KernelPackage,skge)) @@ -39,7 +39,7 @@ define KernelPackage/atl2 DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_ATL2 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl2.ko - AUTOLOAD:=$(call AutoLoad,50,atl2) + AUTOLOAD:=$(call AutoProbe,atl2) endef $(eval $(call KernelPackage,atl2)) @@ -51,7 +51,7 @@ define KernelPackage/atl1 DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_ATL1 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl1.ko - AUTOLOAD:=$(call AutoLoad,50,atl1) + AUTOLOAD:=$(call AutoProbe,atl1) endef $(eval $(call KernelPackage,atl1)) @@ -63,7 +63,7 @@ define KernelPackage/atl1c DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_ATL1C FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1c/atl1c.ko - AUTOLOAD:=$(call AutoLoad,50,atl1c) + AUTOLOAD:=$(call AutoProbe,atl1c) endef $(eval $(call KernelPackage,atl1c)) @@ -75,7 +75,7 @@ define KernelPackage/atl1e DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_ATL1E FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1e/atl1e.ko - AUTOLOAD:=$(call AutoLoad,50,atl1e) + AUTOLOAD:=$(call AutoProbe,atl1e) endef $(eval $(call KernelPackage,atl1e)) @@ -105,7 +105,7 @@ define KernelPackage/et131x CONFIG_ET131X \ CONFIG_ET131X_DEBUG=n DEPENDS:=@PCI_SUPPORT +kmod-libphy - AUTOLOAD:=$(call AutoLoad,70,et131x) + AUTOLOAD:=$(call AutoProbe,et131x) endef define KernelPackage/et131x/description @@ -219,7 +219,7 @@ define KernelPackage/r6040 KCONFIG:=CONFIG_R6040 \ CONFIG_R6040_NAPI=y FILES:=$(LINUX_DIR)/drivers/net/ethernet/rdc/r6040.ko - AUTOLOAD:=$(call AutoLoad,99,r6040) + AUTOLOAD:=$(call AutoProbe,r6040) endef define KernelPackage/r6040/description @@ -235,7 +235,7 @@ define KernelPackage/sis900 DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_SIS900 FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis900.ko - AUTOLOAD:=$(call AutoLoad,50,sis900) + AUTOLOAD:=$(call AutoProbe,sis900) endef define KernelPackage/sis900/description @@ -251,7 +251,7 @@ define KernelPackage/sky2 DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_SKY2 FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/sky2.ko - AUTOLOAD:=$(call AutoLoad,50,sky2) + AUTOLOAD:=$(call AutoProbe,sky2) endef define KernelPackage/sky2/description @@ -274,7 +274,7 @@ define KernelPackage/via-rhine 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) + AUTOLOAD:=$(call AutoProbe,via-rhine) endef define KernelPackage/via-rhine/description @@ -290,7 +290,7 @@ define KernelPackage/via-velocity 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) + AUTOLOAD:=$(call AutoProbe,via-velocity) endef define KernelPackage/via-velocity/description @@ -310,7 +310,7 @@ define KernelPackage/8139too CONFIG_8139TOO_8129=n \ CONFIG_8139_OLD_RX_RESET=n FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139too.ko - AUTOLOAD:=$(call AutoLoad,50,8139too) + AUTOLOAD:=$(call AutoProbe,8139too) endef define KernelPackage/8139too/description @@ -326,7 +326,7 @@ define KernelPackage/8139cp DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_8139CP FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139cp.ko - AUTOLOAD:=$(call AutoLoad,50,8139cp) + AUTOLOAD:=$(call AutoProbe,8139cp) endef define KernelPackage/8139cp/description @@ -344,7 +344,7 @@ define KernelPackage/r8169 CONFIG_R8169_NAPI=y \ CONFIG_R8169_VLAN=n FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko - AUTOLOAD:=$(call AutoLoad,50,r8169) + AUTOLOAD:=$(call AutoProbe,r8169) endef define KernelPackage/r8169/description @@ -362,7 +362,7 @@ define KernelPackage/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) + AUTOLOAD:=$(call AutoProbe,8390 ne2k-pci) endef define KernelPackage/ne2k-pci/description @@ -378,7 +378,7 @@ define KernelPackage/e100 DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_E100 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e100.ko - AUTOLOAD:=$(call AutoLoad,50,e100) + AUTOLOAD:=$(call AutoProbe,e100) endef define KernelPackage/e100/description @@ -419,7 +419,7 @@ define KernelPackage/e1000e DEPENDS:=@PCIE_SUPPORT +(!LINUX_3_3&&!LINUX_3_6&&!LINUX_3_7):kmod-ptp KCONFIG:=CONFIG_E1000E FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko - AUTOLOAD:=$(call AutoLoad,50,e1000e) + AUTOLOAD:=$(call AutoProbe,e1000e) endef define KernelPackage/e1000e/description @@ -451,7 +451,7 @@ define KernelPackage/3c59x DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_VORTEX FILES:=$(LINUX_DIR)/drivers/net/ethernet/3com/3c59x.ko - AUTOLOAD:=$(call AutoLoad,50,3c59x) + AUTOLOAD:=$(call AutoProbe,3c59x) endef define KernelPackage/3c59x/description @@ -473,7 +473,7 @@ define KernelPackage/pcnet32 DEPENDS:=@(PCI_SUPPORT||TARGET_malta) KCONFIG:=CONFIG_PCNET32 FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/pcnet32.ko - AUTOLOAD:=$(call AutoLoad,50,pcnet32) + AUTOLOAD:=$(call AutoProbe,pcnet32) endef define KernelPackage/pcnet32/description @@ -550,7 +550,7 @@ define KernelPackage/gigaset $(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) + AUTOLOAD:=$(call AutoProbe,gigaset bas_gigaset ser_gigaset usb_gigaset) endef define KernelPackage/gigaset/description @@ -568,7 +568,7 @@ define KernelPackage/macvlan TITLE:=MAC-VLAN support KCONFIG:=CONFIG_MACVLAN FILES:=$(LINUX_DIR)/drivers/net/macvlan.ko - AUTOLOAD:=$(call AutoLoad,50,macvlan) + AUTOLOAD:=$(call AutoProbe,macvlan) endef define KernelPackage/macvlan/description @@ -602,7 +602,7 @@ define KernelPackage/tulip $(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) + AUTOLOAD:=$(call AutoProbe,tulip) endef define KernelPackage/tulip/description @@ -620,7 +620,7 @@ define KernelPackage/solos-pci DEPENDS:=@PCI_SUPPORT +kmod-atm KCONFIG:=CONFIG_ATM_SOLOS FILES:=$(LINUX_DIR)/drivers/atm/solos-pci.ko - AUTOLOAD:=$(call AutoLoad,50,solos-pci) + AUTOLOAD:=$(call AutoProbe,solos-pci) endef define KernelPackage/solos-pci/description @@ -687,7 +687,7 @@ define KernelPackage/forcedeth DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_FORCEDETH FILES:=$(LINUX_DIR)/drivers/net/ethernet/nvidia/forcedeth.ko - AUTOLOAD:=$(call AutoLoad,50,forcedeth) + AUTOLOAD:=$(call AutoProbe,forcedeth) endef define KernelPackage/forcedeth/description @@ -734,7 +734,7 @@ define KernelPackage/gianfar 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) + AUTOLOAD:=$(call AutoProbe,gianfar_driver) endef define KernelPackage/gianfar/description diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk index f657bad4c5..7509cede70 100644 --- a/package/kernel/linux/modules/netfilter.mk +++ b/package/kernel/linux/modules/netfilter.mk @@ -18,7 +18,7 @@ define KernelPackage/ipt-core 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_CORE-m))) endef define KernelPackage/ipt-core/description @@ -46,7 +46,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_CONNTRACK-m))) $(call AddDepends/ipt) endef @@ -67,7 +67,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_CONNTRACK_EXTRA-m))) $(call AddDepends/ipt,+kmod-ipt-conntrack) endef @@ -88,7 +88,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_FILTER-m))) $(call AddDepends/ipt,+kmod-lib-textsearch +kmod-ipt-conntrack) endef @@ -106,7 +106,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_IPOPT-m))) $(call AddDepends/ipt) endef @@ -133,7 +133,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_IPSEC-m))) $(call AddDepends/ipt) endef @@ -152,7 +152,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_NAT-m))) $(call AddDepends/ipt,+kmod-ipt-conntrack) endef @@ -186,7 +186,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_NAT_EXTRA-m))) $(call AddDepends/ipt,+kmod-ipt-nat) endef @@ -204,7 +204,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_NATHELPER-m))) $(call AddDepends/ipt,+kmod-ipt-nat) endef @@ -223,7 +223,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_NATHELPER_EXTRA-m))) $(call AddDepends/ipt,+kmod-ipt-nat +kmod-lib-textsearch) endef @@ -248,7 +248,7 @@ define KernelPackage/ipt-queue 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_QUEUE-m))) $(call AddDepends/ipt) endef @@ -265,7 +265,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_ULOG-m))) $(call AddDepends/ipt) endef @@ -283,7 +283,7 @@ define KernelPackage/ipt-debug 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_DEBUG-m))) $(call AddDepends/ipt) endef @@ -300,7 +300,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_LED-m))) $(call AddDepends/ipt) endef @@ -320,7 +320,7 @@ define KernelPackage/ipt-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))) + AUTOLOAD:=$(call AutoProbe,$(notdir nf_tproxy_core $(IPT_TPROXY-m))) $(call AddDepends/ipt) endef @@ -338,7 +338,7 @@ define KernelPackage/ipt-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))) + AUTOLOAD:=$(call AutoProbe,$(notdir nf_tee $(IPT_TEE-m))) $(call AddDepends/ipt) endef @@ -356,7 +356,7 @@ define KernelPackage/ipt-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))) + AUTOLOAD:=$(call AutoProbe,$(notdir nf_tee $(IPT_U32-m))) $(call AddDepends/ipt) endef @@ -371,7 +371,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_IPRANGE-m))) $(call AddDepends/ipt) endef @@ -388,7 +388,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(IPT_EXTRA-m))) $(call AddDepends/ipt) endef @@ -429,7 +429,7 @@ define KernelPackage/arptables KCONFIG:=CONFIG_IP_NF_ARPTABLES \ CONFIG_IP_NF_ARPFILTER \ CONFIG_IP_NF_ARP_MANGLE - AUTOLOAD:=$(call AutoLoad,49,$(ARP_MODULES)) + AUTOLOAD:=$(call AutoProbe,$(ARP_MODULES)) endef define KernelPackage/arptables/description @@ -446,7 +446,7 @@ define KernelPackage/ebtables FILES:=$(foreach mod,$(EBTABLES-m),$(LINUX_DIR)/net/$(mod).ko) KCONFIG:=CONFIG_BRIDGE_NETFILTER=y \ $(KCONFIG_EBTABLES) - AUTOLOAD:=$(call AutoLoad,49,$(notdir $(EBTABLES-m))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(EBTABLES-m))) endef define KernelPackage/ebtables/description @@ -468,7 +468,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(EBTABLES_IP4-m))) $(call AddDepends/ebtables) endef @@ -484,7 +484,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(EBTABLES_IP6-m))) $(call AddDepends/ebtables) endef @@ -500,7 +500,7 @@ 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))) + AUTOLOAD:=$(call AutoProbe,$(notdir $(EBTABLES_WATCHERS-m))) $(call AddDepends/ebtables) endef @@ -518,7 +518,7 @@ define KernelPackage/nfnetlink DEPENDS:=+kmod-ipt-core FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink.ko KCONFIG:=CONFIG_NETFILTER_NETLINK - AUTOLOAD:=$(call AutoLoad,48,nfnetlink) + AUTOLOAD:=$(call AutoProbe,nfnetlink) endef define KernelPackage/nfnetlink/description @@ -538,7 +538,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,nfnetlink_log) $(call AddDepends/nfnetlink) endef @@ -553,7 +553,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,nfnetlink_queue) $(call AddDepends/nfnetlink) endef @@ -568,7 +568,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,nf_conntrack_netlink) $(call AddDepends/nfnetlink,+kmod-ipt-conntrack) endef @@ -585,7 +585,7 @@ define KernelPackage/ipt-hashlimit DEPENDS:=+kmod-ipt-core KCONFIG:=$(KCONFIG_IPT_HASHLIMIT) FILES:=$(LINUX_DIR)/net/netfilter/xt_hashlimit.ko - AUTOLOAD:=$(call AutoLoad,50,xt_hashlimit) + AUTOLOAD:=$(call AutoProbe,xt_hashlimit) $(call KernelPackage/ipt) endef diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index da84ab8dc3..b9e7740d85 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -521,7 +521,6 @@ define KernelPackage/slhc DEPENDS:=+kmod-lib-crc-ccitt KCONFIG:=CONFIG_SLHC FILES:=$(LINUX_DIR)/drivers/net/slip/slhc.ko - AUTOLOAD:=$(call AutoLoad,29,slhc) endef $(eval $(call KernelPackage,slhc)) @@ -537,7 +536,6 @@ define KernelPackage/ppp FILES:= \ $(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \ $(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko - AUTOLOAD:=$(call AutoLoad,30,ppp_generic ppp_async) endef define KernelPackage/ppp/description @@ -569,7 +567,6 @@ define KernelPackage/pppox DEPENDS:=kmod-ppp KCONFIG:=CONFIG_PPPOE FILES:=$(LINUX_DIR)/drivers/net/ppp/pppox.ko - AUTOLOAD:=$(call AutoLoad,40,pppox) endef define KernelPackage/pppox/description @@ -585,7 +582,7 @@ define KernelPackage/pppoe DEPENDS:=kmod-ppp +kmod-pppox KCONFIG:=CONFIG_PPPOE FILES:=$(LINUX_DIR)/drivers/net/ppp/pppoe.ko - AUTOLOAD:=$(call AutoLoad,41,pppoe) + AUTOLOAD:=$(call AutoProbe,pppoe) endef define KernelPackage/pppoe/description @@ -617,7 +614,7 @@ define KernelPackage/pptp DEPENDS:=kmod-ppp +kmod-gre +kmod-pppox KCONFIG:=CONFIG_PPTP FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko - AUTOLOAD:=$(call AutoLoad,41,pptp) + AUTOLOAD:=$(call AutoProbe,pptp) endef $(eval $(call KernelPackage,pptp)) @@ -629,7 +626,7 @@ define KernelPackage/pppol2tp DEPENDS:=kmod-ppp +kmod-pppox +kmod-l2tp KCONFIG:=CONFIG_PPPOL2TP FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko - AUTOLOAD:=$(call AutoLoad,41,l2tp_ppp) + AUTOLOAD:=$(call AutoProbe,l2tp_ppp) endef define KernelPackage/pppol2tp/description @@ -645,7 +642,7 @@ define KernelPackage/ipoa DEPENDS:=kmod-atm KCONFIG:=CONFIG_ATM_CLIP FILES:=$(LINUX_DIR)/net/atm/clip.ko - AUTOLOAD:=$(call AutoLoad,40,clip) + AUTOLOAD:=$(call AutoProbe,clip) endef define KernelPackage/ipoa/description @@ -663,7 +660,7 @@ define KernelPackage/mppe CONFIG_PPP_MPPE_MPPC \ CONFIG_PPP_MPPE FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_mppe.ko - AUTOLOAD:=$(call AutoLoad,31,ppp_mppe) + AUTOLOAD:=$(call AutoProbe,ppp_mppe) endef define KernelPackage/mppe/description diff --git a/package/kernel/linux/modules/nls.mk b/package/kernel/linux/modules/nls.mk index 28791b6b7b..f1fa0faedb 100644 --- a/package/kernel/linux/modules/nls.mk +++ b/package/kernel/linux/modules/nls.mk @@ -10,7 +10,6 @@ define KernelPackage/nls-base 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 diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 2f10741cea..15c9120762 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -44,7 +44,7 @@ define KernelPackage/bluetooth $(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) + AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb) endef define KernelPackage/bluetooth/description @@ -60,7 +60,7 @@ define KernelPackage/bluetooth-hci-h4p 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) + AUTOLOAD:=$(call AutoProbe,hci_h4p) endef define KernelPackage/bluetooth-hci-h4p/description @@ -91,7 +91,7 @@ define KernelPackage/eeprom-at24 KCONFIG:=CONFIG_EEPROM_AT24 DEPENDS:=+kmod-i2c-core FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko - AUTOLOAD:=$(call AutoLoad,60,at24) + AUTOLOAD:=$(call AutoProbe,at24) endef define KernelPackage/eeprom-at24/description @@ -106,7 +106,7 @@ define KernelPackage/eeprom-at25 TITLE:=EEPROM AT25 support KCONFIG:=CONFIG_EEPROM_AT25 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko - AUTOLOAD:=$(call AutoLoad,61,at25) + AUTOLOAD:=$(call AutoProbe,at25) endef define KernelPackage/eeprom-at25/description @@ -153,7 +153,7 @@ define KernelPackage/gpio-nxp-74hc164 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) + AUTOLOAD:=$(call AutoProbe,nxp_74hc164) endef define KernelPackage/gpio-nxp-74hc164/description @@ -211,7 +211,7 @@ define KernelPackage/mmc 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) + AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1) endef define KernelPackage/mmc/description @@ -378,7 +378,6 @@ define KernelPackage/pwm 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 @@ -394,7 +393,7 @@ define KernelPackage/pwm-gpio DEPENDS:=+kmod-pwm KCONFIG:=CONFIG_GPIO_PWM FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko - AUTOLOAD:=$(call AutoLoad,51,gpio-pwm) + AUTOLOAD:=$(call AutoProbe,gpio-pwm) endef define KernelPackage/pwm-gpio/description @@ -411,7 +410,7 @@ define KernelPackage/rtc-isl1208 DEPENDS+=+kmod-i2c-core KCONFIG:=CONFIG_RTC_DRV_ISL1208 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko - AUTOLOAD:=$(call AutoLoad,60,rtc-isl1208) + AUTOLOAD:=$(call AutoProbe,rtc-isl1208) endef define KernelPackage/rtc-isl1208/description @@ -428,7 +427,7 @@ define KernelPackage/rtc-marvell 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) + AUTOLOAD:=$(call AutoProbe,rtc-mv) endef define KernelPackage/rtc-marvell/description @@ -443,7 +442,7 @@ define KernelPackage/rtc-pcf8563 $(call AddDepends/rtc,+kmod-i2c-core) KCONFIG:=CONFIG_RTC_DRV_PCF8563 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko - AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563) + AUTOLOAD:=$(call AutoProbe,rtc-pcf8563) endef define KernelPackage/rtc-pcf8563/description @@ -460,7 +459,7 @@ define KernelPackage/rtc-pcf2123 $(call AddDepends/rtc) KCONFIG:=CONFIG_RTC_DRV_PCF2123 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko - AUTOLOAD:=$(call AutoLoad,60,rtc-pcf2123) + AUTOLOAD:=$(call AutoProbe,rtc-pcf2123) endef define KernelPackage/rtc-pcf2123/description @@ -475,7 +474,7 @@ define KernelPackage/rtc-pt7c4338 $(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) + AUTOLOAD:=$(call AutoProbe,rtc-pt7c4338) endef define KernelPackage/rtc-pt7c4338/description @@ -627,7 +626,7 @@ define KernelPackage/mvsdio 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) + AUTOLOAD:=$(call AutoProbe,mvsdio) endef define KernelPacakge/mvsdio/description @@ -677,7 +676,7 @@ define KernelPackage/ptp-gianfar 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) + AUTOLOAD:=$(call AutoProbe,gianfar_ptp) endef define KernelPacakge/ptp-gianfar/description @@ -693,7 +692,6 @@ define KernelPackage/random-core TITLE:=Hardware Random Number Generator Core support KCONFIG:=CONFIG_HW_RANDOM FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko - AUTOLOAD:=$(call AutoLoad,10,rng-core) endef define KernelPackage/random-core/description diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel/linux/modules/spi.mk index cae6bc632f..1c2a789fed 100644 --- a/package/kernel/linux/modules/spi.mk +++ b/package/kernel/linux/modules/spi.mk @@ -17,7 +17,7 @@ define KernelPackage/mmc-spi FILES:=\ $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/mmc/host/of_mmc_spi.ko) \ $(LINUX_DIR)/drivers/mmc/host/mmc_spi.ko - AUTOLOAD:=$(call AutoLoad,90,$(if $(CONFIG_OF),of_mmc_spi) mmc_spi) + AUTOLOAD:=$(call AutoProbe,$(if $(CONFIG_OF),of_mmc_spi) mmc_spi) endef define KernelPackage/mmc-spi/description @@ -34,7 +34,6 @@ define KernelPackage/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 @@ -50,7 +49,7 @@ define KernelPackage/spi-gpio-old 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) + AUTOLOAD:=$(call AutoProbe,spi_gpio_old) endef define KernelPackage/spi-gpio-old/description @@ -66,7 +65,7 @@ define KernelPackage/spi-gpio DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang KCONFIG:=CONFIG_SPI_GPIO FILES:=$(LINUX_DIR)/drivers/spi/spi-gpio.ko - AUTOLOAD:=$(call AutoLoad,92,spi-gpio) + AUTOLOAD:=$(call AutoProbe,spi-gpio) endef define KernelPackage/spi-gpio/description @@ -82,7 +81,7 @@ define KernelPackage/spi-dev CONFIG_SPI=y \ CONFIG_SPI_MASTER=y FILES:=$(LINUX_DIR)/drivers/spi/spidev.ko - AUTOLOAD:=$(call AutoLoad,93,spidev) + AUTOLOAD:=$(call AutoProbe,spidev) endef define KernelPackage/spi-dev/description diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 814d59619e..1614419273 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -204,7 +204,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,cdc-acm) $(call AddDepends/usb) endef @@ -219,7 +219,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,cdc-wdm) $(call AddDepends/usb) $(call AddDepends/usb-net) endef @@ -243,12 +243,12 @@ 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) + AUTOLOAD:=$(call AutoProbe,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) + AUTOLOAD:=$(call AutoProbe,snd-usb-lib snd-usb-audio) endif endef @@ -263,7 +263,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,usblp) $(call AddDepends/usb) endef @@ -278,7 +278,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,usbserial) $(call AddDepends/usb) endef @@ -299,7 +299,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,belkin_sa) $(call AddDepends/usb-serial) endef @@ -314,7 +314,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,ch341) $(call AddDepends/usb-serial) endef @@ -329,7 +329,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,ftdi_sio) $(call AddDepends/usb-serial) endef @@ -344,7 +344,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,ti_usb_3410_5052) $(call AddDepends/usb-serial) endef @@ -359,7 +359,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,ipw) $(call AddDepends/usb-serial,+kmod-usb-serial-wwan) endef @@ -370,7 +370,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,mct_u232) $(call AddDepends/usb-serial) endef @@ -385,7 +385,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,mos7720) $(call AddDepends/usb-serial) endef @@ -400,7 +400,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,pl2303) $(call AddDepends/usb-serial) endef @@ -415,7 +415,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,cp210x) $(call AddDepends/usb-serial) endef @@ -430,7 +430,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,ark3116) $(call AddDepends/usb-serial) endef @@ -445,7 +445,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,oti6858) $(call AddDepends/usb-serial) endef @@ -460,7 +460,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,sierra) $(call AddDepends/usb-serial) endef @@ -475,7 +475,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,moto_modem) $(call AddDepends/usb-serial) endef @@ -490,7 +490,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,visor) $(call AddDepends/usb-serial) endef @@ -505,7 +505,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,cypress_m8) $(call AddDepends/usb-serial) endef @@ -538,7 +538,7 @@ define KernelPackage/usb-serial-keyspan FILES:= \ $(LINUX_DIR)/drivers/usb/serial/keyspan.ko \ $(wildcard $(LINUX_DIR)/drivers/usb/misc/ezusb.ko) - AUTOLOAD:=$(call AutoLoad,65,ezusb keyspan) + AUTOLOAD:=$(call AutoProbe,ezusb keyspan) $(call AddDepends/usb-serial) endef @@ -553,7 +553,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,usb_wwan) $(call AddDepends/usb-serial) endef @@ -569,7 +569,7 @@ define KernelPackage/usb-serial-option DEPENDS:=+kmod-usb-serial-wwan KCONFIG:=CONFIG_USB_SERIAL_OPTION FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko - AUTOLOAD:=$(call AutoLoad,65,option) + AUTOLOAD:=$(call AutoProbe,option) $(call AddDepends/usb-serial) endef @@ -584,7 +584,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,qcserial) $(call AddDepends/usb-serial,+kmod-usb-serial-wwan) endef @@ -600,7 +600,7 @@ define KernelPackage/usb-storage DEPENDS:= +kmod-scsi-core KCONFIG:=CONFIG_USB_STORAGE FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko - AUTOLOAD:=$(call AutoLoad,60,usb-storage,1) + AUTOLOAD:=$(call AutoProbe,usb-storage,1) $(call AddDepends/usb) endef @@ -637,7 +637,7 @@ define KernelPackage/usb-storage-extras $(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 \ + AUTOLOAD:=$(call AutoProbe,ums-alauda ums-cypress ums-datafab \ ums-freecom ums-isd200 ums-jumpshot \ ums-karma ums-sddr09 ums-sddr55 ums-usbat) endef @@ -655,7 +655,7 @@ define KernelPackage/usb-atm DEPENDS:=+kmod-atm KCONFIG:=CONFIG_USB_ATM FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko - AUTOLOAD:=$(call AutoLoad,60,usbatm) + AUTOLOAD:=$(call AutoProbe,usbatm) $(call AddDepends/usb) endef @@ -676,7 +676,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,speedtch) $(call AddDepends/usb-atm) endef @@ -691,7 +691,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,ueagle-atm) $(call AddDepends/usb-atm) endef @@ -706,7 +706,7 @@ define KernelPackage/usb-atm-cxacru TITLE:=cxacru FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko KCONFIG:=CONFIG_USB_CXACRU - AUTOLOAD:=$(call AutoLoad,70,cxacru) + AUTOLOAD:=$(call AutoProbe,cxacru) $(call AddDepends/usb-atm) endef @@ -720,7 +720,7 @@ $(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) + AUTOLOAD:=$(call AutoProbe,usbnet) FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko $(call AddDepends/usb) endef @@ -743,7 +743,7 @@ define KernelPackage/usb-net-asix DEPENDS:=+!LINUX_3_3:kmod-libphy KCONFIG:=CONFIG_USB_NET_AX8817X FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko - AUTOLOAD:=$(call AutoLoad,61,asix) + AUTOLOAD:=$(call AutoProbe,asix) $(call AddDepends/usb-net) endef @@ -759,7 +759,7 @@ define KernelPackage/usb-net-hso KCONFIG:=CONFIG_USB_HSO FILES:= \ $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko - AUTOLOAD:=$(call AutoLoad,61,hso) + AUTOLOAD:=$(call AutoProbe,hso) $(call AddDepends/usb-net) $(call AddDepends/rfkill) endef @@ -775,7 +775,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,kaweth) $(call AddDepends/usb-net) endef @@ -790,7 +790,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,pegasus) $(call AddDepends/usb-net) endef @@ -805,7 +805,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,mcs7830) $(call AddDepends/usb-net) endef @@ -820,7 +820,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,dm9601) $(call AddDepends/usb-net) endef @@ -834,7 +834,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,cdc_ether) $(call AddDepends/usb-net) endef @@ -849,7 +849,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,qmi_wwan) $(call AddDepends/usb-net,+kmod-usb-wdm) endef @@ -864,7 +864,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,rndis_host) $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether) endef @@ -881,7 +881,7 @@ define KernelPackage/usb-net-cdc-mbim KCONFIG:=CONFIG_USB_NET_CDC_MBIM FILES:= \ $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_mbim.ko - AUTOLOAD:=$(call AutoLoad,62,cdc_mbim) + AUTOLOAD:=$(call AutoProbe,cdc_mbim) $(call AddDepends/usb-net,+kmod-usb-wdm +kmod-usb-net-cdc-ncm) endef @@ -896,7 +896,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,cdc_ncm) $(call AddDepends/usb-net) endef @@ -911,7 +911,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,sierra_net) $(call AddDepends/usb-net) endef @@ -926,7 +926,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,ipheth) $(call AddDepends/usb-net) endef @@ -941,7 +941,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,usbhid) $(call AddDepends/usb) $(call AddDepends/hid) $(call AddDepends/input,+kmod-input-evdev) @@ -958,7 +958,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,yealink) $(call AddDepends/usb) $(call AddDepends/input,+kmod-input-evdev) endef @@ -974,7 +974,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,cm109) $(call AddDepends/usb) $(call AddDepends/input,+kmod-input-evdev) endef @@ -1007,7 +1007,7 @@ define KernelPackage/usbip CONFIG_USBIP_CORE \ CONFIG_USBIP_DEBUG=n FILES:=$(LINUX_DIR)/drivers/staging/usbip/usbip-core.ko - AUTOLOAD:=$(call AutoLoad,90,usbip-core) + AUTOLOAD:=$(call AutoProbe,usbip-core) $(call AddDepends/usb) endef @@ -1019,7 +1019,7 @@ define KernelPackage/usbip-client 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) + AUTOLOAD := $(call AutoProbe,vhci-hcd) $(call AddDepends/usb) endef @@ -1032,7 +1032,7 @@ $(call KernelPackage/usbip/Default) DEPENDS := +kmod-usbip KCONFIG := CONFIG_USBIP_HOST FILES := $(LINUX_DIR)/drivers/staging/usbip/usbip-host.ko - AUTOLOAD := $(call AutoLoad,95,usbip-host) + AUTOLOAD := $(call AutoProbe,usbip-host) $(call AddDepends/usb) endef @@ -1084,7 +1084,7 @@ define KernelPackage/usbmon KCONFIG:=CONFIG_USB_MON $(call AddDepends/usb) FILES:=$(LINUX_DIR)/drivers/usb/mon/usbmon.ko - AUTOLOAD:=$(call AutoLoad,60,usbmon) + AUTOLOAD:=$(call AutoProbe,usbmon) endef define KernelPackage/usbmon/description diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 407ff8d942..0681b0e767 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -159,7 +159,7 @@ define KernelPackage/video-cpia2 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) + AUTOLOAD:=$(call AutoProbe,cpia2) $(call AddDepends/camera) endef @@ -175,7 +175,7 @@ define KernelPackage/video-sn9c102 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) + AUTOLOAD:=$(call AutoProbe,gspca_sn9c20x) $(call AddDepends/camera) endef @@ -193,7 +193,7 @@ define KernelPackage/video-pwc CONFIG_USB_PWC \ CONFIG_USB_PWC_DEBUG=n FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/pwc/pwc.ko - AUTOLOAD:=$(call AutoLoad,70,pwc) + AUTOLOAD:=$(call AutoProbe,pwc) $(call AddDepends/camera) endef @@ -209,7 +209,7 @@ define KernelPackage/video-uvc 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) + AUTOLOAD:=$(call AutoProbe,uvcvideo) $(call AddDepends/camera) $(call AddDepends/input) endef @@ -227,7 +227,7 @@ define KernelPackage/video-gspca-core 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) + AUTOLOAD:=$(call AutoProbe,gspca_main) $(call AddDepends/camera) endef @@ -249,7 +249,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_conex) $(call AddDepends/camera-gspca) endef @@ -264,7 +264,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_etoms) $(call AddDepends/camera-gspca) endef @@ -279,7 +279,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_finepix) $(call AddDepends/camera-gspca) endef @@ -294,7 +294,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_mars) $(call AddDepends/camera-gspca) endef @@ -309,7 +309,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_mr97310a) $(call AddDepends/camera-gspca) endef @@ -324,7 +324,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_ov519) $(call AddDepends/camera-gspca) endef @@ -339,7 +339,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_ov534) $(call AddDepends/camera-gspca) endef @@ -354,7 +354,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_ov534_9) $(call AddDepends/camera-gspca) endef @@ -369,7 +369,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_pac207) $(call AddDepends/camera-gspca) endef @@ -384,7 +384,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_pac7311) $(call AddDepends/camera-gspca) endef @@ -399,7 +399,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_se401) $(call AddDepends/camera-gspca) endef @@ -414,7 +414,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_sn9c20x) $(call AddDepends/camera-gspca) endef @@ -429,7 +429,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_sonixb) $(call AddDepends/camera-gspca) endef @@ -444,7 +444,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_sonixj) $(call AddDepends/camera-gspca) endef @@ -459,7 +459,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_spca500) $(call AddDepends/camera-gspca) endef @@ -474,7 +474,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_spca501) $(call AddDepends/camera-gspca) endef @@ -489,7 +489,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_spca505) $(call AddDepends/camera-gspca) endef @@ -504,7 +504,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_spca506) $(call AddDepends/camera-gspca) endef @@ -519,7 +519,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_spca508) $(call AddDepends/camera-gspca) endef @@ -534,7 +534,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_spca561) $(call AddDepends/camera-gspca) endef @@ -549,7 +549,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_sq905) $(call AddDepends/camera-gspca) endef @@ -564,7 +564,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_sq905c) $(call AddDepends/camera-gspca) endef @@ -579,7 +579,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_stk014) $(call AddDepends/camera-gspca) endef @@ -594,7 +594,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_sunplus) $(call AddDepends/camera-gspca) endef @@ -609,7 +609,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_t613) $(call AddDepends/camera-gspca) endef @@ -624,7 +624,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_tv8532) $(call AddDepends/camera-gspca) endef @@ -639,7 +639,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_vc032x) $(call AddDepends/camera-gspca) endef @@ -654,7 +654,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_zc3xx) $(call AddDepends/camera-gspca) endef @@ -669,7 +669,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_m5602) $(call AddDepends/camera-gspca) endef @@ -684,7 +684,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_stv06xx) $(call AddDepends/camera-gspca) endef @@ -699,7 +699,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_gl860) $(call AddDepends/camera-gspca) endef @@ -714,7 +714,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_jeilinj) $(call AddDepends/camera-gspca) endef @@ -729,7 +729,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,gspca_konica) $(call AddDepends/camera-gspca) endef diff --git a/package/kernel/linux/modules/w1.mk b/package/kernel/linux/modules/w1.mk index 56c62d874d..a85c22f5d2 100644 --- a/package/kernel/linux/modules/w1.mk +++ b/package/kernel/linux/modules/w1.mk @@ -14,7 +14,6 @@ define KernelPackage/w1 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 @@ -38,7 +37,7 @@ define KernelPackage/w1-master-gpio DEPENDS:=@GPIO_SUPPORT KCONFIG:=CONFIG_W1_MASTER_GPIO FILES:=$(W1_MASTERS_DIR)/w1-gpio.ko - AUTOLOAD:=$(call AutoLoad,60,w1-gpio) + AUTOLOAD:=$(call AutoProbe,w1-gpio) $(call AddDepends/w1) endef @@ -52,7 +51,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,ds2482) $(call AddDepends/w1,+kmod-i2c-core) endef @@ -70,7 +69,7 @@ define KernelPackage/w1-master-ds2490 DEPENDS:=@USB_SUPPORT +kmod-usb-core KCONFIG:=CONFIG_W1_MASTER_DS2490 FILES:=$(W1_MASTERS_DIR)/ds2490.ko - AUTOLOAD:=$(call AutoLoad,60,ds2490) + AUTOLOAD:=$(call AutoProbe,ds2490) $(call AddDepends/w1) endef @@ -87,7 +86,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,w1_therm) $(call AddDepends/w1) endef @@ -102,7 +101,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,w1_smem) $(call AddDepends/w1) endef @@ -116,7 +115,7 @@ 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) + AUTOLOAD:=$(call AutoProbe,w1_ds2431) $(call AddDepends/w1) endef @@ -132,7 +131,7 @@ define KernelPackage/w1-slave-ds2433 CONFIG_W1_SLAVE_DS2433 \ CONFIG_W1_SLAVE_DS2433_CRC=n FILES:=$(W1_SLAVES_DIR)/w1_ds2433.ko - AUTOLOAD:=$(call AutoLoad,70,w1_ds2433) + AUTOLOAD:=$(call AutoProbe,w1_ds2433) $(call AddDepends/w1) endef @@ -149,7 +148,7 @@ define KernelPackage/w1-slave-ds2760 CONFIG_W1_SLAVE_DS2760 \ CONFIG_W1_SLAVE_DS2433_CRC=n FILES:=$(W1_SLAVES_DIR)/w1_ds2760.ko - AUTOLOAD:=$(call AutoLoad,70,w1_ds2760) + AUTOLOAD:=$(call AutoProbe,w1_ds2760) $(call AddDepends/w1) endef diff --git a/package/kernel/linux/modules/wireless.mk b/package/kernel/linux/modules/wireless.mk index 7ff222bd1b..2bdf274be9 100644 --- a/package/kernel/linux/modules/wireless.mk +++ b/package/kernel/linux/modules/wireless.mk @@ -13,7 +13,7 @@ define KernelPackage/net-airo DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT KCONFIG:=CONFIG_AIRO FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.ko - AUTOLOAD:=$(call AutoLoad,50,airo) + AUTOLOAD:=$(call AutoProbe,airo) endef define KernelPackage/net-airo/description @@ -29,7 +29,7 @@ define KernelPackage/net-zd1201 DEPENDS:=@USB_SUPPORT +@DRIVER_WEXT_SUPPORT +kmod-usb-core KCONFIG:=CONFIG_USB_ZD1201 FILES:=$(LINUX_DIR)/drivers/net/wireless/zd1201.ko - AUTOLOAD:=$(call AutoLoad,60,zd1201) + AUTOLOAD:=$(call AutoProbe,zd1201) endef define KernelPackage/net-zd1201/description @@ -83,7 +83,7 @@ define KernelPackage/net-prism54 DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT KCONFIG:=CONFIG_PRISM54 FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.ko - AUTOLOAD:=$(call AutoLoad,60,prism54) + AUTOLOAD:=$(call AutoProbe,prism54) endef define KernelPackage/net-prism54/description diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 976fa6a168..0e36e2e3ec 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -63,7 +63,6 @@ define KernelPackage/cfg80211 FILES:= \ $(PKG_BUILD_DIR)/compat/compat.ko \ $(PKG_BUILD_DIR)/net/wireless/cfg80211.ko - AUTOLOAD:=$(call AutoLoad,20,compat cfg80211) endef define KernelPackage/cfg80211/description @@ -77,7 +76,6 @@ define KernelPackage/mac80211 KCONFIG:=\ CONFIG_AVERAGE=y FILES:= $(PKG_BUILD_DIR)/net/mac80211/mac80211.ko - AUTOLOAD:=$(call AutoLoad,21,mac80211) MENU:=1 endef @@ -181,7 +179,6 @@ define KernelPackage/p54-common DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx +kmod-mac80211 +kmod-lib-crc-ccitt TITLE+= (COMMON) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54common.ko - AUTOLOAD:=$(call AutoLoad,30,p54common) endef define KernelPackage/p54-pci @@ -189,7 +186,7 @@ define KernelPackage/p54-pci TITLE+= (PCI) DEPENDS+= @PCI_SUPPORT +kmod-p54-common FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54pci.ko - AUTOLOAD:=$(call AutoLoad,31,p54pci) + AUTOLOAD:=$(call AutoProbe,p54pci) endef define KernelPackage/p54-usb @@ -197,7 +194,7 @@ define KernelPackage/p54-usb TITLE+= (USB) DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-p54-common FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54usb.ko - AUTOLOAD:=$(call AutoLoad,31,p54usb) + AUTOLOAD:=$(call AutoProbe,p54usb) endef define KernelPackage/p54-spi @@ -205,7 +202,7 @@ define KernelPackage/p54-spi TITLE+= (SPI) DEPENDS+= @TARGET_omap24xx +kmod-p54-common FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54spi.ko - AUTOLOAD:=$(call AutoLoad,31,p54spi) + AUTOLOAD:=$(call AutoProbe,p54spi) endef define KernelPackage/rt2x00/Default @@ -218,7 +215,6 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-mac80211 +kmod-lib-crc-itu-t TITLE+= (LIB) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00lib.ko - AUTOLOAD:=$(call AutoLoad,24,rt2x00lib) MENU:=1 endef @@ -246,7 +242,6 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-eeprom-93cx6 TITLE+= (MMIO) FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00mmio.ko - AUTOLOAD:=$(call AutoLoad,25,rt2x00mmio) endef define KernelPackage/rt2x00-pci @@ -254,7 +249,7 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-mmio +kmod-rt2x00-lib TITLE+= (PCI) FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00pci.ko - AUTOLOAD:=$(call AutoLoad,26,rt2x00pci) + AUTOLOAD:=$(call AutoProbe,rt2x00pci) endef define KernelPackage/rt2x00-usb @@ -262,7 +257,7 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core TITLE+= (USB) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00usb.ko - AUTOLOAD:=$(call AutoLoad,26,rt2x00usb) + AUTOLOAD:=$(call AutoProbe,rt2x00usb) endef define KernelPackage/rt2x00-soc @@ -270,7 +265,7 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+=@TARGET_ramips_rt305x +kmod-rt2x00-mmio +kmod-rt2x00-lib TITLE+= (SoC) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00soc.ko - AUTOLOAD:=$(call AutoLoad,26,rt2x00soc) + AUTOLOAD:=$(call AutoProbe,rt2x00soc) endef define KernelPackage/rt2800-lib @@ -278,7 +273,6 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-lib-crc-ccitt +@DRIVER_11N_SUPPORT TITLE+= (rt2800 LIB) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800lib.ko - AUTOLOAD:=$(call AutoLoad,27,rt2800lib) endef define KernelPackage/rt2400-pci @@ -286,7 +280,7 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci TITLE+= (RT2400 PCI) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2400pci.ko - AUTOLOAD:=$(call AutoLoad,27,rt2400pci) + AUTOLOAD:=$(call AutoProbe,rt2400pci) endef define KernelPackage/rt2500-pci @@ -294,7 +288,7 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci TITLE+= (RT2500 PCI) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2500pci.ko - AUTOLOAD:=$(call AutoLoad,27,rt2500pci) + AUTOLOAD:=$(call AutoProbe,rt2500pci) endef define KernelPackage/rt2500-usb @@ -302,7 +296,7 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb TITLE+= (RT2500 USB) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2500usb.ko - AUTOLOAD:=$(call AutoLoad,27,rt2500usb) + AUTOLOAD:=$(call AutoProbe,rt2500usb) endef define KernelPackage/rt61-pci @@ -310,7 +304,7 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci TITLE+= (RT2x61 PCI) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt61pci.ko - AUTOLOAD:=$(call AutoLoad,27,rt61pci) + AUTOLOAD:=$(call AutoProbe,rt61pci) endef define KernelPackage/rt73-usb @@ -318,7 +312,7 @@ define KernelPackage/rt73-usb DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb TITLE+= (RT73 USB) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt73usb.ko - AUTOLOAD:=$(call AutoLoad,27,rt73usb) + AUTOLOAD:=$(call AutoProbe,rt73usb) endef define KernelPackage/rt2800-pci @@ -326,7 +320,7 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @(PCI_SUPPORT||TARGET_ramips_rt305x) +PCI_SUPPORT:kmod-rt2x00-pci +kmod-rt2800-lib +kmod-lib-crc-ccitt +TARGET_ramips_rt305x:kmod-rt2x00-soc TITLE+= (RT2860 PCI) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800pci.ko - AUTOLOAD:=$(call AutoLoad,28,rt2800pci) + AUTOLOAD:=$(call AutoProbe,rt2800pci) endef define KernelPackage/rt2800-usb @@ -334,7 +328,7 @@ $(call KernelPackage/rt2x00/Default) DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +kmod-rt2800-lib +kmod-lib-crc-ccitt TITLE+= (RT2870 USB) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800usb.ko - AUTOLOAD:=$(call AutoLoad,28,rt2800usb) + AUTOLOAD:=$(call AutoProbe,rt2800usb) endef define KernelPackage/rtl818x/Default @@ -349,7 +343,7 @@ define KernelPackage/rtl8180 DEPENDS+= @PCI_SUPPORT TITLE+= (RTL8180 PCI) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtl818x/rtl8180/rtl8180.ko - AUTOLOAD:=$(call AutoLoad,27,rtl8180) + AUTOLOAD:=$(call AutoProbe,rtl8180) endef define KernelPackage/rtl8187 @@ -357,7 +351,7 @@ $(call KernelPackage/rtl818x/Default) DEPENDS+= @USB_SUPPORT +kmod-usb-core TITLE+= (RTL8187 USB) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko - AUTOLOAD:=$(call AutoLoad,27,rtl8187) + AUTOLOAD:=$(call AutoProbe,rtl8187) endef define KernelPackage/rtlwifi/config @@ -377,7 +371,6 @@ define KernelPackage/rtlwifi TITLE:=Realtek common driver part DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT) +kmod-mac80211 +@DRIVER_11N_SUPPORT FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtlwifi/rtlwifi.ko - AUTOLOAD:=$(call AutoLoad,26,rtlwifi) MENU:=1 endef @@ -386,7 +379,7 @@ define KernelPackage/rtlwifi-pci TITLE:=Realtek common driver part (PCI support) DEPENDS+= @PCI_SUPPORT +kmod-rtlwifi FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtlwifi/rtl_pci.ko - AUTOLOAD:=$(call AutoLoad,27,rtl_pci) + AUTOLOAD:=$(call AutoProbe,rtl_pci) HIDDEN:=1 endef @@ -395,7 +388,7 @@ define KernelPackage/rtlwifi-usb TITLE:=Realtek common driver part (USB support) DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-rtlwifi FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtlwifi/rtl_usb.ko - AUTOLOAD:=$(call AutoLoad,27,rtl_usb) + AUTOLOAD:=$(call AutoProbe,rtl_usb) HIDDEN:=1 endef @@ -404,7 +397,6 @@ define KernelPackage/rtl8192c-common TITLE:=Realtek RTL8192CE/RTL8192CU common support module DEPENDS+= +kmod-rtlwifi FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko - AUTOLOAD:=$(call AutoLoad,27,rtl8192c-common) HIDDEN:=1 endef @@ -413,7 +405,7 @@ define KernelPackage/rtl8192ce TITLE:=Realtek RTL8192CE/RTL8188CE support DEPENDS+= +kmod-rtlwifi-pci +kmod-rtl8192c-common FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko - AUTOLOAD:=$(call AutoLoad,28,rtl8192ce) + AUTOLOAD:=$(call AutoProbe,rtl8192ce) endef define KernelPackage/rtl8192ce/install @@ -426,7 +418,7 @@ define KernelPackage/rtl8192se TITLE:=Realtek RTL8192SE/RTL8191SE support DEPENDS+= +kmod-rtlwifi-pci FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko - AUTOLOAD:=$(call AutoLoad,28,rtl8192se) + AUTOLOAD:=$(call AutoProbe,rtl8192se) endef define KernelPackage/rtl8192se/install @@ -439,7 +431,7 @@ define KernelPackage/rtl8192de TITLE:=Realtek RTL8192DE/RTL8188DE support DEPENDS+= +kmod-rtlwifi-pci FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rtlwifi/rtl8192de/rtl8192de.ko - AUTOLOAD:=$(call AutoLoad,28,rtl8192de) + AUTOLOAD:=$(call AutoProbe,rtl8192de) endef define KernelPackage/rtl8192de/install @@ -452,7 +444,7 @@ define KernelPackage/rtl8192cu TITLE:=Realtek RTL8192CU/RTL8188CU support DEPENDS+= +kmod-rtlwifi-usb +kmod-rtl8192c-common FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko - AUTOLOAD:=$(call AutoLoad,28,rtl8192cu) + AUTOLOAD:=$(call AutoProbe,rtl8192cu) endef define KernelPackage/rtl8192cu/install @@ -474,7 +466,7 @@ define KernelPackage/zd1211rw TITLE:=Zydas ZD1211 support DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/zd1211rw/zd1211rw.ko - AUTOLOAD:=$(call AutoLoad,60,zd1211rw) + AUTOLOAD:=$(call AutoProbe,zd1211rw) endef define KernelPackage/adm8211 @@ -482,7 +474,7 @@ define KernelPackage/adm8211 TITLE:=ADMTek 8211 support DEPENDS+=@PCI_SUPPORT +kmod-mac80211 +kmod-eeprom-93cx6 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/adm8211.ko - AUTOLOAD:=$(call AutoLoad,60,adm8211) + AUTOLOAD:=$(call AutoProbe,adm8211) endef define KernelPackage/ath/config @@ -511,7 +503,6 @@ define KernelPackage/ath TITLE:=Atheros common driver part DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_atheros +kmod-mac80211 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko - AUTOLOAD:=$(call AutoLoad,26,ath) MENU:=1 endef @@ -525,7 +516,7 @@ define KernelPackage/ath5k URL:=http://linuxwireless.org/en/users/Drivers/ath5k DEPENDS+= @PCI_SUPPORT||@TARGET_atheros +kmod-ath FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath5k/ath5k.ko - AUTOLOAD:=$(call AutoLoad,27,ath5k) + AUTOLOAD:=$(call AutoProbe,ath5k) endef define KernelPackage/ath5k/description @@ -541,7 +532,6 @@ define KernelPackage/ath9k-common FILES:= \ $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko - AUTOLOAD:=$(call AutoLoad,27,ath9k_hw ath9k_common) endef define KernelPackage/ath9k @@ -551,7 +541,7 @@ define KernelPackage/ath9k DEPENDS+= @PCI_SUPPORT||TARGET_ar71xx +kmod-ath9k-common FILES:= \ $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k.ko - AUTOLOAD:=$(call AutoLoad,28,ath9k) + AUTOLOAD:=$(call AutoProbe,ath9k) endef define KernelPackage/ath9k/description @@ -566,7 +556,7 @@ define KernelPackage/ath9k-htc DEPENDS+= @USB_SUPPORT +kmod-ath9k-common +kmod-usb-core FILES:= \ $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_htc.ko - AUTOLOAD:=$(call AutoLoad,55,ath9k_htc) + AUTOLOAD:=$(call AutoProbe,ath9k_htc) endef define KernelPackage/ath9k-htc/description @@ -596,7 +586,7 @@ define KernelPackage/carl9170 TITLE:=Driver for Atheros AR9170 USB sticks DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core +@DRIVER_11N_SUPPORT FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/carl9170/carl9170.ko - AUTOLOAD:=$(call AutoLoad,60,carl9170) + AUTOLOAD:=$(call AutoProbe,carl9170) endef define KernelPackage/lib80211 @@ -608,7 +598,7 @@ define KernelPackage/lib80211 $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_wep.ko \ $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_ccmp.ko \ $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_tkip.ko - AUTOLOAD:=$(call AutoLoad,21, \ + AUTOLOAD:=$(call AutoProbe, \ lib80211 \ lib80211_crypt_wep \ lib80211_crypt_ccmp \ @@ -632,7 +622,7 @@ define KernelPackage/libertas-usb FILES:= \ $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/usb8xxx.ko - AUTOLOAD:=$(call AutoLoad,27,libertas usb8xxx) + AUTOLOAD:=$(call AutoProbe,libertas usb8xxx) endef define KernelPackage/libertas-sd @@ -642,7 +632,7 @@ define KernelPackage/libertas-sd FILES:= \ $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas_sdio.ko - AUTOLOAD:=$(call AutoLoad,91,libertas libertas_sdio) + AUTOLOAD:=$(call AutoProbe,libertas libertas_sdio) endef define KernelPackage/mac80211-hwsim @@ -650,7 +640,7 @@ define KernelPackage/mac80211-hwsim TITLE:=mac80211 HW simulation device DEPENDS+= +kmod-mac80211 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.ko - AUTOLOAD:=$(call AutoLoad,60,mac80211_hwsim) + AUTOLOAD:=$(call AutoProbe,mac80211_hwsim) endef define KernelPackage/net-libipw @@ -658,7 +648,7 @@ define KernelPackage/net-libipw TITLE:=libipw for ipw2100 and ipw2200 DEPENDS:=@PCI_SUPPORT +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-aes +kmod-crypto-michael-mic +kmod-lib80211 +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ipw2x00/libipw.ko - AUTOLOAD:=$(call AutoLoad,49,libipw) + AUTOLOAD:=$(call AutoProbe,libipw) endef define KernelPackage/net-libipw/description @@ -680,7 +670,7 @@ define KernelPackage/net-ipw2100 TITLE:=Intel IPW2100 driver DEPENDS:=@PCI_SUPPORT +kmod-net-libipw FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ipw2x00/ipw2100.ko - AUTOLOAD:=$(call AutoLoad,50,ipw2100) + AUTOLOAD:=$(call AutoProbe,ipw2100) endef define KernelPackage/net-ipw2100/description @@ -704,7 +694,7 @@ define KernelPackage/net-ipw2200 TITLE:=Intel IPW2200 driver DEPENDS:=@PCI_SUPPORT +kmod-net-libipw FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ipw2x00/ipw2200.ko - AUTOLOAD:=$(call AutoLoad,50,ipw2200) + AUTOLOAD:=$(call AutoProbe,ipw2200) endef define KernelPackage/net-ipw2200/description @@ -719,7 +709,7 @@ define KernelPackage/net-hermes TITLE:=Hermes 802.11b chipset support DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/orinoco/orinoco.ko - AUTOLOAD:=$(call AutoLoad,50,orinoco) + AUTOLOAD:=$(call AutoProbe,orinoco) endef define KernelPackage/net-hermes/description @@ -731,7 +721,7 @@ define KernelPackage/net-hermes-pci TITLE:=Intersil Prism 2.5 PCI support DEPENDS:=@PCI_SUPPORT +kmod-net-hermes FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/orinoco/orinoco_pci.ko - AUTOLOAD:=$(call AutoLoad,55,orinoco_pci) + AUTOLOAD:=$(call AutoProbe,orinoco_pci) endef define KernelPackage/net-hermes-pci/description @@ -743,7 +733,7 @@ define KernelPackage/net-hermes-plx TITLE:=PLX9052 based PCI adaptor DEPENDS:=@PCI_SUPPORT +kmod-net-hermes FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/orinoco/orinoco_plx.ko - AUTOLOAD:=$(call AutoLoad,55,orinoco_plx) + AUTOLOAD:=$(call AutoProbe,orinoco_plx) endef define KernelPackage/net-hermes-plx/description @@ -755,7 +745,7 @@ define KernelPackage/net-hermes-pcmcia TITLE:=Hermes based PCMCIA adaptors DEPENDS:=@PCMCIA_SUPPORT +kmod-net-hermes @BROKEN FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/orinoco/orinoco_cs.ko - AUTOLOAD:=$(call AutoLoad,55,orinoco_cs) + AUTOLOAD:=$(call AutoProbe,orinoco_cs) endef define KernelPackage/net-hermes-pcmcia/description @@ -767,7 +757,7 @@ define KernelPackage/iwlagn DEPENDS:= +kmod-mac80211 @PCI_SUPPORT +@DRIVER_11N_SUPPORT TITLE:=Intel AGN Wireless support FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/iwlwifi/iwlwifi.ko - AUTOLOAD:=$(call AutoLoad,60,iwlwifi) + AUTOLOAD:=$(call AutoProbe,iwlwifi) MENU:=1 endef @@ -869,7 +859,7 @@ define KernelPackage/iwl-legacy DEPENDS:= +kmod-mac80211 @PCI_SUPPORT TITLE:=Intel legacy Wireless support FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/iwlegacy/iwlegacy.ko - AUTOLOAD:=$(call AutoLoad,60,iwlegacy) + AUTOLOAD:=$(call AutoProbe,iwlegacy) endef define KernelPackage/iwl-legacy/description @@ -881,7 +871,7 @@ define KernelPackage/iwl3945 DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy TITLE:=Intel iwl3945 Wireless support FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/iwlegacy/iwl3945.ko - AUTOLOAD:=$(call AutoLoad,61,iwl3945) + AUTOLOAD:=$(call AutoProbe,iwl3945) endef define KernelPackage/iwl3945/description @@ -893,7 +883,7 @@ define KernelPackage/iwl4965 DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy +@DRIVER_11N_SUPPORT TITLE:=Intel iwl4965 Wireless support FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/iwlegacy/iwl4965.ko - AUTOLOAD:=$(call AutoLoad,61,iwl4965) + AUTOLOAD:=$(call AutoProbe,iwl4965) endef define KernelPackage/iwl4965/description @@ -907,7 +897,7 @@ define KernelPackage/mwl8k URL:=http://wireless.kernel.org/en/users/Drivers/mwl8k DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mwl8k.ko - AUTOLOAD:=$(call AutoLoad,27,mwl8k) + AUTOLOAD:=$(call AutoProbe,mwl8k) endef define KernelPackage/mwl8k/description @@ -924,7 +914,7 @@ define KernelPackage/wl12xx $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl12xx/wl12xx.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko - AUTOLOAD:=$(call AutoLoad,61,wlcore wlcore_sdio wl12xx) + AUTOLOAD:=$(call AutoProbe,wlcore wlcore_sdio wl12xx) endef define KernelPackage/wl12xx/description @@ -1004,7 +994,7 @@ define KernelPackage/b43 CONFIG_HW_RANDOM=y DEPENDS+= +kmod-mac80211 +!TARGET_brcm47xx:kmod-bcma +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43/b43.ko - AUTOLOAD:=$(call AutoLoad,30,b43) + AUTOLOAD:=$(call AutoProbe,b43) MENU:=1 endef @@ -1175,7 +1165,7 @@ define KernelPackage/b43legacy CONFIG_HW_RANDOM=y DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43legacy/b43legacy.ko - AUTOLOAD:=$(call AutoLoad,30,b43legacy) + AUTOLOAD:=$(call AutoProbe,b43legacy) MENU:=1 endef @@ -1219,7 +1209,7 @@ define KernelPackage/brcmutil URL:=http://linuxwireless.org/en/users/Drivers/brcm80211 DEPENDS+=@PCI_SUPPORT||USB_SUPPORT FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko - AUTOLOAD:=$(call AutoLoad,30,brcmutil) + AUTOLOAD:=$(call AutoProbe,brcmutil) MENU:=1 endef @@ -1258,7 +1248,7 @@ define KernelPackage/brcmsmac URL:=http://linuxwireless.org/en/users/Drivers/brcm80211 DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT +!TARGET_brcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko - AUTOLOAD:=$(call AutoLoad,31,brcmsmac) + AUTOLOAD:=$(call AutoProbe,brcmsmac) MENU:=1 endef @@ -1290,7 +1280,7 @@ define KernelPackage/brcmfmac URL:=http://linuxwireless.org/en/users/Drivers/brcm80211 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-cfg80211 +@DRIVER_11N_SUPPORT +kmod-brcmutil FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko - AUTOLOAD:=$(call AutoLoad,60,brcmfmac) + AUTOLOAD:=$(call AutoProbe,brcmfmac) endef define KernelPackage/brcmfmac/description diff --git a/package/kernel/mmc_over_gpio/Makefile b/package/kernel/mmc_over_gpio/Makefile index 62d0ba5b7d..69985a753d 100644 --- a/package/kernel/mmc_over_gpio/Makefile +++ b/package/kernel/mmc_over_gpio/Makefile @@ -19,7 +19,7 @@ define KernelPackage/mmc-over-gpio KCONFIG:=CONFIG_GPIOMMC TITLE:=MMC/SD card over GPIO support FILES:=$(LINUX_DIR)/drivers/mmc/host/gpiommc.ko - AUTOLOAD:=$(call AutoLoad,93,gpiommc) + AUTOLOAD:=$(call AutoProbe,gpiommc) MENU:=1 endef |