ath79-generic: (re)add support for CPE510 v1.x

Gone due to
commit 45c84a117b ("ar71xx: drop target")
This commit is contained in:
aiyion.prime 2022-03-25 11:49:24 +01:00
parent fd8d5a3cdb
commit ecb4642a7e
4 changed files with 9 additions and 0 deletions

View File

@ -70,6 +70,7 @@ ath79-generic
- Archer C6 (v2) - Archer C6 (v2)
- CPE210 (v1.0, v1.1, v2.0) - CPE210 (v1.0, v1.1, v2.0)
- CPE220 (v3.0) - CPE220 (v3.0)
- CPE510 (v1.0, v1.1)
- CPE510 (v2.0) - CPE510 (v2.0)
- CPE510 (v3.0) - CPE510 (v3.0)
- EAP225-Outdoor (v1) - EAP225-Outdoor (v1)

View File

@ -45,6 +45,7 @@ local wan_ifname = iface_exists(wan_interfaces)
if platform.match('ath79', 'generic', { if platform.match('ath79', 'generic', {
'tplink,cpe210-v1', 'tplink,cpe210-v1',
'tplink,cpe210-v2', 'tplink,cpe210-v2',
'tplink,cpe510-v1',
'tplink,wbs210-v2', 'tplink,wbs210-v2',
}) then }) then
lan_ifname, wan_ifname = wan_ifname, lan_ifname lan_ifname, wan_ifname = wan_ifname, lan_ifname

View File

@ -30,6 +30,7 @@ function M.is_outdoor_device()
'tplink,cpe210-v1', 'tplink,cpe210-v1',
'tplink,cpe210-v2', 'tplink,cpe210-v2',
'tplink,cpe220-v3', 'tplink,cpe220-v3',
'tplink,cpe510-v1',
'tplink,cpe510-v2', 'tplink,cpe510-v2',
'tplink,cpe510-v3', 'tplink,cpe510-v3',
'tplink,eap225-outdoor-v1', 'tplink,eap225-outdoor-v1',

View File

@ -273,6 +273,12 @@ device('tp-link-cpe210-v2', 'tplink_cpe210-v2', {
}, },
}) })
device('tp-link-cpe220-v3', 'tplink_cpe220-v3') device('tp-link-cpe220-v3', 'tplink_cpe220-v3')
device('tp-link-cpe510-v1', 'tplink_cpe510-v1', {
manifest_aliases = {
'tp-link-cpe510-v1.0', -- upgrade from OpenWrt 19.07
'tp-link-cpe510-v1.1', -- upgrade from OpenWrt 19.07
},
})
device('tp-link-cpe510-v2', 'tplink_cpe510-v2') device('tp-link-cpe510-v2', 'tplink_cpe510-v2')
device('tp-link-cpe510-v3', 'tplink_cpe510-v3') device('tp-link-cpe510-v3', 'tplink_cpe510-v3')