kernel: insmod phy-broadcom module during preinit

Some HP Thin clients use the broadcom nextreme chip as integrated NIC.
It is connected via PCI express and will only be found automatically if
phy-broadcom is loaded before tg3. This small change makes the thin
client usable for Freifunk with gluon out of the box.

Signed-off-by: Steffen Förster <steffen@chemnitz.freifunk.net>
This commit is contained in:
Steffen Förster 2018-07-08 22:18:07 +02:00 committed by John Crispin
parent 09d794ab92
commit 1ef65ceeaf

View File

@ -169,7 +169,7 @@ define KernelPackage/phy-broadcom
KCONFIG:=CONFIG_BROADCOM_PHY
DEPENDS:=+kmod-libphy +kmod-phylib-broadcom
FILES:=$(LINUX_DIR)/drivers/net/phy/broadcom.ko
AUTOLOAD:=$(call AutoLoad,18,broadcom)
AUTOLOAD:=$(call AutoLoad,18,broadcom,1)
endef
define KernelPackage/phy-broadcom/description