Skip to content

Commit

Permalink
ath79: use rtl8366s and rtl8366_smi as a module
Browse files Browse the repository at this point in the history
rtl8366s is used only by dlink_dir-825-b1 and the netgear_wndr family
(wndr3700, wndr3700-v2, wndr3800ch, wndr3800.dts, wndrmac-v1,
wndrmac-v2).

Not tested in real hardware.

With rtl8366rb, rtl8366s, rtl8367 as modules, rtl8366_smi can also be a
loadable module. This change was tested with tl-wr2543-v1.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
  • Loading branch information
luizluca authored and Ansuel committed Jul 1, 2022
1 parent b129923 commit 6e0f0ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions target/linux/ath79/generic/config-default
Expand Up @@ -19,7 +19,5 @@ CONFIG_PHY_AR7100_USB=y
CONFIG_PHY_AR7200_USB=y
CONFIG_REALTEK_PHY=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_RTL8366S_PHY=y
CONFIG_RTL8366_SMI=y
CONFIG_VITESSE_PHY=y
CONFIG_WATCHDOG_CORE=y
4 changes: 2 additions & 2 deletions target/linux/ath79/image/generic.mk
Expand Up @@ -998,7 +998,7 @@ define Device/dlink_dir-825-b1
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
check-size | append-metadata
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
kmod-leds-reset kmod-owl-loader
kmod-leds-reset kmod-owl-loader kmod-switch-rtl8366s
SUPPORTED_DEVICES += dir-825-b1
endef
TARGET_DEVICES += dlink_dir-825-b1
Expand Down Expand Up @@ -1709,7 +1709,7 @@ define Device/netgear_wndr3x00
$(Device/netgear_generic)
SOC := ar7161
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
kmod-leds-reset kmod-owl-loader
kmod-leds-reset kmod-owl-loader kmod-switch-rtl8366s
endef

define Device/netgear_wndr3700
Expand Down

0 comments on commit 6e0f0ea

Please sign in to comment.