From: Hauke Mehrtens Date: Thu, 5 Sep 2013 19:57:44 +0000 (+0000) Subject: kernel: kmod-libphy, kmod-tg3: fix load order X-Git-Tag: reboot~9376 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f9b790bd552241a9dcd10fd83510dcabdd59504b;p=openwrt%2Fstaging%2Fxback.git kernel: kmod-libphy, kmod-tg3: fix load order This fixes the following error: tg3: Unknown symbol mdiobus_alloc_size (err 0) tg3: Unknown symbol phy_ethtool_sset (err 0) tg3: Unknown symbol phy_mii_ioctl (err 0) tg3: Unknown symbol phy_connect (err 0) tg3: Unknown symbol mdiobus_register (err 0) tg3: Unknown symbol mdiobus_free (err 0) tg3: Unknown symbol phy_start (err 0) tg3: Unknown symbol phy_start_aneg (err 0) tg3: Unknown symbol mdiobus_unregister (err 0) tg3: Unknown symbol phy_ethtool_gset (err 0) tg3: Unknown symbol phy_stop (err 0) tg3: Unknown symbol phy_disconnect (err 0) Signed-off-by: Hauke Mehrtens SVN-Revision: 37904 --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 5cbf27ce70..99944c07a5 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -86,7 +86,7 @@ define KernelPackage/libphy TITLE:=PHY library KCONFIG:=CONFIG_PHYLIB FILES:=$(LINUX_DIR)/drivers/net/phy/libphy.ko - AUTOLOAD:=$(call AutoLoad,15,libphy) + AUTOLOAD:=$(call AutoLoad,15,libphy,1) endef define KernelPackage/libphy/description