From 4ff21c34e2881d0f345bc2a2b412713eec9396e3 Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Fri, 25 Dec 2020 21:28:05 +0800 Subject: [PATCH] ramips: mt7621: refresh device configg --- target/linux/ramips/image/mt7621.mk | 5 +---- target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index f97f77b86a..fddb5ffe34 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -176,7 +176,6 @@ endef TARGET_DEVICES += asus_rt-ac85p define Device/asus_rt-n56u-b1 - $(Device/dsa-migration) DEVICE_VENDOR := ASUS DEVICE_MODEL := RT-N56U DEVICE_VARIANT := B1 @@ -225,10 +224,9 @@ define Device/dlink_dir-8xx-a1 endef define Device/dlink_dir-8xx-r1 - $(Device/dsa-migration) IMAGE_SIZE := 16064k DEVICE_VENDOR := D-Link - DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware + DEVICE_PACKAGES := kmod-mt7615d luci-app-mtwifi -wpad-openssl KERNEL_INITRAMFS := $$(KERNEL) IMAGES += factory.bin IMAGE/sysupgrade.bin := append-kernel | append-rootfs |\ @@ -480,7 +478,6 @@ endef TARGET_DEVICES += gehua_ghl-r-001 define Device/glinet_gl-mt1300 - $(Device/dsa-migration) IMAGE_SIZE := 32448k DEVICE_VENDOR := GL.iNet DEVICE_MODEL := GL-MT1300 diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index 4d9c9951a6..26c5fa1fda 100755 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -28,6 +28,7 @@ ramips_setup_interfaces() dlink,dir-867-a1|\ dlink,dir-878-a1|\ dlink,dir-882-a1|\ + dlink,dir-882-r1|\ motorola,mr2600) ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 ra0 rai0" "wan" ;;