diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-07-14 12:59:00 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-07-14 12:59:00 +0000 |
commit | 5b1af986f6235139f5fedfa97f341bc20a896ef4 (patch) | |
tree | c2c4d81c36594792766b89bc04abeb4a63e05473 /package | |
parent | fe0b737198ca1d8a6b31605f183d4f5e17bd2643 (diff) | |
download | master-187ad058-5b1af986f6235139f5fedfa97f341bc20a896ef4.tar.gz master-187ad058-5b1af986f6235139f5fedfa97f341bc20a896ef4.tar.bz2 master-187ad058-5b1af986f6235139f5fedfa97f341bc20a896ef4.zip |
brcm47xx: do not load the kernel modules needed for Ethernet manually
add the boot flag to make the kernel modules needed for Ethernet and
diag load on startup.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37284 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/broadcom-diag/Makefile | 5 | ||||
-rw-r--r-- | package/kernel/linux/modules/hwmon.mk | 2 | ||||
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 4 | ||||
-rw-r--r-- | package/kernel/linux/modules/other.mk | 4 |
4 files changed, 10 insertions, 5 deletions
diff --git a/package/kernel/broadcom-diag/Makefile b/package/kernel/broadcom-diag/Makefile index 61b35290fc..939b1cb5fc 100644 --- a/package/kernel/broadcom-diag/Makefile +++ b/package/kernel/broadcom-diag/Makefile @@ -18,6 +18,11 @@ define KernelPackage/diag DEPENDS:=@TARGET_brcm47xx TITLE:=Driver for router LEDs and Buttons FILES:=$(PKG_BUILD_DIR)/diag.ko + AUTOLOAD:=$(call AutoLoad,5,diag,1) +endef + +define KernelPackage/diag/description + Kernel modules for Broadcom LED and Button driver endef define Build/Prepare diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 969e8fa3aa..3df70f47bf 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -15,7 +15,7 @@ define KernelPackage/hwmon-core CONFIG_HWMON_DEBUG_CHIP=n FILES:= \ $(LINUX_DIR)/drivers/hwmon/hwmon.ko - AUTOLOAD:=$(call AutoLoad,40,hwmon) + AUTOLOAD:=$(call AutoLoad,17,hwmon,1) endef define KernelPackage/hwmon-core/description diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 3dec19e3c0..4ae2a28160 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -422,7 +422,7 @@ define KernelPackage/b44 DEPENDS:=@PCI_SUPPORT +!TARGET_brcm47xx:kmod-ssb SUBMENU:=$(NETWORK_DEVICES_MENU) FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko - AUTOLOAD:=$(call AutoLoad,50,b44) + AUTOLOAD:=$(call AutoLoad,19,b44,1) endef define KernelPackage/b44/description @@ -476,7 +476,7 @@ define KernelPackage/tg3 DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +(LINUX_3_8||LINUX_3_9||LINUX_3_10):kmod-ptp SUBMENU:=$(NETWORK_DEVICES_MENU) FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko - AUTOLOAD:=$(call AutoLoad,50,tg3) + AUTOLOAD:=$(call AutoLoad,19,tg3,1) endef define KernelPackage/tg3/description diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 94bf5dd6cf..03cfbc16f5 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -640,7 +640,7 @@ define KernelPackage/pps TITLE:=PPS support KCONFIG:=CONFIG_PPS FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko - AUTOLOAD:=$(call AutoLoad,20,pps_core) + AUTOLOAD:=$(call AutoLoad,17,pps_core,1) endef define KernelPacakge/pps/description @@ -658,7 +658,7 @@ define KernelPackage/ptp DEPENDS:=+kmod-pps KCONFIG:=CONFIG_PTP_1588_CLOCK FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko - AUTOLOAD:=$(call AutoLoad,25,ptp) + AUTOLOAD:=$(call AutoLoad,18,ptp,1) endef define KernelPacakge/ptp/description |