mpc85xx-p1020: add support for OCEDO Panda (#1847)

This commit is contained in:
David Bauer 2019-11-03 18:59:00 +01:00 committed by Andreas Ziegler
parent baab4d3614
commit ab2efef7f9
3 changed files with 13 additions and 0 deletions

View File

@ -231,6 +231,10 @@ mpc85xx-p1020
- HiveAP 330 - HiveAP 330
* OCEDO
- Panda
ramips-mt7620 [#80211s]_ ramips-mt7620 [#80211s]_
------------------------ ------------------------

View File

@ -57,6 +57,8 @@ elseif platform.match('ipq806x', nil, {'netgear,r7800'}) then
table.insert(try_files, 1, '/sys/class/net/eth1/address') table.insert(try_files, 1, '/sys/class/net/eth1/address')
elseif platform.match('mpc85xx', 'p1020', {'aerohive,hiveap-330'}) then elseif platform.match('mpc85xx', 'p1020', {'aerohive,hiveap-330'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address') table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('mpc85xx', 'p1020', {'ocedo,panda'}) then
table.insert(try_files, 1, '/sys/class/net/eth1/address')
elseif platform.match('ramips', 'mt7620', {'miwifi-mini'}) then elseif platform.match('ramips', 'mt7620', {'miwifi-mini'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address') table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then

View File

@ -3,3 +3,10 @@
device('aerohive-hiveap-330', 'hiveap-330', { device('aerohive-hiveap-330', 'hiveap-330', {
factory = false, factory = false,
}) })
-- OCEDO
device('ocedo-panda', 'panda', {
factory = false,
})